The Prisma Cloud CLI is a command line interface for Prisma Cloud by Palo Alto Networks.

Overview

Prisma Cloud CLI

๐Ÿ‘ ๐ŸŽ‰ We are excited to share with you this Prisma Cloud CLI! ๐ŸŽ‰ ๐Ÿ‘

The Prisma Cloud CLI is a command line interface for Prisma Cloud by Palo Alto Networks.

Support

This project has been developed by Prisma Cloud SAs and is not Supported by Palo Alto Networks. Nevertheless, the maintainers will make a best-effort to address issues, and (of course) contributors are encouraged to submit issues and pull requests.

Getting started

Requirements

  • Python >= 3.7
  • Pip3

Installation

sudo pip3 install prismacloud-cli

Installation on Alpine:

sudo pip3 install --upgrade pip && pip3 install --upgrade setuptools
sudo pip3 install prismacloud-cli

Installation on Ubuntu:

sudo apt update
sudo apt install python3-pip
sudo pip3 install prismacloud-cli

Run the script

Run the pc cli script. If you don't have a config file yet, it will help you to create one.

pc version

This process looks like the screenshot below. the prismacloud-cli asks you for some details, stores it in the credentials file and uses that file when it is already available.

First run

Create your own configuration

Create an access key from Settings then Access key Get the path to console from Compute tab, System, Utilities

Create a file into home directory .prismacloud/credentials.json with the following structure

{
  "api_endpoint": "__REDACTED__",
  "pcc_api_endpoint": "__REDACTED__",
  "access_key_id": "__REDACTED__",
  "secret_key": "__REDACTED__"
}

You can add additional configurations which you can call by using --config. For example, create a file called ~/.prismacloud/demo.json with the contents above.

Add --config demo to your cli commands.

For example:

pc --config demo -o csv policy

Examples

pc -o csv policy
pc -o json policy | jq
pc tags
pc stats dashboard
pc -o json stats dashboard
pc cloud name
pc --columns defendersSummary.host stats dashboard

Global options

The following global options are available

Options:
  -v, --verbose                   Enables verbose mode.
  -vv, --very_verbose             Enables very verbose mode.
  -o, --output [text|csv|json|html|columns]
  -c, --config TEXT               Select configuration
                                  ~/.prismacloud/[CONFIGURATION].json
  --columns TEXT                  Select columns for output
  --help                          Show this message and exit.

Use -o columns to get a list of columns available for --columns, e.g.:

pc -o columns images
pc --columns hostname,repoTag.repo,osDistro -o csv images -l 1

Commands

The cli has several commands to work with, see the screenshot below for an example, but use pc --help to see the latest list for your version.

Help

Use cases

Log4J Impacted Resources

pc -o json stats vulnerabilities --cve CVE-2021-44228 | jq
pc stats vulnerabilities --cve CVE-2021-44228

Use something similar for getting the Spring Shell impacted resources.

Search scan reports for images scanned by the Jenkins plugin or twistcli.

pc scans --help

Select only specific columns for the output:

pc --columns entityInfo.repoTag.registry,entityInfo.repoTag.repo,entityInfo.repoTag.tag,entityInfo.vulnerabilitiesCount scans -l 20 -s nginx

You might also want to add some additional columns and save the output as html:

pc --config local -o html --columns entityInfo.repoTag.registry,entityInfo.repoTag.repo,entityInfo.repoTag.tag,entityInfo.vulnerabilitiesCount,entityInfo.vulnerabilityDistribution.critical,entityInfo.vulnerabilityDistribution.high,entityInfo.vulnerabilityDistribution.medium scans -l 20 -s nginx  > /tmp/results.html

Then, open /tmp/results.html:

Results

Comments
  • [Community Health Assessment] Changes needed

    [Community Health Assessment] Changes needed

    | Health Check | Pass | Score | More Info | | ------------ | ---- | ----- | --------- | | Contains a meaningful README.md file | :white_check_mark: | 20 / 20 | More info | SUPPORT.md file exists | :white_check_mark: | 20 / 20 | More info | Repo has a description | :white_check_mark: | 15 / 15 | More info | Has a recognized open source license | :white_check_mark: | 15 / 15 | More info | Has a descriptive repo name | :white_check_mark: | 15 / 15 | More info | Required topics attached to repo | :white_check_mark: | 15 / 15 | More info | CONTRIBUTING.md file with contribution guidelines | :white_check_mark: | 5 / 5 | More info | Has custom issue and pull request templates | :x: | 0 / 5 | More info

    Current score: 105 Target threshold: 100 Total possible: 110

    opened by community-health-panw[bot] 8
  • Config and version

    Config and version

    Description

    add a cspm version check and improve config mapping between cli and api

    Motivation and Context

    Question on Slack

    How Has This Been Tested?

    Manual, Flake8

    Types of changes

    • New feature (non-breaking change which adds functionality)

    Checklist

    • [x] I have updated the documentation accordingly.
    • [x] I have read the CONTRIBUTING document.
    • [x] I have added tests to cover my changes if appropriate.
    • [x] All new and existing tests passed.
    opened by tkishel 6
  • API urls not sanitised during first setup

    API urls not sanitised during first setup

    Describe the bug

    When first running the cli tool after installing, it asks for API urls. However, if I paste a URL with https:// in it, it will be stored to config as such, but subsequent requests to the API fail.

    Expected behavior

    The setup flow should sanitise the url to such a form that it works regardless if the value contains the protocol or not. Alternatively, URL's read from the config json should be sanitised to the expected form before the calls to the API.

    Current behavior

    Requests fail because the URL stored in the config is in the wrong format. Log output:

    Traceback (most recent call last):
      File "/Users/xyz/Library/Python/3.9/lib/python/site-packages/requests/adapters.py", line 439, in send
        resp = conn.urlopen(
      File "/Users/xyz/Library/Python/3.9/lib/python/site-packages/urllib3/connectionpool.py", line 755, in urlopen
        retries = retries.increment(
      File "/Users/xyz/Library/Python/3.9/lib/python/site-packages/urllib3/util/retry.py", line 574, in increment
        raise MaxRetryError(_pool, url, error or ResponseError(cause))
    urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='https', port=443): Max retries exceeded with url: //api.eu.prismacloud.io/login (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x125250b20>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known'))
    
    
    

    Steps to reproduce

    starting from a fresh install

    1. pip3 install prismacloud-cli
    2. pc version
    3. follow steps to setup tool, but set API urls including https, e.g. https://api.eu.prismacloud.io
    4. Once done, requests fail

    Alteratively just change the URL's in ~/.prismacloud/credentials.json to include https:// and try to call pc version. Request will fail.

    Your Environment

    • Version used: prismacloud_cli-0.4.35
    • Environment name and version (e.g. Chrome 59, node.js 5.4, python 3.7.3): python 3.9
    • Operating System and version (desktop or mobile): MacOS 12.4
    bug 
    opened by jenswegar 4
  • initial commit

    initial commit

    Description

    Motivation and Context

    How Has This Been Tested?

    Screenshots (if appropriate)

    Types of changes

    • Bug fix (non-breaking change which fixes an issue)
    • New feature (non-breaking change which adds functionality)
    • Breaking change (fix or feature that would cause existing functionality to change)

    Checklist

    • [x] I have updated the documentation accordingly.
    • [x] I have read the CONTRIBUTING document.
    • [x] I have added tests to cover my changes if appropriate.
    • [x] All new and existing tests passed.
    opened by SimOnPanw 3
  • Normalize urls

    Normalize urls

    Description

    Addresses https://github.com/PaloAltoNetworks/prismacloud-cli/issues/68

    Motivation and Context

    Use existing code to sanitize.

    How Has This Been Tested?

    Manual testing.

    Types of changes

    • Bug fix (non-breaking change which fixes an issue)

    Checklist

    • [x] I have updated the documentation accordingly.
    • [x] I have read the CONTRIBUTING document.
    • [ ] I have added tests to cover my changes if appropriate.
    • [ ] All new and existing tests passed.
    opened by tkishel 2
  • Make the CLI available to windows users

    Make the CLI available to windows users

    With this change the CLI will work on windows environments as the only problem was the use of the HOME variable.

    Description

    Changes how the config directory is retrieved to make the tool available to windows users.

    Motivation and Context

    I wanted to use the CLI in a windows host.

    How Has This Been Tested?

    I've use it with my tenant.

    Types of changes

    • Bug fix (non-breaking change which fixes an issue)

    Checklist

    • [ ] I have updated the documentation accordingly.
    • [ ] I have read the CONTRIBUTING document.
    • [ ] I have added tests to cover my changes if appropriate.
    • [x] All new and existing tests passed.
    opened by deese 2
  • suppress both the index and the index column of the data_frame in output

    suppress both the index and the index column of the data_frame in output

    Description

    Suppress both the index and the index column of the data_frame in output.

    Motivation and Context

    The indexes are not part of the data returned by the APIs, rather they are an artifact of pandas.

    How Has This Been Tested?

    Before:

    # pc --output text settings
          index    disconnectPeriodDays    listeningPort  admissionControlEnabled    admissionControlWebhookSuffix    hostCustomComplianceEnabled    automaticUpgrade
    --  -------  ----------------------  ---------------  -------------------------  -------------------------------  -----------------------------  ------------------
     0        0                       1             9998  True                       8is8ilgnnl579305k25ic4mfi...     True                           False
    
    

    After:

    # pc --output text settings
      disconnectPeriodDays    listeningPort  admissionControlEnabled    admissionControlWebhookSuffix    hostCustomComplianceEnabled    automaticUpgrade
    ----------------------  ---------------  -------------------------  -------------------------------  -----------------------------  ------------------
                         1             9998  True                       8is8ilgnnl579305k25ic4mfi...     True                           False
    
    

    And for other formats:

    # pc --output csv settings
    disconnectPeriodDays,listeningPort,admissionControlEnabled,admissionControlWebhookSuffix,hostCustomComplianceEnabled,automaticUpgrade
    1,9998,True,8is8ilgnnl579305k25ic4mfirfz,True,False
    
    
    # pc --output json settings
    [{"disconnectPeriodDays":"1","listeningPort":"9998","admissionControlEnabled":"True","admissionControlWebhookSuffix":"8is8ilgnnl579305k25ic4mfirfz","hostCustomComplianceEnabled":"True","automaticUpgrade":"False"}]
    
    
    # pc --output json settings | jq
    [
      {
        "disconnectPeriodDays": "1",
        "listeningPort": "9998",
        "admissionControlEnabled": "True",
        "admissionControlWebhookSuffix": "8is8ilgnnl579305k25ic4mfirfz",
        "hostCustomComplianceEnabled": "True",
        "automaticUpgrade": "False"
      }
    ]
    
    
    # pc --output html settings
    <html>
    <head>
        <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
    </head>
                    
    <table border="1" class="dataframe table table-sm table-striped text-left">
      <thead>
        <tr style="text-align: left;">
          <th>disconnectPeriodDays</th>
          <th>listeningPort</th>
          <th>admissionControlEnabled</th>
          <th>admissionControlWebhookSuffix</th>
          <th>hostCustomComplianceEnabled</th>
          <th>automaticUpgrade</th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <td>1</td>
          <td>9998</td>
          <td>True</td>
          <td>8is8ilgnnl579305k25ic4mfirfz</td>
          <td>True</td>
          <td>False</td>
        </tr>
      </tbody>
    </table>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
    </html>
    

    Types of changes

    • Bug fix (non-breaking change which fixes an issue)

    Checklist

    • [x] I have updated the documentation accordingly.
    • [x] I have read the CONTRIBUTING document.
    • [ ] I have added tests to cover my changes if appropriate.
    • [ ] All new and existing tests passed.
    opened by tkishel 2
  • Check if there is an update available

    Check if there is an update available

    Is your feature request related to a problem?

    No

    Describe the solution you'd like

    If pc is used, check if there is an update available and if there is, show this information to the user.

    enhancement 
    opened by steven-deboer 2
  • Version update to be able to upload package

    Version update to be able to upload package

    Description

    Updated the version as the current version is already on Pypi.

    Motivation and Context

    Uploading the package doesn't work right now.

    Types of changes

    • Bug fix (non-breaking change which fixes an issue)

    Checklist

    • [ x] I have updated the documentation accordingly.
    • [ x] I have read the CONTRIBUTING document.
    • [ x] I have added tests to cover my changes if appropriate.
    • [ x] All new and existing tests passed.
    opened by steven-deboer 2
  • Flake8 & Pylint cleanup

    Flake8 & Pylint cleanup

    Description

    This PR adds flake8 to the GitHub action pipeline and increases the overall score.

    Motivation and Context

    Add additional quality gates towards this repository and increase quality.

    How Has This Been Tested?

    Using GitHub action in forked repository: https://github.com/NJannasch/prismacloud-cli/actions/runs/2097486283

    Types of changes

    No breaking changes

    Checklist

    • [X] I have updated the documentation accordingly.
    • [X] I have read the CONTRIBUTING document.
    • [X] I have added tests to cover my changes if appropriate.
    • [X] All new and existing tests passed.
    opened by NJannasch 2
  • bump prismacloud api in setup

    bump prismacloud api in setup

    Description

    bump prismacloud api in setup

    Motivation and Context

    How Has This Been Tested?

    Screenshots (if appropriate)

    Types of changes

    • Bug fix (non-breaking change which fixes an issue)
    • New feature (non-breaking change which adds functionality)
    • Breaking change (fix or feature that would cause existing functionality to change)

    Checklist

    • [ ] I have updated the documentation accordingly.
    • [ ] I have read the CONTRIBUTING document.
    • [ ] I have added tests to cover my changes if appropriate.
    • [ ] All new and existing tests passed.
    opened by SimOnPanw 1
Releases(v0.4.44)
  • v0.4.44(Sep 15, 2022)

    What's Changed

    • Refactor/cli output by @steven-deboer in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/77

    Full Changelog: https://github.com/PaloAltoNetworks/prismacloud-cli/compare/v0.4.43...v0.4.44

    Source code(tar.gz)
    Source code(zip)
  • v0.4.43(Aug 11, 2022)

    What's Changed

    • Feature/get package info by @steven-deboer in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/76

    Example usage

    pc --config local -o json images packages|jq ' .[] .license ' | sort | uniq

    Full Changelog: https://github.com/PaloAltoNetworks/prismacloud-cli/compare/v.0.4.42...v0.4.43

    Source code(tar.gz)
    Source code(zip)
  • v.0.4.42(Jul 15, 2022)

    What's Changed

    • Config and version by @tkishel in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/75

    Full Changelog: https://github.com/PaloAltoNetworks/prismacloud-cli/compare/v0.4.41...v.0.4.42

    Source code(tar.gz)
    Source code(zip)
  • v0.4.41(Jul 13, 2022)

    What's Changed

    • bump prismacloud api in setup by @SimOnPanw in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/74

    Full Changelog: https://github.com/PaloAltoNetworks/prismacloud-cli/compare/v0.4.40...v0.4.41

    Source code(tar.gz)
    Source code(zip)
  • v0.4.40(Jul 13, 2022)

    What's Changed

    • bump prismacloud api to 4.0.8 by @SimOnPanw in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/73

    Full Changelog: https://github.com/PaloAltoNetworks/prismacloud-cli/compare/v0.4.38...v0.4.40

    Source code(tar.gz)
    Source code(zip)
  • v0.4.38(Jul 12, 2022)

    What's Changed

    • Change API version by @steven-deboer in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/71
    • Update version.py by @steven-deboer in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/72

    Full Changelog: https://github.com/PaloAltoNetworks/prismacloud-cli/compare/v0.4.37...v0.4.38

    Source code(tar.gz)
    Source code(zip)
  • v0.4.37(Jul 12, 2022)

    What's Changed

    • add update repositories functions by @SimOnPanw in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/70

    Full Changelog: https://github.com/PaloAltoNetworks/prismacloud-cli/compare/v0.4.36...v0.4.37

    Source code(tar.gz)
    Source code(zip)
  • v0.4.36(Jul 12, 2022)

    What's Changed

    • Webinar use cases by @SimOnPanw in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/66
    • Documentation/use cases by @SimOnPanw in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/67
    • Normalize urls by @tkishel in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/69

    Full Changelog: https://github.com/PaloAltoNetworks/prismacloud-cli/compare/v0.4.35...v0.4.36

    Source code(tar.gz)
    Source code(zip)
  • v0.4.35(Jun 23, 2022)

    What's Changed

    • Modified github actions workflow by @steven-deboer in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/63
    • update api version by @tkishel in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/61
    • refactor cli_output to handle string type data by @tkishel in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/62
    • Fixed linting and improved workflow (separate publish workflow for release) by @steven-deboer in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/64
    • Fix exit code issue for version by @steven-deboer in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/65

    Full Changelog: https://github.com/PaloAltoNetworks/prismacloud-cli/compare/v0.4.33...v0.4.35

    Source code(tar.gz)
    Source code(zip)
  • v0.4.33(Jun 20, 2022)

    Use environment variables for configuration

    By setting the environment variables:

    PC_SAAS_API_ENDPOINT PC_COMPUTE_API_ENDPOINT PC_ACCESS_KEY PC_SECRET_KEY

    And then run pc referring to a configuration called environment:

    pc --config environment <command>

    This fixes #57

    What's Changed

    • suppress both the index and the index column of the data_frame in output by @tkishel in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/51
    • Small bugfix to prevent error while removing index by @steven-deboer in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/52
    • Slightly improve the scans command to be able to fetch the latest scan results. by @steven-deboer in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/54
    • Make the CLI available to windows users by @deese in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/53
    • add compliance standard to filter by @SimOnPanw in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/55
    • set default params and turn all_polciies to boolean flags by @SimOnPanw in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/56
    • Use environment variable with --config environment by @steven-deboer in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/59

    New Contributors

    • @tkishel made their first contribution in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/51
    • @deese made their first contribution in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/53

    Full Changelog: https://github.com/PaloAltoNetworks/prismacloud-cli/compare/v0.4.27...v0.4.33

    Source code(tar.gz)
    Source code(zip)
  • v0.4.27(Jun 1, 2022)

    What's Changed

    • Improved logs audit command by @steven-deboer in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/50

    Full Changelog: https://github.com/PaloAltoNetworks/prismacloud-cli/compare/v0.4.26...v0.4.27

    Source code(tar.gz)
    Source code(zip)
  • v0.4.26(May 27, 2022)

    What's Changed

    • Added parameter --alert-rule to alert list command by @steven-deboer in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/44
    • Improved flattening (maximum level 2, or columns tags$ by @steven-deboer in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/45
    • Resource URL has been added to alert list command by @steven-deboer in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/46
    • Bugfix in creating resource url by @steven-deboer in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/47
    • Improved flattening and use MAX_LEVELS variable by @steven-deboer in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/48
    • Add discovery command to fetch discovery data by @steven-deboer in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/49

    Full Changelog: https://github.com/PaloAltoNetworks/prismacloud-cli/compare/v.0.4.18...v0.4.26

    Source code(tar.gz)
    Source code(zip)
  • v0.4.16(May 16, 2022)

    What's Changed

    • Improved alert list; column selection based on regex by @steven-deboer in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/41
    • Fixed #40

    Full Changelog: https://github.com/PaloAltoNetworks/prismacloud-cli/compare/v0.4.15...v0.4.16

    Source code(tar.gz)
    Source code(zip)
  • v.0.4.18(May 16, 2022)

    Release v0.4.18

    What's Changed

    • Extended alert list command with policy.name and policy.description by @steven-deboer in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/42
    • Fixed deduplication issue by @steven-deboer in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/43

    Full Changelog: https://github.com/PaloAltoNetworks/prismacloud-cli/compare/v0.4.16...v.0.4.18

    Use case

    Suppose you want to get an overview of alerts, use the alert list command. You have several options available to limit the results, for example only select resolved alerts.

    image

    • Tags are automatically extracted to new columns.
    • You can select columns based on regex strings. For example, id shows all columns with id in their name, but ^id shows only columns starting with id.
    • You can use the --filter option to further narrow your search results, even based on dynamically added columns.

    Example

    Get the alerts created in the last 5 minutes, show the id, alertTime, policy.name, policy.description, policy.policyType and resource.name.

    pc --columns ^id$,alertTime,policy.policyType,resource.name,resource.data.tagSets,policy.name,policy.description alert list --unit minute --amount 5

    image

    Source code(tar.gz)
    Source code(zip)
  • v0.4.11(May 3, 2022)

    What's Changed

    • Add config to start a POV by @SimOnPanw in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/33

    Full Changelog: https://github.com/PaloAltoNetworks/prismacloud-cli/compare/v0.4.10...v0.4.11

    Source code(tar.gz)
    Source code(zip)
  • v0.4.10(Apr 20, 2022)

    What's Changed

    • Fixed #22 by @steven-deboer in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/31
    • Added more column flattening (converting nested data to multiple columns)
    • Added usage command to get usage per resource over time
    • Added filter option to be able to filter output (based on Pandas query, see https://sparkbyexamples.com/pandas/pandas-dataframe-query-examples/)

    Both the usage command and the filter need improvement to make it more user friendly. Usage command would need more parameters as input. The filter needs improvement for usability.

    Example

    Usage

    image

    Output

    image

    Full Changelog: https://github.com/PaloAltoNetworks/prismacloud-cli/compare/v0.4.9...v0.4.10

    Source code(tar.gz)
    Source code(zip)
  • v0.4.9(Apr 15, 2022)

    What's New

    • It is now possible to get a list of non-compliance resources (hosts, containers, serverless) with monitor compliance command.
    • Parameter is --complianceids
    • Output in whatever you want

    What's Changed

    • Adjust namespace logic by @NJannasch in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/29
    • Fixed autocomplete issue; Added hosts and monitor commands by @steven-deboer in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/30
    • Added hosts compliance command
    • Added monitor compliance command (parameter --complianceids)

    Full Changelog: https://github.com/PaloAltoNetworks/prismacloud-cli/compare/v0.4.8...v0.4.9

    Source code(tar.gz)
    Source code(zip)
  • v0.4.8(Apr 14, 2022)

    What's New

    • Check for new version whenever pc is used
    • Colors used in output for better readability
    image

    What's Changed

    • Update README.md by @steven-deboer in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/24
    • #22 fixed + colors added by @steven-deboer in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/23
    • Fixed setup issue and removed ipython by @steven-deboer in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/26
    • Fixed path to version file by @steven-deboer in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/27
    • Changed setup (fix pc) by @steven-deboer in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/28

    Full Changelog: https://github.com/PaloAltoNetworks/prismacloud-cli/compare/v0.4.6...v0.4.8

    Source code(tar.gz)
    Source code(zip)
  • v0.4.6(Apr 13, 2022)

    What's New

    • MAX_COLUMNS active on html output
    • MAX_ROWS environment variable added for all outputs (default 1000000)

    What's Changed

    • Update README.md by @kyle9021 in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/18
    • Improved output - fix for issue #14 by @steven-deboer in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/20

    New Contributors

    • @kyle9021 made their first contribution in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/18

    Full Changelog: https://github.com/PaloAltoNetworks/prismacloud-cli/compare/v0.4.5...v0.4.6

    Source code(tar.gz)
    Source code(zip)
  • v0.4.5(Apr 11, 2022)

    What's new

    • Read MAX_WIDTH and MAX_COLUMNS environment variables to optionally overwrite default values for console output

    What's Changed

    • initial commit by @SimOnPanw in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/2
    • Create github workflow by @SimOnPanw in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/3
    • Flake8 & Pylint cleanup by @NJannasch in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/4
    • Version update to be able to upload package by @steven-deboer in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/5
    • Update repository link by @NJannasch in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/6
    • Push pylint towards 10.0 by @NJannasch in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/7
    • Updated readme and added contributing explanation. by @steven-deboer in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/8
    • Modified stats to be able to add multiple cves by @steven-deboer in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/9
    • add enable_or_disable_policies functions by @SimOnPanw in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/10
    • add verbose parameter to the cli by @SimOnPanw in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/11
    • Update version.py by @steven-deboer in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/12
    • Update quality.yml by @steven-deboer in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/13
    • Improved console output to make it more readable by @steven-deboer in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/15
    • Feature/flexible vars by @steven-deboer in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/16

    New Contributors

    • @SimOnPanw made their first contribution in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/2
    • @NJannasch made their first contribution in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/4
    • @steven-deboer made their first contribution in https://github.com/PaloAltoNetworks/prismacloud-cli/pull/5

    Full Changelog: https://github.com/PaloAltoNetworks/prismacloud-cli/commits/v0.4.5

    Source code(tar.gz)
    Source code(zip)
Owner
Palo Alto Networks
We ensure each day is safer and more secure than the one before.
Palo Alto Networks
command line interface (CLI) data processing application for bank loan pre-qualification screening

Columbia University Engineering, New York FinTech BootCamp August 2022 Cohort Module 2, Challenge This is a command line interface (CLI) data processi

null 1 Sep 6, 2022
bevigil-cli provides a unified command line interface and python library for using BeVigil OSINT API.

bevigil-cli bevigil-cli provides a unified command line interface and python library for using BeVigil OSINT API. Getting Started Installation The eas

CloudSEK BeVigil 44 Oct 1, 2022
A companion CLI to instant-checkin to help you enforce check-in on the command line

instant-checkin-cli Written by Amado Tejada instant-checkin-cli is a companion CLI tool for instant-checkin instant-checkin-cli allows you to force co

Amado Tejada 2 Jul 11, 2022
A command line application (CLI) to download only a specific folder without downloading the full repository implemented with Python using Typer and GitHub API.

GitHub Folder Downloader A command line application (CLI) to download only a specific folder without downloading the full repository implemented with

Leynier Gutiรฉrrez Gonzรกlez 7 Aug 22, 2022
A command line interface tool converting starknet warp transpiled outputs into readable cairo contracts.

warp-to-cairo warp-to-cairo is a simple tool converting starknet warp outputs (NethermindEth/warp) outputs into readable cairo contracts. The warp out

Michael K 5 Jun 10, 2022
Simple command-line interface to store an encrypted copy of your passwords and decrypt using one master-password.

password-manager This is a command line interface that lets you store an encrypted copy your passwords locally using one master-password. Store an enc

Atharv Naik 1 May 3, 2022
Maua is a Python library (and command line interface) for synthesizing images, video, and audio using deep learning.

Maua ?? โ›๏ธ WIP ??๏ธ ?? Maua is a Python library (and command line interface) for synthesizing images, video, and audio using deep learning. While many

Maua 91 Sep 22, 2022
A command line interface to download youtube playlists in one go.

YouTube Playlist Downloader A command line interface to download youtube playlists in one go. The application employs multi-threading to download nume

Harsh Gupta 2 Jun 14, 2022
An Amazing 10K Dataset of Master Card & Visa Card Images with Python API & Command Line Interface.

SuperCardSet An Amazing Collection of 10K Randomized Visa and Master Card Images with Random Names and Card Types. Explore the docs ยป View Demo ยท Repo

Muneeb Ahmad 3 Sep 6, 2022
A command-line Python application aimed at automating IIITH moodle from login to opening assignments, grades within a single command even for multiple courses.

IIITH MOODLE CONTROLLER A command-line Python application aimed at automating IIITH moodle from login to opening assignments, grades within a single c

null 3 Aug 7, 2022
An experimental CLI to extract Cloud Storage metrics from Google Cloud Monitoring.

gcs_metric_extract A prototype CLI for getting Google Cloud Storage metrics out of the Google Cloud Monitoring API. DISCLAIMER: This code is offered a

Dominic Zippilli 1 Aug 12, 2022
A command line tool to convert any GDAL support geospatial data file to the PMTiles, a low-cost cloud-optimized tile format.

PMTiles Utils Some helpful utils :) Convert Install From the repo root, in your terminal: pip install -r convert/requirements.txt External requiremen

Matico 1 Sep 22, 2022
A user friendly graphical user interface for spicetify-cli to really bring spotify to the next level.

Spicetify GUI Welcome to Spicetify-GUI, a program that offers a graphical user interface for the Spicetify-CLI project. With spicetify, you can have f

null 5 Sep 21, 2022
Protรณtipo de Interface para controle hospitalar de Internos / Interface prototype for hospital control of Inmates

Interface_Prototype Protรณtipo de Interface para controle hospitalar de Internos / Interface prototype for hospital control of Inmates Essa interface f

null 1 Apr 25, 2022
Python timeit CLI for the 21st century! colored output, multi-line input with syntax highlighting and autocompletion and much more!

fastero Python timeit CLI for the 21st century Read the Documentation Installation & Usage Install either with pipx or pip. Both work, use what you wa

Wasi Master 191 Sep 21, 2022
A Python CLI tool for deploying red team infrastructure across mutliple cloud providers, all integrated with a virtual Nebula network

Terry the Terraformer Python CLI tool to to build red team infrastructure using Terraform, Ansible, and Docker. Once deployed, all resources can be in

Ezra Buckingham 58 Sep 25, 2022
Given a Python code with variable assignments, turn each assignment into argparse command line arguments with a default value.

Variables to Argparse Given a Python code with variable assignments, turn each assignment into argparse command line arguments with a default value. H

Robert Hagala 1 Mar 24, 2022
A command line HTTP client of https://sm.ms

smms-cli A command line HTTP client of https://sm.ms Usage $ smms -h usage: smms [-h] [-f FILENAME] [--hash HASH] method A simple command line HTTP c

Chen Anxue 2 Mar 28, 2022
Create matplotlib visualizations from the command-line

MatplotCLI Create matplotlib visualizations from the command-line MatplotCLI is a simple utility to quickly create plots from the command-line, levera

Daniel Moura 23 Apr 15, 2022