Skip to content

Add SARIF output for code scanning integrations #82

Description

@mertsatilmaz

Context

The README lists SARIF output as not implemented. SARIF would let teams surface agent-security regression failures through GitHub code scanning and other security dashboards.

Acceptance criteria

  • Add a CLI flag such as --sarif-out <path>.
  • Emit SARIF v2.1.0 with stable rule IDs for assertion types.
  • Include scenario ID, assertion ID, result, severity, and evidence.
  • Map failed assertions to SARIF results.
  • Add tests for generated SARIF structure.
  • Document limitations, especially that this is regression output rather than a scanner.

Useful files

  • src/agent_harness/cli.py
  • src/agent_harness/result.py
  • schemas/result.schema.json
  • README.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    clienhancementNew feature or requesthelp wantedExtra attention is neededintegrationReal-agent integration guidance, SDK helpers, and wiring patterns.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions