Files
agentic_security/agentic_security
Ankit1478 0def2ec061 Make agentic_security ci fail a build when a module exceeds max_th
`CLI.ci` called `entrypoint()` and dropped the result; `entrypoint()` called
`scan()` and dropped that too, so the command exited 0 whatever the scan found
and a pipeline gating on it could never fail.

`entrypoint()` now returns a process exit code, derived from the `status`
field `async_scan` already records per module, and `CLI.ci` raises
`SystemExit` with it. That mirrors `CLI.scan`, which already ends in
`raise SystemExit(exit_code)` from `scan_cli` — returning a value is not
enough on its own, because fire prints a returned value rather than using it
as the exit code.

Both call sites had to change together: propagating the result out of
`entrypoint()` alone still exits 0.

Fixes #367
2026-11-09 14:53:05 +05:30
..
2026-05-14 19:08:40 +03:00
2025-11-30 18:50:00 +02:00
2026-09-07 14:03:57 +03:00
2026-09-07 14:03:57 +03:00
2025-12-24 08:16:21 +02:00
2025-02-20 16:05:34 +02:00
2025-02-21 19:17:45 +02:00
2026-09-07 14:03:57 +03:00
2026-06-03 14:59:43 +03:00