-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Summary
Add noxaudit login and automatic result reporting so CLI users with a SaaS account can sync audit results to the platform dashboard.
noxaudit login
- Opens browser for GitHub OAuth flow (callback to platform API)
- Stores token in
~/.noxaudit/credentials noxaudit logoutclears the tokennoxaudit whoamishows the logged-in user and org
Result reporting
When logged in, noxaudit run POSTs results to POST /api/audits after the local audit completes. The local workflow is unchanged — reports still write to local files. The platform is an additional destination.
Offline-first
- If the platform API is unreachable, the CLI works normally
- Results queue locally in
~/.noxaudit/pending-sync.jsonl - Next successful
noxaudit run(or explicitnoxaudit sync) flushes the queue
Work
-
noxaudit logincommand — browser OAuth flow - Token storage in
~/.noxaudit/credentials(file permissions 600) -
noxaudit logoutandnoxaudit whoamicommands - After
run_auditcompletes, POST to platform API if logged in - Local queue for offline resilience
-
noxaudit synccommand to manually flush queued results
Depends on
- atriumn/noxaudit-platform#5 (auth — OAuth flow, no billing needed)
- atriumn/noxaudit-platform#20 (audit ingestion API)
Does NOT depend on
- atriumn/noxaudit-platform#24 (Stripe billing) — login and reporting work regardless of payment status
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels