-
Notifications
You must be signed in to change notification settings - Fork 119
feat: add OWASP Kubernetes Top Ten 2022 & 2025 importers and golden dataset entries #1041
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
Closed
Bornunique911
wants to merge
13
commits into
OWASP:main
from
Bornunique911:feat/golden-dataset-kubernetes-api-llm-aisvs
Closed
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
83b3784
Add script to validate golden dataset entries against OpenCRE database
Bornunique911 bb1e43e
feat(golden): merge upstream with Kubernetes, API, LLM, and AISVS ent…
Bornunique911 55a761c
feat(golden): update golden dataset entries for API security best pra…
Bornunique911 d3b61a0
feat(golden): update golden dataset entry to reflect revised CRE IDs
Bornunique911 ab6181e
feat(golden): update golden dataset by removing ambiguous entries
Bornunique911 e7dfbdb
feat(golden): add parser for OWASP Kubernetes Top Ten 2025 dataset
Bornunique911 8f2ce4b
feat(golden): add parser for OWASP Kubernetes Top Ten 2022 dataset
Bornunique911 59b63b3
fix(tests): add missing newline at end of dataset_test.py
Bornunique911 4a7d8c6
feat(golden): remove outdated entries from golden dataset for OWASP A…
Bornunique911 d88b57f
feat(golden): update golden dataset with new entries and corrections …
Bornunique911 91d62d2
fix: align Kubernetes fixture CRE IDs and hyperlinks with golden dataset
Bornunique911 f07e4fc
feat(golden): add OWASP Kubernetes Top Ten 2022 and 2025 entries to g…
Bornunique911 ea30281
feat: improve formatting and validation logic in golden dataset scripts
Bornunique911 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🗄️ Data Integrity & Integration | 🟠 Major | 🏗️ Heavy lift
🧩 Analysis chain
🏁 Script executed:
Repository: OWASP/OpenCRE
Length of output: 2159
🏁 Script executed:
Repository: OWASP/OpenCRE
Length of output: 50369
🏁 Script executed:
Repository: OWASP/OpenCRE
Length of output: 9950
🏁 Script executed:
Repository: OWASP/OpenCRE
Length of output: 17590
Use an isolated database copy for the determinism test.
register_resourcewrites nodes and links to_DB, so the test mutates the repository cache. The node and link writes are upserts, so repeated registration is not the concern. However, registering the parsers beforebuild_golden_dataset.py --checkmeans the check does not run against a clean database and can mask missing imports for those standards.Copy
_DBto a temporary file, pass it with--db, and remove the temporary file during teardown.🤖 Prompt for AI Agents