Skip to content

scan: support JSON as an alternative EvaluationLog output format #795

Description

@jpower432

Is your feature request related to a problem? Please describe.
complyctl scan writes the EvaluationLog exclusively as YAML. There is no way to request JSON output, which is inconvenient for automation and machine consumption of scan results.

Describe the solution you'd like
Support JSON as an alternative primary EvaluationLog format. Both YAML and JSON would be Gemara-schema-compliant. YAML remains the default. A flag with an env var override (following the pattern of --show-passing / COMPLYTIME_SHOW_PASSING) would fit naturally with existing UX conventions.

Describe alternatives you've considered
Env var only (no flag), but a flag allows per-invocation override which is consistent with other scan options.

Additional context
go-gemara types already carry correct json: tags — no upstream schema changes needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestllm_assistedFiled or drafted with LLM assistance

    Type

    No type

    Fields

    Priority

    High

    Effort

    None yet

    Projects

    Status
    Ready 🚀

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions