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,benchmark,enrich-test-data} ...
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,benchmark,enrich-test-data}
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)
benchmark Performance test one rule against one of its log types. The rule must be the only item in the working directory or specified by --path, --ignore-files, and --filter. This feature is an extension of Data Replay and is subject to the same limitations.
enrich-test-data Enrich test data with additional enrichments from the Panther API.
optional arguments:
-h, --help show this help message and exit
--version show program's version number and exit
--debugtest: Running unit tests
test: Running unit testsbenchmark: Evaluating rule performance
benchmark: Evaluating rule performanceenrich-test-data: Enriching test data with Enrichment content
enrich-test-data: Enriching test data with Enrichment contentvalidate: 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
delete: Deleting Rules, Policies, or Saved QueriesPermissions required per command
Command
Required permission(s)
PAT command options (sub commands)
--filter: Filtering PAT commands
--filter: Filtering PAT commands--minimum-tests: Requiring a certain number of unit tests
--minimum-tests: Requiring a certain number of unit testsPreviousInstall, Configure, and Authenticate with the Panther Analysis ToolNextManaging Lookup Tables and Enrichment Providers with the Panther Analysis Tool
Last updated
Was this helpful?

