|
2201 | 2201 | ],
|
2202 | 2202 | "responses": {
|
2203 | 2203 | "200": {
|
2204 |
| - "description": "Successfully retrieved the list of instances affected by the CVE", |
| 2204 | + "description": "Successfully retrieved the list of instances affected by the CVE.", |
2205 | 2205 | "content": {
|
2206 | 2206 | "application/json": {
|
2207 | 2207 | "schema": {
|
|
6431 | 6431 | "required": [
|
6432 | 6432 | "object_id",
|
6433 | 6433 | "name",
|
| 6434 | + "created_at", |
6434 | 6435 | "instances_count",
|
6435 | 6436 | "config_status"
|
6436 | 6437 | ],
|
|
6442 | 6443 | "description": "Name of the Nginx config sync group.",
|
6443 | 6444 | "type": "string"
|
6444 | 6445 | },
|
| 6446 | + "created_at": { |
| 6447 | + "description": "The date and time when the config sync group was created.", |
| 6448 | + "type": "string", |
| 6449 | + "format": "date-time" |
| 6450 | + }, |
6445 | 6451 | "instances_count": {
|
6446 | 6452 | "description": "Number of instances in the Nginx config sync group.",
|
6447 | 6453 | "type": "integer"
|
|
6485 | 6491 | {
|
6486 | 6492 | "object_id": "csg_-uvR3F2TQGm18jnl7bpaGw",
|
6487 | 6493 | "name": "test-config-sync-group",
|
| 6494 | + "created_at": "2023-12-05T22:30:20.220114Z", |
6488 | 6495 | "config_status": "in_sync",
|
6489 | 6496 | "instances_count": 1
|
6490 | 6497 | }
|
|
6603 | 6610 | "example": {
|
6604 | 6611 | "object_id": "csg_-uvR3F2TQGm18jnl7bpaGw",
|
6605 | 6612 | "name": "test-config-sync-group",
|
6606 |
| - "last_publication": "2023-12-06T22:37:24.120114Z" |
| 6613 | + "last_publication": "2023-12-06T22:37:24.120114Z", |
| 6614 | + "created_at": "2023-12-05T22:30:20.220114Z" |
6607 | 6615 | }
|
6608 | 6616 | },
|
6609 | 6617 | "InstanceObjectID": {
|
|
7184 | 7192 | "example": {
|
7185 | 7193 | "object_id": "csg_-uvR3F2TQGm18jnl7bpaGw",
|
7186 | 7194 | "name": "test-config-sync-group",
|
| 7195 | + "created_at": "2023-12-06T22:37:24.120114Z", |
7187 | 7196 | "config_status": "in_sync",
|
7188 | 7197 | "config_version": "uvR3F2TQGm18jnl7bpaGw",
|
7189 | 7198 | "instances": [
|
|
7874 | 7883 | "online_instances_count": {
|
7875 | 7884 | "description": "Total number of online instances in the control plane.",
|
7876 | 7885 | "type": "integer"
|
| 7886 | + }, |
| 7887 | + "cve_severity": { |
| 7888 | + "type": "array", |
| 7889 | + "description": "An array summarizing identified Common Vulnerabilities and Exposures (CVEs) across the NGINX control plane.", |
| 7890 | + "items": { |
| 7891 | + "$ref": "#/components/schemas/CveDetails" |
| 7892 | + } |
7877 | 7893 | }
|
7878 | 7894 | }
|
7879 | 7895 | }
|
|
7911 | 7927 | "object_id": "ecp_tgfVM3KQTxCyiDXgV38G7A",
|
7912 | 7928 | "name": "nginx-ingress-001",
|
7913 | 7929 | "product_version": "nginx-ingress-controller-4.0.1",
|
| 7930 | + "created_at": "2023-12-06T22:37:24.120114Z", |
7914 | 7931 | "instances_count": 5,
|
7915 |
| - "online_instances_count": 3 |
| 7932 | + "online_instances_count": 3, |
| 7933 | + "cve_severity": [ |
| 7934 | + { |
| 7935 | + "count": 6, |
| 7936 | + "type": "medium" |
| 7937 | + }, |
| 7938 | + { |
| 7939 | + "count": 1, |
| 7940 | + "type": "high" |
| 7941 | + } |
| 7942 | + ] |
7916 | 7943 | },
|
7917 | 7944 | {
|
7918 | 7945 | "object_id": "ecp_-bRQlhscTKmbUIdJaYhGJA",
|
7919 | 7946 | "name": "nginx-ingress-002",
|
| 7947 | + "created_at": "2023-12-06T22:37:24.120114Z", |
7920 | 7948 | "product_version": "nginx-ingress-controller-4.0.1",
|
7921 | 7949 | "instances_count": 3,
|
7922 |
| - "online_instances_count": 1 |
| 7950 | + "online_instances_count": 1, |
| 7951 | + "cve_severity": [ |
| 7952 | + { |
| 7953 | + "count": 2, |
| 7954 | + "type": "medium" |
| 7955 | + }, |
| 7956 | + { |
| 7957 | + "count": 3, |
| 7958 | + "type": "high" |
| 7959 | + } |
| 7960 | + ] |
7923 | 7961 | }
|
7924 | 7962 | ]
|
7925 | 7963 | }
|
|
8002 | 8040 | "deployment_uuid": "b9b00e37-5ee4-4361-8c61-1329f3828dd3",
|
8003 | 8041 | "key_object_id": "key_6AT9LXyUQHyhC8kF7bVMgg",
|
8004 | 8042 | "kubernetes_namespace": "nginx-ingress-controller",
|
| 8043 | + "created_at": "2023-12-06T22:37:24.120114Z", |
8005 | 8044 | "cert_summary": {
|
8006 | 8045 | "total": 9,
|
8007 | 8046 | "valid": 1,
|
|
8045 | 8084 | "$ref": "#/components/schemas/SummaryDisplayCount"
|
8046 | 8085 | }
|
8047 | 8086 | },
|
| 8087 | + "CveControlPlaneSummary": { |
| 8088 | + "description": "A summary of Common Vulnerabilities and Exposures (CVEs) across the NGINX control plane.", |
| 8089 | + "type": "object", |
| 8090 | + "required": [ |
| 8091 | + "severity", |
| 8092 | + "count", |
| 8093 | + "affected_control_planes" |
| 8094 | + ], |
| 8095 | + "properties": { |
| 8096 | + "severity": { |
| 8097 | + "$ref": "#/components/schemas/CveSeverityType" |
| 8098 | + }, |
| 8099 | + "count": { |
| 8100 | + "description": "The number of CVEs at each severity level.", |
| 8101 | + "type": "integer" |
| 8102 | + }, |
| 8103 | + "affected_control_planes": { |
| 8104 | + "description": "The number of control planes affected by each CVE.", |
| 8105 | + "type": "integer" |
| 8106 | + } |
| 8107 | + } |
| 8108 | + }, |
8048 | 8109 | "ControlPlaneSummary": {
|
8049 | 8110 | "description": "A summary of control planes including their product names/version details.",
|
8050 | 8111 | "type": "object",
|
8051 | 8112 | "properties": {
|
8052 | 8113 | "product_versions": {
|
8053 | 8114 | "$ref": "#/components/schemas/ControlPlaneProductVersionSummary"
|
| 8115 | + }, |
| 8116 | + "cves": { |
| 8117 | + "description": "An array summarizing identified Common Vulnerabilities and Exposures (CVEs) across the NGINX control plane.", |
| 8118 | + "type": "array", |
| 8119 | + "items": { |
| 8120 | + "$ref": "#/components/schemas/CveControlPlaneSummary" |
| 8121 | + } |
8054 | 8122 | }
|
8055 | 8123 | },
|
8056 | 8124 | "example": {
|
|
8059 | 8127 | "count": 10,
|
8060 | 8128 | "name": "nginx-ingress-controller-1.0.0"
|
8061 | 8129 | }
|
| 8130 | + ], |
| 8131 | + "cves": [ |
| 8132 | + { |
| 8133 | + "affected_control_planes": 3, |
| 8134 | + "count": 13, |
| 8135 | + "severity": "medium" |
| 8136 | + }, |
| 8137 | + { |
| 8138 | + "affected_control_planes": 2, |
| 8139 | + "count": 2, |
| 8140 | + "severity": "high" |
| 8141 | + } |
8062 | 8142 | ]
|
8063 | 8143 | }
|
8064 | 8144 | },
|
|
8087 | 8167 | "description": "Number of instances impacted by the security advisory",
|
8088 | 8168 | "type": "integer"
|
8089 | 8169 | },
|
| 8170 | + "control_planes_impacted": { |
| 8171 | + "description": "Number of control planes impacted by the security advisory", |
| 8172 | + "type": "integer" |
| 8173 | + }, |
8090 | 8174 | "published_at": {
|
8091 | 8175 | "description": "The date and time when the cve was published",
|
8092 | 8176 | "type": "string",
|
|
8119 | 8203 | },
|
8120 | 8204 | "NginxProduct": {
|
8121 | 8205 | "type": "string",
|
8122 |
| - "description": "NGINX product :\n * `noss` - NGINX Open Source.\n * `nplus` - NGINX PLUS.\n", |
| 8206 | + "description": "NGINX product :\n * `noss` - NGINX Open Source.\n * `nplus` - NGINX PLUS.\n * `nic` - NGINX Ingress Controller.\n", |
8123 | 8207 | "enum": [
|
8124 | 8208 | "noss",
|
8125 | 8209 | "nplus",
|
| 8210 | + "nic", |
8126 | 8211 | "unknown"
|
8127 | 8212 | ],
|
8128 | 8213 | "x-enum-varnames": [
|
8129 | 8214 | "nginx_product_noss",
|
8130 | 8215 | "nginx_product_nplus",
|
| 8216 | + "nginx_product_nic", |
8131 | 8217 | "nginx_product_unknown"
|
8132 | 8218 | ]
|
8133 | 8219 | },
|
|
8193 | 8279 | "1.20.2",
|
8194 | 8280 | "1.19.9"
|
8195 | 8281 | ]
|
| 8282 | + }, |
| 8283 | + { |
| 8284 | + "name": "nic", |
| 8285 | + "versions": [ |
| 8286 | + "1.0.0", |
| 8287 | + "2.1.0" |
| 8288 | + ] |
8196 | 8289 | }
|
8197 | 8290 | ],
|
8198 | 8291 | "info": "Memory disclosure in the ngx_http_mp4_module",
|
|
8694 | 8787 | "control_plane": {
|
8695 | 8788 | "object_id": "ecp_CO1DdBxZToWmr3pTcaQ8QA",
|
8696 | 8789 | "name": "nginx-ingress-001",
|
8697 |
| - "product_version": "nginx-ingress-controller-4.0.1" |
| 8790 | + "product_version": "nginx-ingress-controller-4.0.1", |
| 8791 | + "created_at": "2023-12-06T22:37:24.120114Z" |
8698 | 8792 | },
|
8699 | 8793 | "last_reported": "2023-12-06T22:37:24.120114Z",
|
8700 | 8794 | "nginx_build": {
|
|
10670 | 10764 | "value": {
|
10671 | 10765 | "object_id": "csg_-uvR3F2TQGm18jnl7bpaGw",
|
10672 | 10766 | "name": "test-config-sync-group",
|
10673 |
| - "last_reported": "2023-12-06T22:37:24.120114Z", |
10674 | 10767 | "config_status": "in_sync",
|
10675 | 10768 | "config_version": "uvR3F2TQGm18jnl7bpaGw",
|
| 10769 | + "created_at": "2023-12-06T22:37:24.120114Z", |
10676 | 10770 | "instances": [
|
10677 | 10771 | {
|
10678 | 10772 | "object_id": "inst_-uvR3F2TQGm18jnl7bpaGw",
|
|
0 commit comments