feat: add full event log export for all scan events#277
Merged
msoedov merged 1 commit intomsoedov:mainfrom Feb 3, 2026
Merged
Conversation
Add export_full_log() method to FuzzerState that exports a comprehensive log of all events including errors, refusals, and successful outputs. Previously only failures were exported. This change addresses issue #100 by creating a complete audit trail in full_scan_log.csv with event type, module, prompt, status code, content, and refused flag columns. Co-Authored-By: Nivesh Dandyan <niveshdandyan@gmail.com>
Owner
|
@niveshdandyan Thank you for the patch! |
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.
Summary
export_full_log()method toFuzzerStateclass that exports a comprehensive log of all eventsfull_scan_log.csvwith columns:event_type,module,prompt,status_code,content,refusedThis addresses issue #100 by providing a complete audit trail of all fuzzer events for debugging and analysis purposes.
Changes
agentic_security/probe_actor/state.py: Addedexport_full_log()methodagentic_security/probe_actor/fuzzer.py: Callexport_full_log()after scan completes in both single-shot and many-shot scan functionsTest plan
full_scan_log.csvis created alongsidefailures.csvCloses #100