mkdir github && cd github
git clone https://github.com/jzandona/cs_training_git && cd cs_training_git
git pull
head rules/crowdstrike_rules/crowdstrike_dns_request.yml
vim rules/crowdstrike_rules/crowdstrike_dns_request.yml
or
open -a TextEdit rules/crowdstrike_rules/crowdstrike_dns_request.yml
panther_analysis_tool check-connection --api-host https://api.papaya-junior.runpanther.net/public/graphql --api-token ADD_TOKEN
panther_analysis_tool upload --api-host https://api.papaya-junior.runpanther.net/public/graphql --api-token ADD_TOKEN
If error says command not found: panther_analysis_tool
Try using:
export PATH="/Users/$LOGNAME/Library/Python/3.9/bin:$PATH"
pip install --upgrade panther_analysis_tool
i - insert before the cursor
escape - exit insert mode
:wq - save and quit
If you dont have arrow keys
h - move cursor left
j - move cursor down
k - move cursor up
l - move cursor right
Hint: Requires Github Account
-
You will need to create a branch and make your changes within the branch
-
Publish the branch to the this repo
-
Create a
Pull Request
on the branch to merge intomain