---
title: "POST /ImportSecurityRequirements"
method: POST
path: "/ImportSecurityRequirements"
---

# POST /ImportSecurityRequirements

`POST /ImportSecurityRequirements`

Imports security requirements from uploaded documents into a customer managed security requirement pack. The import process asynchronously extracts and generates structured security requirements from the provided source files.

## Request body

- object
  - `packId` string, required — The unique identifier of the security requirement pack to import requirements into.
  - `input` object, required — The source from which to import security requirements. Currently supports document uploads.
    - `documents` SecurityRequirementArtifact[] — The list of documents to extract security requirements from.
      - `name` string, required — The file name of the document.
      - `format` 'MD' | 'PDF' | 'TXT' | 'DOCX' | 'DOC', required — The format of the document. Valid values are MD, PDF, TXT, DOCX, and DOC.
      - `content` string, password, required — The binary content of the document.

## Response `201`

Success

- ImportSecurityRequirementsOutput
  - `packId` string, required — The unique identifier of the security requirement pack.
  - `importStatus` 'PENDING' | 'IN_PROGRESS' | 'FAILED' | 'COMPLETED', required — The status of the import workflow.

## Other responses

- `480` — ValidationException
- `481` — ResourceNotFoundException
- `482` — InternalServerException
- `483` — ConflictException
- `484` — ThrottlingException
- `485` — AccessDeniedException
- `486` — ServiceQuotaExceededException

---

[API](https://skmtc.net/aws/apis/securityagent.md) · [All operations](https://skmtc.net/aws/apis/securityagent/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/securityagent/versions/cad56717d636/schema)
