Panther Analysis Tool Commands
Use PAT to manage your Panther content
Overview
PAT commands
% panther_analysis_tool -h
usage: panther_analysis_tool [-h] [--version] [--debug] {release,test,publish,upload,delete,update-custom-schemas,test-lookup-table,validate,zip,check-connection,sdk} ...
Panther Analysis Tool: A command line tool for managing Panther policies and rules.
positional arguments:
{release,test,publish,upload,delete,update-custom-schemas,test-lookup-table,validate,zip,check-connection,sdk}
release Create release assets for repository containing panther detections. Generates a file called panther-analysis-all.zip and optionally generates
panther-analysis-all.sig
test Validate analysis specifications and run policy and rule tests.
publish Publishes a new release, generates the release assets, and uploads them. Generates a file called panther-analysis-all.zip and optionally generates
panther-analysis-all.sig
upload Upload specified policies and rules to a Panther deployment.
delete Delete policies, rules, or saved queries from a Panther deployment
update-custom-schemas
Update or create custom schemas on a Panther deployment.
test-lookup-table Validate a Lookup Table spec file.
validate Validate your bulk uploads against your panther instance
zip Create an archive of local policies and rules for uploading to Panther.
check-connection Check your Panther API connection
sdk Perform operations using the Panther SDK exclusively (pass sdk --help for more)
options:
-h, --help show this help message and exit
--version show program's version number and exit
--debugtest: Running tests with PAT
test: Running tests with PATvalidate: Ensuring detection content is ready to be uploaded
validate: Ensuring detection content is ready to be uploadedzip: Creating a package to upload to the Panther Console
zip: Creating a package to upload to the Panther ConsoleUploading content in the Panther Console

upload: Uploading packages to Panther directly
upload: Uploading packages to Panther directlydelete: Deleting Rules, Policies, or Saved Queries with PAT
delete: Deleting Rules, Policies, or Saved Queries with PATPermissions required per command
Command
Required permission(s)
PAT command options (sub commands)
--filter: Filtering PAT commands
--filter: Filtering PAT commandsPreviousInstall, Configure, and Authenticate with the Panther Analysis ToolNextManaging Lookup Tables and Enrichment Providers with the Panther Analysis Tool
Last updated
Was this helpful?

