QUESTION

How do I make panther_analysis_tool upload operations faster? Even when uploading a small amount of content, the upload is slow and takes a long time.

ANSWER

Here are some things that can help reduce the time spent waiting for panther_analysis_tool (PAT) to complete:

pipenv run panther_analysis_tool upload --path ./rules --filter Enabled=true --skip-tests

When we upload the rules/ directory, if a rule has not been updated, nothing happens. This effectively ensures that only the files that have changed are updated.