Adopt Framework
POST
/compliance/adoptions
Adopt (or re-pin) a framework for a tenant against the newest published release, optionally scoped by a profile. Idempotent per (tenant, framework): re-adopting updates the pin and profile. Emits catalog.framework_adopted in the same transaction (invariant 2).
Adoption then starts a compliance scan (A53): the tenant’s resources are
read and evaluated against the newly activated controls, so the matrix
reflects the account rather than reading entirely not-demonstrated until
someone deploys something. The scan is accepted, not awaited, the response
carries scan_job_id for the page to poll.
Parameters
Section titled “ Parameters ”Cookie Parameters
Section titled “Cookie Parameters ”Request Body required
Section titled “Request Body required ”Responses
Section titled “ Responses ”Successful Response
AdoptionRecord
object
adopted_at
required
Adopted At
string format: date-time
adopted_by
required
Adopted By
string
framework
required
Framework
string
framework_version
required
Framework Version
string
id
required
Id
string format: uuid
release_version
required
Release Version
string
requirement_count
required
Requirement Count
integer
tenant_id
required
Tenant Id
string format: uuid
upgrade_available
required
Upgrade Available
boolean
Validation Error
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string