NJannasch / compliance-exporter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prisma Cloud Compliance Export Helper

This tool creates a custom CSV based on compliance related findings in Prisma Cloud.

Usage

Installation

A few python packages are required to execute this script

pip3 install -r requirements.txt

Credential setup

To access the data in the tenant the Username/Passwords/Tokens need to be provided as environment variables. An example is given in the .env.template.

Credentials can be e.g. generated under Settings -> Access Control -> Access Keys.

Execution

Calling the help function

python3 main.py --help

To create a out.csv file use the following command:

python3 main.py --standard-name "ISO 27001:2013" --account-group "MyAccountGroup" --output-file "out.csv" --stack-name "api2.eu"

Example output

standard,requirement_name,requirement_id,section_id,account_name,account_id,provider,rrn,policies
....

About

License:MIT License


Languages

Language:Python 99.4%Language:Shell 0.6%