-
Notifications
You must be signed in to change notification settings - Fork 385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[OSCD Initiative] Add response for PaloAltoNGFW #886
[OSCD Initiative] Add response for PaloAltoNGFW #886
Conversation
Hello @Konakin! Thank you for your contribution! Could you please list the names of the Security Rules that you will use for the responder per Response Action? |
Hello @yugoslavskiy. I have problems only with url and i want describe about this in next pull request. And i think, I finish rule for port on Tuesday. |
Response with rules for: 1. IP address 2. domains 3. users This response contain security rules with default name, for use need add setting PaloAltoNGFW and the hive.
Hello @yugoslavskiy. I added new commit. In this commit contains rule for ip, domain and user. Build logic:
|
I have promblem with rule for url, because i don't known how delete ioc in url_list. When i send comand with changed url list and updated CustomUrlCategory, i get request with error text: "panos.errors.PanDeviceXapiError: Black list internal URL -> list 'http://google.ru' is invalid. custom-url-category entry has to be type specified but class panos.objects.CustomUrlCategory don't contains field to specify custom-url-category. |
And how i wrote earlier, i will end response for port block\unblock with security rule on Tuesday, because it is looks like response for ip or domain. |
Add Responder for: 1. Block internal port 2. Block external port 3. Unblock internal port 4. Unblock external port
hello. i completed response for port. i created bug report for panos.objects.CustomUrlCategory. (See #285) |
Hello @Konakin! Sorry I probably wrote a message but didn't send it.
Could you please describe how did you implement that? |
Hello, @yugoslavskiy. Security Rules creation logic for response:
field is:
|
but I think if the engineer set name custom rule (not thehive_block_*) in field name_security_rule in cortex setting response, the script will overwrite setting security rules. i will fix this in next release. |
I want to change logic create rules:
|
New version response scripts for save attributes in rules
I changed response for custom rules. Now rules attributes will be save. |
In new vesion: 1. responders in one folder. 2. responders run with case_artifact and case. 3. added prefixes to the names of the rules and the list 4. README.md please write if you find a bug or have a suggestion for a future request.
Add main config and config for unblock ip,domain,port
1. Fix mistake with general config 2. Fix errors python code
Hello, we merged this PR. Please consider translating the readme file from RU to EN and allow everyone to access the content. Thanks. |
Add new responce for PaloAltoNGFW: