Skip to content

[attack] Attack stage debug logging, little fixes and enhancements - #150

Merged
il3241ya merged 4 commits into
CAVISE:mainfrom
AndK17:attack_stage_logging
May 17, 2026
Merged

[attack] Attack stage debug logging, little fixes and enhancements#150
il3241ya merged 4 commits into
CAVISE:mainfrom
AndK17:attack_stage_logging

Conversation

@AndK17

@AndK17 AndK17 commented May 12, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds DEBUG-level logging for adversary framework attack stages, making it possible to inspect how each stage changes service capability outputs during attack execution. Also updates the AIM server request DDoS config and includes small cleanup/debug-visualization fixes.

Related issue

Closes #

Changes

  • Added a shared log_stage_object_transition helper for DEBUG logs with stage name, action, service type, capability, and before/after object state.
  • Wired transition logging into dropper, replayer, sniffer, and spoofer stages.
  • Passed service/capability context into stage rewrite callbacks so logs identify the affected capability handler.
  • Updated aim_server_request_ddos config to start once requirements are met and avoid stopping when tracked vehicle count returns to zero.
  • Fixed the Capability doc-string typo and raised AIM client trajectory debug points above the ground for clearer visualization.

Validation

  • Simulation run
  • Manual verification
  • Not applicable

Checklist

  • Linked the related issue
  • Kept the PR focused and reviewable
  • Updated documentation if needed
  • Added or updated validation steps if needed

@AndK17
AndK17 requested a review from il3241ya May 12, 2026 22:06
@AndK17 AndK17 self-assigned this May 12, 2026
@AndK17 AndK17 added enhancement New feature or request attack labels May 12, 2026
@il3241ya il3241ya changed the title [attack] Attack stage debug logging and little fixes and enhancements [attack] Attack stage debug logging, little fixes and enhancements May 13, 2026
@il3241ya
il3241ya merged commit 31e3885 into CAVISE:main May 17, 2026
6 checks passed
@AndK17
AndK17 deleted the attack_stage_logging branch May 18, 2026 19:34
Haralishev77 pushed a commit that referenced this pull request Jul 21, 2026
)

* [attack] Add logging in attack stages

* fix capability docstring

* better trajectory debuging in aim_client

* fix ddos attack config
meaning-0f-life pushed a commit to meaning-0f-life/OpenCDA that referenced this pull request Jul 25, 2026
…AVISE#150)

* [attack] Add logging in attack stages

* fix capability docstring

* better trajectory debuging in aim_client

* fix ddos attack config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

attack enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants