From 365eea6221ae99f23421670bddb40a856879b927 Mon Sep 17 00:00:00 2001 From: Luigi Gubello Date: Wed, 27 Sep 2023 18:02:02 +0200 Subject: [PATCH] Change type object to array Signed-off-by: Luigi Gubello --- examples/security-insights-sample.yml | 24 ++++++++++++------------ security-insights-schema-1.0.0.yaml | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/examples/security-insights-sample.yml b/examples/security-insights-sample.yml index d5e9c53..eee0dfe 100644 --- a/examples/security-insights-sample.yml +++ b/examples/security-insights-sample.yml @@ -66,18 +66,18 @@ security-artifacts: sint obcaecat cupiditat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum other-artifacts: - artifact-name: example-artifact - artifact-created: true - evidence-url: - - https://foo.com/artifact.html - comment: | - Lorem ipsum dolor sit amet, consectetur adipisci elit, - sed do eiusmod tempor incidunt ut labore et dolore magna aliqua. - Ut enim ad minim veniam, quis nostrum exercitationem ullamco laboriosam, - nisi ut aliquid ex ea commodi consequatur. Duis aute irure reprehenderit - in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur - sint obcaecat cupiditat non proident, sunt in culpa qui officia deserunt - mollit anim id est laborum + - artifact-name: example-artifact + artifact-created: true + evidence-url: + - https://foo.com/artifact.html + comment: | + Lorem ipsum dolor sit amet, consectetur adipisci elit, + sed do eiusmod tempor incidunt ut labore et dolore magna aliqua. + Ut enim ad minim veniam, quis nostrum exercitationem ullamco laboriosam, + nisi ut aliquid ex ea commodi consequatur. Duis aute irure reprehenderit + in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur + sint obcaecat cupiditat non proident, sunt in culpa qui officia deserunt + mollit anim id est laborum security-testing: - tool-type: sca tool-name: Dependabot diff --git a/security-insights-schema-1.0.0.yaml b/security-insights-schema-1.0.0.yaml index 193d394..ad83037 100644 --- a/security-insights-schema-1.0.0.yaml +++ b/security-insights-schema-1.0.0.yaml @@ -322,7 +322,7 @@ properties: then: required: - evidence-url - type: object + type: array type: object security-testing: $id: '#/properties/security-testing'