QuestionQ50

VerifiedDevSecOps Pipeline-Plan Stage

Trevor Noah works as a DevSecOps engineer for an IT company based in Detroit, Michigan. His team lead has tasked him with performing continuous threat modeling using ThreatSpec. To accomplish this, Trevor installed and initialized ThreatSpec within the source code repository, and then began annotating the source code with security issues, actions, or concepts.

After running ThreatSpec against the application code, Trevor now wants to generate the threat model report.

Which command should Trevor use to generate the threat model report using ThreatSpec?

Explanation

ThreatSpec's command-line interface uses lowercase command and subcommand names, consistent with standard Unix CLI conventions. After annotating code and running ThreatSpec to parse the annotations, the report is generated using the 'threatspec report' subcommand, which produces the threat model output (such as a JSON report or data flow diagram) from the collected annotations. Capitalized variants of the binary name or subcommand are not valid, as command-line tool names are case-sensitive.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!