Skip to content

ghas-results/pcs-platform-helper-scripts

 
 

Repository files navigation

pcs-platform-helper-scripts

Some helper scripts for Prisma Cloud Platform

license support

Description

Script to help find polices that are not attached to alert rules. If there is an alert rules that includes all policies then this script would not be effective.

Installation

python3 -m venv env
source env/bin/activate
pip install -r requirements.txt

Configuration

Create an authorization file in the directory ~/.prismacloud Below is the syntax of the file:

{
    "ca_cert":"",
    "app_stack": "app",
    "identity": "",
    "secret": ""
}

Executing Script

Must use the -c option the first time to pull down all the policy data. This will store the policy data locally in a file called policy.json

policy.json is the default, but can be defined with the -f flag

python policy-missing-alert-rule.py -c

License

This project is licensed under the MIT License - see the LICENSE file for details

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%