diff --git a/manager.spec.yaml b/manager.spec.yaml index 096bc831e..1cd8733ef 100644 --- a/manager.spec.yaml +++ b/manager.spec.yaml @@ -2070,233 +2070,6 @@ components: - links - meta - MitigatedSystemsOut: - type: object - properties: - data: - oneOf: - - type: string - description: CSV export of the JSON. - - type: array - items: - type: object - properties: - id: - type: string - description: Host id. - example: INV-ID-0000-1234 - type: - type: string - description: Type of the record. - example: system - attributes: - type: object - properties: - cve_status_id: - type: integer - description: Internal ID of the CVE status. - example: 4 - culled_timestamp: - type: string - description: Timestamp from which the host is considered deleted. - example: '2018-09-22T16:00:00+00:00' - nullable: true - display_name: - type: string - description: System's name. - example: system.example.com - nullable: true - inventory_id: - type: string - description: Host ID. - example: INV-ID00-0000-1234 - insights_id: - type: string - description: Insights host ID. - example: 0035f6bc-cdb0-4763-8fcd-1dc58f716359 - nullable: true - last_evaluation: - type: string - description: Date of last evaluation. - example: '2018-09-22T16:00:00+00:00' - nullable: true - mitigation_reason: - type: string - description: Reason why the system is not vulnerable - example: SELinux mitigates the issue - os: - type: string - description: Operating system. - example: RHEL 8.4 - reporter: - type: number - description: Reporter of the vulnerability, 1 for VMaaS, 2 for security rule, 3 for both VMaaS and rule. - enum: - - 0 - - 1 - - 2 - - 3 - rhsm_lock: - type: string - description: System is locked to following RHSM version. - example: '8.4' - nullable: true - rule_id: - type: string - example: CVE_2017_14491_dnsmasq|CVE_2017_14491_ERROR - description: ID(s) of associated security rule(s).. - rules_evaluation: - type: string - description: Date of last security rules evaluation. - example: '2018-09-22T16:00:00+00:00' - nullable: true - stale_timestamp: - type: string - description: Date when stale system becomes stale. - example: '2018-09-22T16:00:00+00:00' - nullable: true - stale_warning_timestamp: - type: string - description: Date when stale system becomes hidden in the application. - example: '2018-09-22T16:00:00+00:00' - nullable: true - status_id: - type: integer - description: Internal ID of the vulnerability status. - example: 4 - status_name: - type: string - description: Status of the vulnerability for the application's point of view. - example: Resolved - status_text: - type: string - description: Complementary text to the status. - example: Not relevant - nullable: true - tags: - type: array - items: - type: object - properties: - namespace: - type: string - description: Namespace of single tag. - example: 'vulnerability' - nullable: true - key: - type: string - description: Key of the single tag. - example: 'CVE' - value: - type: string - description: Value of the single tag. - example: 'CVE-2017-1' - nullable: true - required: - - namespace - - key - - value - advisories_list: - type: array - description: List of advisories for system - items: - type: string - description: Advisory id - example: 'RHSA-2019:1481' - updated: - type: string - description: Date of the lastest upload of archive taken from Inventory syndicated data. - example: '2018-09-22T16:00:00+00:00' - nullable: true - advisory_available: - type: boolean - description: Shows whether a CVE has available advisory or not - example: true - remediation: - type: number - description: Type of available remediation, 0 for none, 1 for manual, 2 for playbook. - enum: - - 0 - - 1 - - 2 - required: - - cve_status_id - - culled_timestamp - - display_name - - inventory_id - - insights_id - - last_evaluation - - mitigation_reason - - os - - reporter - - rhsm_lock - - rules_evaluation - - stale_timestamp - - stale_warning_timestamp - - status_id - - status_name - - status_text - - tags - - updated - - advisory_available - - remediation - required: - - id - - type - - attributes - links: - $ref: '#/components/schemas/Links' - meta: - $ref: '#/components/schemas/MetaAffectedSystems' - required: - - data - - links - - meta - - MitigatedSystemsIdsOut: - type: object - properties: - data: - oneOf: - - type: string - description: CSV export of the JSON. - - type: array - items: - type: object - description: Smallest dataset for frontend to work. - properties: - inventory_id: - type: string - description: Host ID. - example: INV-ID00-0000-1234 - rule_id: - type: string - example: CVE_2017_14491_dnsmasq|CVE_2017_14491_ERROR - description: ID of associated security rule. - nullable: true - status_id: - type: integer - description: Internal ID of the vulnerability status. - example: 4 - status_text: - type: string - description: Complementary text to the status. - example: Not relevant - nullable: true - required: - - inventory_id - - rule_id - - status_id - - status_text - links: - $ref: '#/components/schemas/Links' - meta: - $ref: '#/components/schemas/MetaAffectedSystems' - required: - - data - - links - - meta - BusinessRiskListOut: type: object properties: