ghas-org-enablement

command module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2023 License: MIT Imports: 1 Imported by: 0

README

GHAS Org Enablement

This tool manages GitHub Advanced Security enablement for new repositories at the organization level.

Provide the organization flag to filter and run for a single organization or omit it to run for all orgs in an enterprise.

Provide the url flag to run against GitHub Enterprise Server or omit it to run against GitHub.com.

Usage

Run the tool via command line:

$ ./ghas-org-enablement --help
activate-ghas-features
$ ./ghas-org-enablement activate-ghas-features --enterprise <enterprise> --token <token> --organization <organization> --url <url>
deactivate-ghas-features
$ ./ghas-org-enablement deactivate-ghas-features --enterprise <enterprise> --token <token> --organization <organization> --url <url>

Results

The tool will change the following organization settings, under "Code security and analysis":

Before activation

Before activation

After activation

After activation

Documentation

Overview

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Directories

Path Synopsis
cmd
Package cmd provides a command-line interface for changing GHAS settings for a given organization.
Package cmd provides a command-line interface for changing GHAS settings for a given organization.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL