|
318 | 318 | }, |
319 | 319 | "VersionRequestedResponseHeader": { |
320 | 320 | "description": "A header containing the version of the endpoint requested by the caller.", |
321 | | - "example": "2025-11-05", |
| 321 | + "example": "2026-03-25", |
322 | 322 | "schema": { |
323 | 323 | "$ref": "#/components/schemas/QueryVersion" |
324 | 324 | } |
|
334 | 334 | }, |
335 | 335 | "VersionServedResponseHeader": { |
336 | 336 | "description": "A header containing the version of the endpoint that was served by the API.", |
337 | | - "example": "2025-11-05", |
| 337 | + "example": "2026-03-25", |
338 | 338 | "schema": { |
339 | 339 | "$ref": "#/components/schemas/ActualVersion" |
340 | 340 | } |
|
1917 | 1917 | }, |
1918 | 1918 | "Version": { |
1919 | 1919 | "description": "The requested version of the endpoint to process the request", |
1920 | | - "example": "2025-11-05", |
| 1920 | + "example": "2026-03-25", |
1921 | 1921 | "in": "query", |
1922 | 1922 | "name": "version", |
1923 | 1923 | "required": true, |
|
3206 | 3206 | }, |
3207 | 3207 | "ActualVersion": { |
3208 | 3208 | "description": "Resolved API version", |
3209 | | - "example": "2025-11-05", |
| 3209 | + "example": "2026-03-25", |
3210 | 3210 | "pattern": "^((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?)$", |
3211 | 3211 | "type": "string" |
3212 | 3212 | }, |
@@ -19047,6 +19047,101 @@ |
19047 | 19047 | "type": "object" |
19048 | 19048 | }, |
19049 | 19049 | "PolicyActionIgnoreData": { |
| 19050 | + "discriminator": { |
| 19051 | + "mapping": { |
| 19052 | + "not-vulnerable": "#/components/schemas/PolicyActionIgnoreDataNotVulnerable", |
| 19053 | + "temporary-ignore": "#/components/schemas/PolicyActionIgnoreDataTemporaryIgnore", |
| 19054 | + "wont-fix": "#/components/schemas/PolicyActionIgnoreDataWontFix" |
| 19055 | + }, |
| 19056 | + "propertyName": "ignore_type" |
| 19057 | + }, |
| 19058 | + "oneOf": [ |
| 19059 | + { |
| 19060 | + "$ref": "#/components/schemas/PolicyActionIgnoreDataWontFix" |
| 19061 | + }, |
| 19062 | + { |
| 19063 | + "$ref": "#/components/schemas/PolicyActionIgnoreDataTemporaryIgnore" |
| 19064 | + }, |
| 19065 | + { |
| 19066 | + "$ref": "#/components/schemas/PolicyActionIgnoreDataNotVulnerable" |
| 19067 | + } |
| 19068 | + ], |
| 19069 | + "type": "object" |
| 19070 | + }, |
| 19071 | + "PolicyActionIgnoreDataNotVulnerable": { |
| 19072 | + "additionalProperties": false, |
| 19073 | + "properties": { |
| 19074 | + "expires": { |
| 19075 | + "example": "2024-03-16T00:00:00Z", |
| 19076 | + "format": "date-time", |
| 19077 | + "type": "string" |
| 19078 | + }, |
| 19079 | + "ignore_type": { |
| 19080 | + "enum": [ |
| 19081 | + "not-vulnerable" |
| 19082 | + ], |
| 19083 | + "type": "string" |
| 19084 | + }, |
| 19085 | + "reason": { |
| 19086 | + "maxLength": 10000, |
| 19087 | + "type": "string" |
| 19088 | + } |
| 19089 | + }, |
| 19090 | + "required": [ |
| 19091 | + "ignore_type" |
| 19092 | + ], |
| 19093 | + "type": "object" |
| 19094 | + }, |
| 19095 | + "PolicyActionIgnoreDataTemporaryIgnore": { |
| 19096 | + "additionalProperties": false, |
| 19097 | + "properties": { |
| 19098 | + "expires": { |
| 19099 | + "example": "2024-03-16T00:00:00Z", |
| 19100 | + "format": "date-time", |
| 19101 | + "type": "string" |
| 19102 | + }, |
| 19103 | + "ignore_type": { |
| 19104 | + "enum": [ |
| 19105 | + "temporary-ignore" |
| 19106 | + ], |
| 19107 | + "type": "string" |
| 19108 | + }, |
| 19109 | + "reason": { |
| 19110 | + "maxLength": 10000, |
| 19111 | + "type": "string" |
| 19112 | + } |
| 19113 | + }, |
| 19114 | + "required": [ |
| 19115 | + "ignore_type", |
| 19116 | + "expires" |
| 19117 | + ], |
| 19118 | + "type": "object" |
| 19119 | + }, |
| 19120 | + "PolicyActionIgnoreDataWontFix": { |
| 19121 | + "additionalProperties": false, |
| 19122 | + "properties": { |
| 19123 | + "expires": { |
| 19124 | + "example": "2024-03-16T00:00:00Z", |
| 19125 | + "format": "date-time", |
| 19126 | + "type": "string" |
| 19127 | + }, |
| 19128 | + "ignore_type": { |
| 19129 | + "enum": [ |
| 19130 | + "wont-fix" |
| 19131 | + ], |
| 19132 | + "type": "string" |
| 19133 | + }, |
| 19134 | + "reason": { |
| 19135 | + "maxLength": 10000, |
| 19136 | + "type": "string" |
| 19137 | + } |
| 19138 | + }, |
| 19139 | + "required": [ |
| 19140 | + "ignore_type" |
| 19141 | + ], |
| 19142 | + "type": "object" |
| 19143 | + }, |
| 19144 | + "PolicyActionIgnoreData__0": { |
19050 | 19145 | "additionalProperties": false, |
19051 | 19146 | "properties": { |
19052 | 19147 | "expires": { |
|
19072 | 19167 | ], |
19073 | 19168 | "type": "object" |
19074 | 19169 | }, |
| 19170 | + "PolicyActionIgnore__0": { |
| 19171 | + "additionalProperties": false, |
| 19172 | + "properties": { |
| 19173 | + "data": { |
| 19174 | + "$ref": "#/components/schemas/PolicyActionIgnoreData__0" |
| 19175 | + } |
| 19176 | + }, |
| 19177 | + "required": [ |
| 19178 | + "data" |
| 19179 | + ], |
| 19180 | + "type": "object" |
| 19181 | + }, |
19075 | 19182 | "PolicyAttributes": { |
19076 | 19183 | "additionalProperties": false, |
19077 | 19184 | "properties": { |
|
19222 | 19329 | "additionalProperties": false, |
19223 | 19330 | "properties": { |
19224 | 19331 | "new_action": { |
19225 | | - "$ref": "#/components/schemas/PolicyActionIgnore" |
| 19332 | + "$ref": "#/components/schemas/PolicyActionIgnore__0" |
19226 | 19333 | }, |
19227 | 19334 | "new_conditions_group": { |
19228 | 19335 | "$ref": "#/components/schemas/PolicyConditionsGroup" |
|
19234 | 19341 | "$ref": "#/components/schemas/PolicyReview" |
19235 | 19342 | }, |
19236 | 19343 | "old_action": { |
19237 | | - "$ref": "#/components/schemas/PolicyActionIgnore" |
| 19344 | + "$ref": "#/components/schemas/PolicyActionIgnore__0" |
19238 | 19345 | }, |
19239 | 19346 | "old_conditions_group": { |
19240 | 19347 | "$ref": "#/components/schemas/PolicyConditionsGroup" |
|
20894 | 21001 | }, |
20895 | 21002 | "QueryVersion": { |
20896 | 21003 | "description": "Requested API version", |
20897 | | - "example": "2025-11-05", |
| 21004 | + "example": "2026-03-25", |
20898 | 21005 | "pattern": "^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$", |
20899 | 21006 | "type": "string" |
20900 | 21007 | }, |
@@ -49957,11 +50064,12 @@ |
49957 | 50064 | ], |
49958 | 50065 | "x-snyk-api-lifecycle": "released", |
49959 | 50066 | "x-snyk-api-releases": [ |
49960 | | - "2024-10-15" |
| 50067 | + "2024-10-15", |
| 50068 | + "2026-03-25" |
49961 | 50069 | ], |
49962 | 50070 | "x-snyk-api-resource": "policies", |
49963 | 50071 | "x-snyk-api-stability": "ga", |
49964 | | - "x-snyk-api-version": "2024-10-15", |
| 50072 | + "x-snyk-api-version": "2026-03-25", |
49965 | 50073 | "x-stability-level": "stable" |
49966 | 50074 | }, |
49967 | 50075 | "post": { |
@@ -50065,11 +50173,12 @@ |
50065 | 50173 | ], |
50066 | 50174 | "x-snyk-api-lifecycle": "released", |
50067 | 50175 | "x-snyk-api-releases": [ |
50068 | | - "2024-10-15" |
| 50176 | + "2024-10-15", |
| 50177 | + "2026-03-25" |
50069 | 50178 | ], |
50070 | 50179 | "x-snyk-api-resource": "policies", |
50071 | 50180 | "x-snyk-api-stability": "ga", |
50072 | | - "x-snyk-api-version": "2024-10-15", |
| 50181 | + "x-snyk-api-version": "2026-03-25", |
50073 | 50182 | "x-stability-level": "stable" |
50074 | 50183 | } |
50075 | 50184 | }, |
@@ -50121,11 +50230,12 @@ |
50121 | 50230 | ], |
50122 | 50231 | "x-snyk-api-lifecycle": "released", |
50123 | 50232 | "x-snyk-api-releases": [ |
50124 | | - "2024-10-15" |
| 50233 | + "2024-10-15", |
| 50234 | + "2026-03-25" |
50125 | 50235 | ], |
50126 | 50236 | "x-snyk-api-resource": "policies", |
50127 | 50237 | "x-snyk-api-stability": "ga", |
50128 | | - "x-snyk-api-version": "2024-10-15", |
| 50238 | + "x-snyk-api-version": "2026-03-25", |
50129 | 50239 | "x-stability-level": "stable" |
50130 | 50240 | }, |
50131 | 50241 | "get": { |
@@ -50215,11 +50325,12 @@ |
50215 | 50325 | ], |
50216 | 50326 | "x-snyk-api-lifecycle": "released", |
50217 | 50327 | "x-snyk-api-releases": [ |
50218 | | - "2024-10-15" |
| 50328 | + "2024-10-15", |
| 50329 | + "2026-03-25" |
50219 | 50330 | ], |
50220 | 50331 | "x-snyk-api-resource": "policies", |
50221 | 50332 | "x-snyk-api-stability": "ga", |
50222 | | - "x-snyk-api-version": "2024-10-15", |
| 50333 | + "x-snyk-api-version": "2026-03-25", |
50223 | 50334 | "x-stability-level": "stable" |
50224 | 50335 | }, |
50225 | 50336 | "patch": { |
@@ -50326,11 +50437,12 @@ |
50326 | 50437 | ], |
50327 | 50438 | "x-snyk-api-lifecycle": "released", |
50328 | 50439 | "x-snyk-api-releases": [ |
50329 | | - "2024-10-15" |
| 50440 | + "2024-10-15", |
| 50441 | + "2026-03-25" |
50330 | 50442 | ], |
50331 | 50443 | "x-snyk-api-resource": "policies", |
50332 | 50444 | "x-snyk-api-stability": "ga", |
50333 | | - "x-snyk-api-version": "2024-10-15", |
| 50445 | + "x-snyk-api-version": "2026-03-25", |
50334 | 50446 | "x-stability-level": "stable" |
50335 | 50447 | } |
50336 | 50448 | }, |
|
0 commit comments