Antra
How it worksStar1Get Started
Star1
Antra
How it worksStar1Get Started
Star1
Documentation
  • Introduction
  • Installation
  • Quick start
  • Configuration basics
  • Monorepos
  • Trust boundaries
  • Findings and severity
  • Schema providers
  • Suppressions and baselines
  • antra init
  • antra scan
  • antra sync
  • antra doctor
  • antra baseline
  • antra trace
  • antra watch
  • antra fix
  • antra query
  • antra studio
  • Studio
  • Launching Studio
  • Reading the graph
  • Configuration reference
  • BG-001: Server-to-client leak
  • BG-002: Unvalidated input
  • BG-003: Opaque object pass
  • BG-004: Secret in markup
  • GitHub Actions
  • Introduction
  • Installation
  • Quick start
  • Configuration basics
  • Monorepos
  • Trust boundaries
  • Findings and severity
  • Schema providers
  • Suppressions and baselines
  • antra init
  • antra scan
  • antra sync
  • antra doctor
  • antra baseline
  • antra trace
  • antra watch
  • antra fix
  • antra query
  • antra studio
  • Studio
  • Launching Studio
  • Reading the graph
  • Configuration reference
  • BG-001: Server-to-client leak
  • BG-002: Unvalidated input
  • BG-003: Opaque object pass
  • BG-004: Secret in markup
  • GitHub Actions

antra doctor

Validate configuration, rules, and parser readiness.

Checks that the tool is in a state where a scan can be trusted.

Usage

antra doctor [path]

path is the Next.js app root and defaults to ..

antra doctor
antra doctor --format json

Flags

FlagDefaultWhat it does
--format <type>prettypretty or json.

When to run it

doctor is the first thing to reach for when a scan behaves in a way you did not expect: an empty report on a project you know has crossings, or a rule that never fires.

It validates three things: the configuration file parses and is valid, the rules load, and the parser is ready. json output is for when you want to read the same result from a script rather than your eyes.

Warning

doctor reports on readiness, not on your code. A clean run does not mean the project is free of boundary crossings. It means the tooling is in a position to tell you about them.

Previous
antra sync
Next
antra baseline
On this page
  • Usage
  • Flags
  • When to run it