Tarsana docsDashboardMenu

Tarsana image spec v2

This is what an image spec can say. Write it in YAML or JSON: the two are read the same way. In the portal, leave metadata.tenant out and your tenant ID is filled in; if you keep it, it must be your tenant ID.

What each field does, the smallest spec and recipes are in the Spec reference.

The schema itself is at https://docs.tarsana.io/schemas/image-spec/v2.schema.json. Tools that read schemas know it by its name, https://schemas.tarsana.io/image-spec/v2.schema.json.

Fields

FieldRequiredValue
schema_versionyestext
metadatanoa mapping
distroyesone of ubuntu, debian, almalinux
snapshot_idyestext
base_refyestext
reposnoa list of mappings
packagesnoa list of mappings
filesnoa list of mappings
service_accountsnoa list of mappings
workloadnoa mapping
statenoa mapping
hardening_profilenoone of none, tarsana-baseline, cis-level1, cis-level2, stig, pci-dss
hardening_packagesnoa list of text values
retain_generated_key_materialnoa mapping
policy_classyestext
layersnoa list of mappings
placementnoa mapping

View this page as Markdown