|
218 | 218 | "architecture_patterns": { |
219 | 219 | "type": "array", |
220 | 220 | "items": { |
221 | | - "type": "object" |
| 221 | + "$ref": "#/definitions/architecture_pattern" |
222 | 222 | } |
| 223 | + }, |
| 224 | + "architecture_pattern": { |
| 225 | + "type": "object", |
| 226 | + "properties": { |
| 227 | + "description": { |
| 228 | + "type": "string" |
| 229 | + } |
| 230 | + }, |
| 231 | + "required": ["description"], |
| 232 | + "additionalProperties": true |
| 233 | + }, |
| 234 | + "dependency_checker_source": { |
| 235 | + "type": "string", |
| 236 | + "enum": ["all", "sbom"] |
223 | 237 | } |
224 | 238 | }, |
225 | 239 |
|
|
257 | 271 | "description": "SIG Maintainability Model that should be used for the analysis, defaults to latest." |
258 | 272 | }, |
259 | 273 |
|
260 | | - "alerts": { |
261 | | - "type": "object", |
262 | | - "properties": { |
263 | | - "enabled": { |
264 | | - "type": "boolean", |
265 | | - "description": "When true, will send alert email notifications when noteworthy events happen." |
266 | | - }, |
267 | | - "recipients": { |
268 | | - "type": "array", |
269 | | - "items": { |
270 | | - "type": "string", |
271 | | - "format": "email" |
272 | | - }, |
273 | | - "description": "List of email addresses that should receive alerts." |
274 | | - } |
275 | | - }, |
276 | | - "additionalProperties": false |
277 | | - }, |
278 | | - |
279 | 274 | "dependencychecker": { |
280 | 275 | "type": "object", |
281 | 276 | "properties": { |
|
369 | 364 | "type": "string" |
370 | 365 | }, |
371 | 366 | "description": "List of technologies for which the analysis should be disabled." |
372 | | - } |
373 | | - }, |
374 | | - "additionalProperties": false, |
375 | | - "required": [] |
376 | | - }, |
377 | | - |
378 | | - "checkmarx": { |
379 | | - "type": "object", |
380 | | - "properties": { |
381 | | - "enabled": { |
382 | | - "type": "boolean", |
383 | | - "description": "Indicates that this system should be scanned for vulnerabilities using Checkmarx." |
384 | | - }, |
385 | | - "id": { |
386 | | - "anyOf": [ |
387 | | - { |
388 | | - "type": "integer" |
389 | | - }, |
390 | | - { |
391 | | - "type": "string" |
392 | | - } |
393 | | - ], |
394 | | - "description": "Unique ID to identify the Checkmarx project." |
395 | 367 | }, |
396 | | - "username": { |
397 | | - "type": "string", |
398 | | - "description": "Your Checkmarx username." |
| 368 | + "source": { |
| 369 | + "$ref": "#/definitions/dependency_checker_source" |
399 | 370 | } |
400 | 371 | }, |
401 | 372 | "additionalProperties": false, |
402 | | - "required": ["enabled", "id"] |
| 373 | + "required": [] |
403 | 374 | }, |
404 | 375 |
|
405 | 376 | "architecture": { |
|
419 | 390 | }, |
420 | 391 | "custom_components": { |
421 | 392 | "type": "boolean", |
422 | | - "description": "Overrides automatic component detection with components defined manually in scope file." |
| 393 | + "description": "Deprecated. This option is obsolete." |
423 | 394 | }, |
424 | 395 | "file_annotation_components": { |
425 | 396 | "type": "boolean", |
|
466 | 437 | }, |
467 | 438 | "history_enabled": { |
468 | 439 | "type": "boolean", |
469 | | - "description": "Deprecated, this is now detected automatically." |
| 440 | + "description": "Deprecated. This option is obsolete." |
470 | 441 | }, |
471 | 442 | "history": { |
472 | 443 | "anyOf": [ |
|
477 | 448 | "type": "string" |
478 | 449 | } |
479 | 450 | ], |
480 | | - "description": "Deprecated, this is now detected automatically." |
| 451 | + "description": "Deprecated. This option is obsolete." |
481 | 452 | }, |
482 | 453 | "history_period_months": { |
483 | 454 | "type": "integer", |
|
501 | 472 | }, |
502 | 473 | "branch": { |
503 | 474 | "$ref": "#/definitions/branches", |
504 | | - "description": "Repository branch to use, comma-separated for multiple branches. Defaults to current branch." |
| 475 | + "description": "Deprecated. This option is obsolete." |
505 | 476 | }, |
506 | 477 | "duplication": { |
507 | 478 | "type": "boolean", |
|
567 | 538 | }, |
568 | 539 | "additionalProperties": false, |
569 | 540 | "required": [] |
570 | | - } |
| 541 | + }, |
| 542 | + "checkmarx": false |
571 | 543 | }, |
572 | 544 | "required": ["languages"], |
573 | 545 | "title": "Sigrid scope configuration file", |
|
0 commit comments