-
-
Notifications
You must be signed in to change notification settings - Fork 52
Add fuzzer test for capec_map_enricher.py #2197
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
base: master
Are you sure you want to change the base?
Conversation
|
length=120 --max-complexity=10 --ignore=E203,W503 |
sydseter
left a comment
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.
You have some style issues there.
|
There is tje error: File "capec_map_enricher_fuzzer.py", line 119, in test_main |
|
Hi @sydseter , can you my review my pr . If any changes needed . |
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.
What did you change here? If you believe there is an issue please open separate pull-request. Pøease revert this so that it is easier to asess the fuzzing test.
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.
Same here. If you believe there is an issue please open separate pull-request. Pøease revert this so that it is easier to asess the fuzzing test.
| pnpm audit --prod | ||
| pnpm run coverage | ||
|
|
||
| - name: Smoke test |
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.
It seems like this got lost in a merge? Could you just reset your commit and try to only commit the capec_map_enricher_fuzzer.py file?
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.
git reset HEAD~7
|
Hi @sydseter, I’ve cleaned up the PR as requested:
|
This PR adds coverage-guided fuzz testing for capec_map_enricher.py to improve robustness when handling malformed or unexpected JSON/YAML input.
Key changes:
Reference issue-#2165