crowdstrike: fix logger.warning dict arg and add related_actors deduplication test#6134
Draft
crowdstrike: fix logger.warning dict arg and add related_actors deduplication test#6134
Conversation
…ctors field Agent-Logs-Url: https://github.com/OpenCTI-Platform/connectors/sessions/de7d972f-e791-4ef5-b835-694cf5d883b8 Co-authored-by: CTIBurn0ut <187056606+CTIBurn0ut@users.noreply.github.com>
…ated_actors Agent-Logs-Url: https://github.com/OpenCTI-Platform/connectors/sessions/74f238a2-32ca-4c60-8350-d1c6fb9a754b Co-authored-by: CTIBurn0ut <187056606+CTIBurn0ut@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Address review comments in PR #6133
crowdstrike: fix logger.warning dict arg and add related_actors deduplication test
Mar 31, 2026
|
Thank you for your contribution, but we need you to sign your commits. Please see https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits |
1 similar comment
|
Thank you for your contribution, but we need you to sign your commits. Please see https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits |
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
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.
Two review fixes for the
related_actors→IntrusionSet/targetsfeature in the CrowdStrike vulnerability builder.Changes
vulnerability/builder.py— Fixlogger.warning()call that passed adictas the second positional arg; Python's logging%-formatter would raiseTypeErrorat runtime if a handler triggered interpolation on a format string with no%placeholders:tests/vulnerability_related_actors/test_vulnerability_related_actors.py— Addtest_duplicate_related_actors_deduplicated: supplies threerelated_actorsentries with the samename, asserts exactly oneintrusion-setand onetargetsrelationship are emitted, exercising theseen_namesdeduplication path that was previously uncovered.Original prompt
This pull request was created from Copilot chat.