-
Notifications
You must be signed in to change notification settings - Fork 55
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
[SOAR-16875] - Palo Alto Pan OS - Addressing SNYK vulnerabilities in gunicorn and validators #2575
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 tasks
ablakley-r7
requested changes
Jun 7, 2024
plugins/palo_alto_pan_os/komand_palo_alto_pan_os/util/pan_os_requests.py
Outdated
Show resolved
Hide resolved
plugins/palo_alto_pan_os/komand_palo_alto_pan_os/connection/connection.py
Outdated
Show resolved
Hide resolved
plugins/palo_alto_pan_os/komand_palo_alto_pan_os/connection/connection.py
Outdated
Show resolved
Hide resolved
ablakley-r7
approved these changes
Jun 7, 2024
cmcnally-r7
approved these changes
Jun 7, 2024
ekelly-r7
approved these changes
Jun 10, 2024
rbowden-r7
added a commit
that referenced
this pull request
Jun 10, 2024
…gunicorn and validators (#2575) * SOAR-16875-Addressing SNYK vulnerabilities in gunicorn and validators * SOAR-16875-Addressing SNYK vulnerabilities in gunicorn and validators
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proposed Changes
Description
Describe the proposed changes:
gunicorn
andvalidators
PR Requirements
Developers, verify you have completed the following items by checking them off:
Testing
Unit Tests
Review our documentation on generating and writing plugin unit tests
In-Product Tests
If you are an InsightConnect customer or have access to an InsightConnect instance, the following in-product tests should be done:
Style
Review the style guide
USER nobody
in theDockerfile
when possiblerapid7/insightconnect-python-3-38-slim-plugin:{sdk-version-num}
andrapid7/insightconnect-python-3-38-plugin:{sdk-version-num}
insight-plugin validate
which callsicon_validate
to linthelp.md
Functional Checklist
tests/
directory created withinsight-plugin samples
tests/$action_bad.json
insight-plugin run -T tests/example.json --debug --jq
insight-plugin run -T all --debug --jq
(use PR format at end)insight-plugin run -R tests/example.json --debug --jq
insight-plugin run --debug --jq
(use PR format at end)Assessment
You must validate your work to reviewers:
insight-plugin validate
and make sure everything passesinsight-plugin run -A
. For single action validation:insight-plugin run tests/{file}.json -A
insight-plugin ... | pbcopy
) and paste the output in a new post on this PRtesting actions via postman
add a new policy
![image](https://private-user-images.githubusercontent.com/144030336/337326647-8df1d621-4ddc-4c91-873c-21bdbeeba4b4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NDQxOTgsIm5iZiI6MTczODk0Mzg5OCwicGF0aCI6Ii8xNDQwMzAzMzYvMzM3MzI2NjQ3LThkZjFkNjIxLTRkZGMtNGM5MS04NzNjLTIxYmRiZWViYTRiNC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwN1QxNTU4MThaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1hMzA3MmI3MjM4NjY3NzM5ODcyYzM1NjJkNjExNDBiZDExMWFlZjdiNjBiOGUzNjJkNzkxYjVhNTVhNTRiZWY5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.cUX0ZR0UYQeGFaXGO-jOg5gJmpKrdWfJJ0iozyz-X44)
get_policy
![image](https://private-user-images.githubusercontent.com/144030336/337323581-761aaea0-554a-4d75-bf11-1cb838dc31fa.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NDQxOTgsIm5iZiI6MTczODk0Mzg5OCwicGF0aCI6Ii8xNDQwMzAzMzYvMzM3MzIzNTgxLTc2MWFhZWEwLTU1NGEtNGQ3NS1iZjExLTFjYjgzOGRjMzFmYS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwN1QxNTU4MThaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mNjcxMTM1Y2RkYjUyZjMzOGMyYmU5ZDYxOTFiZDMwODdmMDUxNWY1NTU3YzNjZDBhOTJkNzk3YTJiNDdlOWE3JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.B7eApDFM5sKQN7NtbTX4KtYXvgwua0PA_Kp351Hm4RU)
get logs
![image](https://private-user-images.githubusercontent.com/144030336/337326453-7af46978-82ef-4567-b051-6e0ec00fe2fc.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtle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