Skip to content

feat(cli): add stateless scan command for agent-invocable runs (#309) - #340

Open
rwinkelman wants to merge 2 commits into
msoedov:mainfrom
rwinkelman:feat/scan-cli-spec-309
Open

feat(cli): add stateless scan command for agent-invocable runs (#309)#340
rwinkelman wants to merge 2 commits into
msoedov:mainfrom
rwinkelman:feat/scan-cli-spec-309

Conversation

@rwinkelman

Copy link
Copy Markdown
Contributor

Summary

  • Add agentic_security scan --spec <file|inline|-> for one-shot scans without agesec.toml
  • Stream scan progress/results as JSON lines on stdout; exit 1 when any module exceeds max_th

Test plan

  • agentic_security scan --spec ./llm-spec.http against a local test endpoint
  • cat spec.http | agentic_security scan --spec -

Part of #309 / #306

…ov#309)

Expose `agentic_security scan --spec` to stream JSONL results from stdin, a
file, or inline HTTP spec text without agesec.toml or the web server.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant