Skip to main content
POST
Analyze Terraform state for compliance

Authorizations

X-Customer-Key
string
header
required

Customer API key for authentication

Body

application/json
name
string
required

Name for the evidence assessment

Example:

"production-infrastructure"

format
enum<string>
required

Output format for the assessment

Available options:
oscal,
yaml,
json
Example:

"json"

content_base64
string
required

Base64-encoded Terraform state file (JSON)

Example:

"eyJ2ZXJzaW9uIjo0LCJ0ZXJyYWZvcm1fdmVyc2lvbiI6IjEuMC4wIiwicmVzb3VyY2VzIjpbXX0="

include_diagram
boolean
default:false

Include Mermaid architecture diagram in artifacts

Response

Evidence assessment completed successfully

id
string<uuid>
required

Unique identifier for this assessment

status
enum<string>
required

Assessment status

Available options:
completed,
failed
created_at
string<date-time>
required

Timestamp when assessment was created

assessment
object
required
artifacts
object[]
required

Generated artifacts (assessment files, diagrams)