Generate security requirements from documents
Generate the security requirements for a custom pack by uploading your existing security documentation. AWS Security Agent reads the documents you upload, identifies the security-relevant content, and generates structured security requirements with applicability, compliance criteria, and remediation guidance. You can review and edit the generated requirements before they are used in reviews.
Use this instead of writing each requirement by hand when you already have security policies, standards, or guidelines documented. For guidance on what to include in the documents you upload, see Prepare documents for requirement generation.
Supported file formats
You can upload the following file formats:
-
DOC
-
DOCX
-
MD
-
PDF
-
TXT
Generate requirements
-
In the AWS console, navigate to AWS Security Agent.
-
In the navigation pane, choose Security requirements.
-
Choose the Custom security requirements packs tab.
-
Create a pack, or choose an existing custom pack to generate requirements for.
-
Choose Choose files, or drag and drop your documents into the upload area.
-
Choose Generate requirements.
-
Wait for AWS Security Agent to process the documents. Generation runs in the background and can take a couple of minutes for large files. You cannot start another upload for the pack while generation is in progress.
-
Review the generated security requirements. Edit, delete, or add requirements as needed. Enable the pack when you want AWS Security Agent to evaluate its requirements during security reviews.
Note
AWS Security Agent generates requirements at the workload level and focuses on the security-relevant content in your documents. The number of requirements it generates depends on the content you provide. Review the generated requirements to confirm they reflect your intent.
Replace requirements with a new upload
Uploading new source documents regenerates the requirements for a pack.
Important
When you upload new source documents to a pack, AWS Security Agent regenerates all requirements for that pack. Any existing requirements, including ones you added manually, are replaced. To keep your current requirements, do not upload new documents.
-
In the AWS console, navigate to AWS Security Agent.
-
In the navigation pane, choose Security requirements.
-
Choose the Custom security requirements packs tab, and then choose the pack.
-
Start a new upload, and acknowledge that uploading new source documents replaces the existing requirements.
-
Choose your files, and then choose Generate requirements.
Next steps
-
Review and enable the generated requirements. See Manage security requirements.
-
Create a design review or code review to evaluate your application against the pack.