Skip to content

PaloAltoNetworks/pc-csv-alert-dismissal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This script accepts a CSV file that contains Alert IDs and Dismissal Reasons.

The script groups Alerts by their Dismissal Reason and dismisses Alerts in batches.

Installation

pip3 install loguru pip3 install pcpi

Running the script

Defaults to file named "input.csv". python3 dismiss.py

Specify the path to the input csv using the "-file" option. python3 dismiss.py -file inputfilename.csv

Notes

One

The script accepts a csv file with the following format: Alert ID,Policy Name,dismissalNote

Two

The script is set to read credentials from a file by default. If the file does not exist, then the script will create the file for you.

You can also have the script read from environment variables or directly from the user.

Authentication with Prisma Cloud is handled by pcpi (Prisma Cloud Python Integration). Please refer to the GitHub page for this library for more details. https://github.com/PaloAltoNetworks/pc-python-integration

About

Simple script to dismiss alerts from a supplied CSV file.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages