QuestionQ46

VerifiedIntroduction to DevSecOps

Scott Morrison works as a senior DevSecOps engineer at SUTRE SOFT Pvt. Ltd., an organization that builds software and applications for IoT devices. Scott created a user story, then created abuser stories under that user story, then created threat scenarios under the abuser story, and finally created test cases for the threat scenarios. After defining the YAML file for this user-story-driven threat model, Scott wants to push it to the ThreatPlaybook server.

Which command should Scott use?

Explanation

In ThreatPlaybook, once a user story, its abuser stories, threat scenarios, and test cases are defined in a YAML file, the model is pushed to the ThreatPlaybook server using the command playbook apply feature -f <path to the yaml file> -p test-project. Here, the -f flag provides the (absolute) path to the YAML file defining the story-driven threat model, and the -p flag specifies the target project name under which the data will be stored on the ThreatPlaybook server. This is documented in the ThreatPlaybook story-driven threat modeling guide.

Learn more

Community Discussion

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