Documentation
¶
Overview ¶
Package auditschema publishes the versioned JSON Schema contracts for the gowdk audit report (`gowdk audit --json`) and the security manifest (gowdk-security.json). The schema files are embedded so the CLI can print them (`gowdk audit --schema`) and tests can assert the emitted JSON stays compatible with the published contract.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuditReportSchema ¶
func AuditReportSchema() []byte
AuditReportSchema returns the embedded audit report JSON Schema.
func DescribedKeys ¶
DescribedKeys returns the property names declared under the given path of the named schema. An empty path targets the schema root; a non-empty path walks nested objects (for example "$defs", "finding"). Compatibility tests use it to assert every key the CLI emits is part of the published contract, so a new struct field cannot silently drift away from the schema.
func SecurityManifestSchema ¶
func SecurityManifestSchema() []byte
SecurityManifestSchema returns the embedded security manifest JSON Schema.