Metadata-Version: 2.1
Name: sigsci-site-manager
Version: 1.2.1
Summary: Utility for managing Signal Sciences sites
Home-page: https://github.com/turnerlabs/sigsci_site_manager
Author: Turner ISO
Author-email: isodev@turner.com
License: UNKNOWN
Description: # Signal Sciences Site Management Tool
        
        [![](https://img.shields.io/pypi/v/sigsci_site_manager.svg)](https://pypi.org/project/sigsci-site-manager/)
        ![](https://img.shields.io/pypi/pyversions/sigsci_site_manager.svg)
        ![](https://img.shields.io/pypi/format/sigsci_site_manager.svg)
        ![](https://img.shields.io/github/license/turnerlabs/sigsci_site_manager.svg)
        
        ## Installation
        
        ```shell
        $ pip3 install sigsci_site_manager
        ```
        
        ## Usage
        
        ### Main Usage
        ```shell
        $ sigsci_site_manager --help
        usage: sigsci_site_manager [-h] [--corp CORP] [--user [USERNAME]]
                                   [--password [PASSWORD] | --token [APITOKEN]]
                                   {list,deploy,backup,clone} ...
        
        Signal Sciences site management
        
        optional arguments:
          -h, --help            show this help message and exit
          --corp CORP, -c CORP  Signal Sciences corp name. If omitted will try to use
                                value in $SIGSCI_CORP.
          --user [USERNAME], -u [USERNAME]
                                Signal Sciences username. If omitted will try to use
                                value in $SIGSCI_EMAIL.
          --password [PASSWORD], -p [PASSWORD]
                                Signal Sciences password. If omitted will try to use
                                value in $SIGSCI_PASSWORD
          --token [APITOKEN], -t [APITOKEN]
                                Signal Sciences API token. If omitted will try to use
                                value in $SIGSCI_API_TOKEN
        
        Commands:
          {list,deploy,backup,clone,merge}
            list                List sites
            deploy              Deploy a new site from a file
            backup              Backup a site to a file
            clone               Clone an existing site to a new site
            merge               Merge a site onto another
        ```
         
        ### List Command
        ```shell
        $ sigsci_site_manager list --help
        usage: sigsci_site_manager list [-h] [--filter PATTERN]
        
        optional arguments:
          -h, --help  show this help message and exit
          --filter PATTERN  Filter site names using a wildcard pattern
        ```
        
        ### Backup Command
        ```shell
        $ sigsci_site_manager backup --help
        usage: sigsci_site_manager backup [-h] --name NAME --out FILENAME
        
        optional arguments:
          -h, --help            show this help message and exit
          --name NAME, -n NAME  Site name
          --out FILENAME, -o FILENAME
                                File to save backup to
        ```
        
        ### Deploy Command
        ```shell
        $ sigsci_site_manager deploy --help
        usage: sigsci_site_manager deploy [-h] --name NAME
                                          [--display-name "Display Name"] --file
                                          FILENAME [--dry-run]
                                          [--include CATEGORY_LIST | --exclude CATEGORY_LIST]
        
        optional arguments:
          -h, --help            show this help message and exit
          --name NAME, -n NAME  Identifying name of the site
          --display-name "Display Name", -N "Display Name"
                                Display name of the site
          --file FILENAME, -f FILENAME
                                Name of site file
          --dry-run             Print actions without making any changes
          --include CATEGORY_LIST
                                CSV list of categories to include in the merge.
                                Options: RULE_LISTS, CUSTOM_SIGNALS, REQUEST_RULES,
                                SIGNAL_RULES, TEMPLATED_RULES, CUSTOM_ALERTS,
                                SITE_MEMBERS, INTEGRATIONS, ADVANCED_RULES
          --exclude CATEGORY_LIST
                                CSV list of categories to include in the merge.
                                Options: RULE_LISTS, CUSTOM_SIGNALS, REQUEST_RULES,
                                SIGNAL_RULES, TEMPLATED_RULES, CUSTOM_ALERTS,
                                SITE_MEMBERS, INTEGRATIONS, ADVANCED_RULES
        ```
        
        ### Clone Command
        ```shell
        $ sigsci_site_manager clone --help
        usage: sigsci_site_manager clone [-h] --src SITE --dest SITE
                                         [--display-name "Display Name"] [--dry-run]
                                         [--include CATEGORY_LIST | --exclude CATEGORY_LIST]
        
        optional arguments:
          -h, --help            show this help message and exit
          --src SITE, -s SITE   Site to clone from
          --dest SITE, -d SITE  Site to clone to
          --display-name "Display Name", -N "Display Name"
                                Display name of the new site
          --dry-run             Print actions without making any changes
          --include CATEGORY_LIST
                                CSV list of categories to include in the merge.
                                Options: RULE_LISTS, CUSTOM_SIGNALS, REQUEST_RULES,
                                SIGNAL_RULES, TEMPLATED_RULES, CUSTOM_ALERTS,
                                SITE_MEMBERS, INTEGRATIONS, ADVANCED_RULES
          --exclude CATEGORY_LIST
                                CSV list of categories to include in the merge.
                                Options: RULE_LISTS, CUSTOM_SIGNALS, REQUEST_RULES,
                                SIGNAL_RULES, TEMPLATED_RULES, CUSTOM_ALERTS,
                                SITE_MEMBERS, INTEGRATIONS, ADVANCED_RULES
        ```
        
        ### Merge Command
        ```shell
        $ sigsci_site_manager merge --help
        usage: sigsci_site_manager merge [-h] --dest SITE
                                         [--src SITE | --file FILENAME] [--dry-run]
                                         [--include CATEGORY_LIST | --exclude CATEGORY_LIST]
                                         [--yes]
        
        optional arguments:
          -h, --help            show this help message and exit
          --dest SITE, -d SITE  Site to merge onto (accepts wildcard pattern)
          --src SITE, -s SITE   Site to merge from
          --file FILENAME, -f FILENAME
                                Name of site file to merge from
          --dry-run             Print actions without making any changes
          --include CATEGORY_LIST
                                CSV list of categories to include in the merge.
                                Options: RULE_LISTS, CUSTOM_SIGNALS, REQUEST_RULES,
                                SIGNAL_RULES, TEMPLATED_RULES, CUSTOM_ALERTS,
                                SITE_MEMBERS, INTEGRATIONS, ADVANCED_RULES
          --exclude CATEGORY_LIST
                                CSV list of categories to include in the merge.
                                Options: RULE_LISTS, CUSTOM_SIGNALS, REQUEST_RULES,
                                SIGNAL_RULES, TEMPLATED_RULES, CUSTOM_ALERTS,
                                SITE_MEMBERS, INTEGRATIONS, ADVANCED_RULES
          --yes, -y             Automatic yes to prompts
        ```
        
        ### Validate Command
        ```shell
        $ sigsci_site_manager validate --help
        usage: sigsci_site_manager validate [-h] --name NAME --target URL [--dry-run]
        
        optional arguments:
          -h, --help            show this help message and exit
          --name NAME, -n NAME  Site name
          --target URL, -d URL  URL to test against
          --dry-run             Print actions without making any changes
          ```
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: System Administrators
Classifier: Environment :: Console
Classifier: Topic :: Security
Description-Content-Type: text/markdown
