File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ const configSchemaPath = "schema/trivy-config.json"
3030func generateConfigSchema (outputPath string , allFlagGroups []flag.FlagGroup ) error {
3131 root := & jsonschema.Schema {
3232 Schema : "https://json-schema.org/draft/2020-12/schema" ,
33+ ID : "https://raw.githubusercontent.com/aquasecurity/trivy/main/schema/trivy-config.json" ,
3334 Type : schemaTypeObject ,
3435 Title : "Trivy Configuration" ,
3536 Description : "Configuration file for Trivy security scanner (trivy.yaml)" ,
Original file line number Diff line number Diff line change 928928 }
929929 }
930930 },
931+ "$id" : " https://raw.githubusercontent.com/aquasecurity/trivy/main/schema/trivy-config.json" ,
931932 "$schema" : " https://json-schema.org/draft/2020-12/schema" ,
932933 "title" : " Trivy Configuration" ,
933934 "description" : " Configuration file for Trivy security scanner (trivy.yaml)"
You can’t perform that action at this time.
0 commit comments