From 0d3a199b16a478dae0c2f5b6889dfbe99f371ee1 Mon Sep 17 00:00:00 2001 From: AbiMano4688 Date: Mon, 4 Dec 2023 19:04:41 +0530 Subject: [PATCH 1/3] UVE APIs --- .../cspm/UVEDashboardMicroService.json | 903 ++++++++++++++++++ openapi-specs/cspm/UVESearchMicroService.json | 587 ++++++++++++ .../cspm/consolidated_spec/all_endpoints.csv | 9 + 3 files changed, 1499 insertions(+) create mode 100644 openapi-specs/cspm/UVEDashboardMicroService.json create mode 100644 openapi-specs/cspm/UVESearchMicroService.json diff --git a/openapi-specs/cspm/UVEDashboardMicroService.json b/openapi-specs/cspm/UVEDashboardMicroService.json new file mode 100644 index 000000000..8a4a61942 --- /dev/null +++ b/openapi-specs/cspm/UVEDashboardMicroService.json @@ -0,0 +1,903 @@ +{ + "openapi": "3.0.0", + "info": { + "title": "Vulnerability Dashboard API", + "description": "API for displaying Vulnerability Dashboard", + "version": "1.0.0" + }, + "tags": [ + { + "name": "Unified Vulnerability Explorer", + "description": "API for displaying Vulnerability Dashboard" + } + ], + "paths": { + "/uve/api/v1/dashboard/vulnerabilities/overview": { + "get": { + "summary": "Get Vulnerability Overview", + "description": "Returns a summary of the total vulnerabilities in your environment which is further divided into Vulnerabilities by Asset and Vulnerabilities that have already been remediated.", + "tags": [ + "Unified Vulnerability Explorer" + ], + "operationId": "vulnerability-dashboard-overview", + "parameters": [ + { + "name": "asset_type", + "in": "query", + "required": true, + "schema": { + "type": "string", + "default": "code,package,deployedImage,serverlessFunction,host,registryImage,vmImage" + } + }, + { + "name": "life_cycle", + "in": "query", + "required": true, + "schema": { + "type": "string", + "default": "code,build,deploy,run" + } + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OverviewWidget" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "429": { + "description": "Too Many Requests", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + } + }, + "x-public": "true", + "security": [ + { + "x-redlock-auth": [] + } + ] + } + }, + "/uve/api/v1/dashboard/vulnerabilities/prioritised": { + "get": { + "summary": "Get Prioritized Vulnerabilities", + "description": "Returns the top-priority vulnerabilities which are aggregated based on the most urgent, exploitable, patchable, and vulnerable packages in use", + "tags": [ + "Unified Vulnerability Explorer" + ], + "operationId": "prioritised-vulnerability", + "parameters": [ + { + "name": "asset_type", + "in": "query", + "required": true, + "schema": { + "type": "string", + "default": "code,package,deployedImage,serverlessFunction,host,registryImage,vmImage" + } + }, + { + "name": "life_cycle", + "in": "query", + "required": true, + "schema": { + "type": "string", + "default": "code,build,deploy,run" + } + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PrioritizedVulnerabilities" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "429": { + "description": "Too Many Requests", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + } + }, + "x-public": "true", + "security": [ + { + "x-redlock-auth": [] + } + ] + } + }, + "/uve/api/v1/dashboard/vulnerabilities/impact-stage": { + "get": { + "summary": "Get Vulnerability Impact by Stage", + "description": "Returns a summary of vulnerability across app stages of your application lifecycle.", + "tags": [ + "Unified Vulnerability Explorer" + ], + "operationId": "vulnerability-impact-by-stage", + "parameters": [ + { + "name": "asset_type", + "in": "query", + "required": true, + "schema": { + "type": "string", + "default": "code,package,deployedImage,serverlessFunction,host,registryImage,vmImage" + } + }, + { + "name": "life_cycle", + "in": "query", + "required": true, + "schema": { + "type": "string", + "default": "code,build,deploy,run" + } + }, + { + "name": "severities", + "in": "query", + "required": false, + "schema": { + "$ref": "#/components/schemas/SeverityParam" + }, + "description": "Severity" + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "string" + }, + "example": { + "value": { + "code": { + "package": 0 + }, + "build": {}, + "run": { + "serverlessFunction": 0, + "host": 0, + "deployedImage": 0 + }, + "deploy": { + "registryImage": 0 + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "429": { + "description": "Too Many Requests", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + } + }, + "x-public": "true", + "security": [ + { + "x-redlock-auth": [] + } + ] + } + }, + "/uve/api/v1/dashboard/vulnerabilities/prioritised-vuln": { + "get": { + "summary": "Get Top Impacting Vulnerabilities", + "description": "Returns the CVEs of top critical vulnerabilities in your environment based on the risk score. Each CVE includes risk factors, severity, CVSS, risk factors, and assets impacted.", + "tags": [ + "Unified Vulnerability Explorer" + ], + "operationId": "top-prioritised-vulnerability", + "parameters": [ + { + "name": "life_cycle", + "in": "query", + "required": true, + "schema": { + "type": "string", + "default": "code,build,deploy,run" + } + }, + { + "name": "top", + "in": "query", + "required": true, + "schema": { + "type": "integer", + "default": 5 + }, + "description": "Number of results to be returned" + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TopPrioritizedVulnerabilities" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "429": { + "description": "Too Many Requests", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + } + }, + "x-public": "true", + "security": [ + { + "x-redlock-auth": [] + } + ] + } + }, + "/uve/api/v1/dashboard/vulnerabilities/cve-overview": { + "get": { + "summary": "Get CVE Overview", + "description": "Get the overview of the CVE with its CVSS score, the impacted stages, severity, risk factors, the package name, and the distros affected by this CVE.", + "tags": [ + "Unified Vulnerability Explorer" + ], + "operationId": "cve-overview", + "parameters": [ + { + "name": "cve_id", + "in": "query", + "required": true, + "schema": { + "type": "string", + "example": "CVE-2021-44288" + }, + "description": "CVE ID" + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CveOverview" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "429": { + "description": "Too Many Requests", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + } + }, + "x-public": "true", + "security": [ + { + "x-redlock-auth": [] + } + ] + } + }, + "/uve/api/v1/dashboard/vulnerabilities/vuln-assets": { + "post": { + "summary": "Get Vulnerable Assets by CVE", + "description": "Get the list of all the assets affected by the CVE.", + "tags": [ + "Unified Vulnerability Explorer" + ], + "operationId": "list-vulnerable-assets", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AssetsSearchRequest" + } + } + } + }, + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CveOverview" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "429": { + "description": "Too Many Requests", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + } + }, + "x-public": "true", + "security": [ + { + "x-redlock-auth": [] + } + ] + } + } + }, + "components": { + "schemas": { + "RiskFactorsParam": { + "type": "object", + "properties": { + "riskFactors": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "SeverityParam": { + "type": "object", + "properties": { + "severity": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "OverviewWidget": { + "type": "object", + "properties": { + "values": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Overview" + } + } + } + }, + "Overview": { + "type": "object", + "properties": { + "lastUpdatedDateTime": { + "type": "integer", + "format": "int64" + }, + "totalVulnerabilityCount": { + "type": "integer" + }, + "totalVulnerableAsset": { + "type": "integer" + }, + "totalRemediationCount": { + "type": "integer" + } + } + }, + "PrioritizedVulnerabilities": { + "type": "object", + "properties": { + "lastUpdatedDateTime": { + "type": "integer", + "format": "int64" + }, + "totalVulnerabilities": { + "type": "integer" + }, + "urgent": { + "type": "integer" + }, + "patchable": { + "type": "integer" + }, + "exploitable": { + "type": "integer" + }, + "packageInUse": { + "type": "integer" + } + } + }, + "TopPrioritizedVulnerabilities": { + "type": "object", + "properties": { + "lastUpdatedDateTime": { + "type": "integer", + "format": "int64" + }, + "cve": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Cve" + } + } + } + }, + "Cve": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "cvssScore": { + "type": "number", + "format": "double" + }, + "severity": { + "type": "string" + }, + "trends": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Trend" + } + }, + "riskFactors": { + "type": "array", + "items": { + "type": "string" + } + }, + "assetsImpacted": { + "$ref": "#/components/schemas/AssetsImpacted" + } + } + }, + "AssetsImpacted": { + "type": "object", + "properties": { + "codeCount": { + "type": "integer" + }, + "buildCount": { + "type": "integer" + }, + "deployCount": { + "type": "integer" + }, + "runtimeCount": { + "type": "integer" + } + } + }, + "Trend": { + "type": "object", + "properties": { + "reportedDate": { + "type": "integer", + "format": "int64" + }, + "assetsWithCveCount": { + "type": "integer" + } + } + }, + "CveOverview": { + "type": "object", + "properties": { + "cveId": { + "type": "string" + }, + "description": { + "type": "string" + }, + "cvss": { + "type": "number", + "format": "double" + }, + "packageName": { + "type": "string" + }, + "fixVersion": { + "type": "string" + }, + "impactedVersion": { + "type": "string" + }, + "publishedDate": { + "type": "integer", + "format": "int64" + }, + "lifeCycle": { + "type": "array", + "items": { + "type": "string" + } + }, + "riskFactors": { + "type": "array", + "items": { + "type": "string" + } + }, + "severity": { + "type": "string" + }, + "cpuArch": { + "type": "string" + }, + "impactedDistrosList": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ImpactedDistros" + } + } + } + }, + "ImpactedDistros": { + "type": "object", + "properties": { + "distro": { + "type": "string" + }, + "impactCount": { + "type": "integer" + }, + "distroDetailsList": { + "type": "array", + "items": { + "$ref": "#/components/schemas/DistroDetails" + } + } + } + }, + "DistroDetails": { + "type": "object", + "properties": { + "cvss": { + "type": "number", + "format": "double" + }, + "packageName": { + "type": "string" + }, + "release": { + "type": "string" + }, + "severity": { + "type": "integer" + }, + "affectedVersion": { + "type": "string" + }, + "fixedTime": { + "type": "integer", + "format": "int64" + } + } + }, + "AssetsSearchRequest": { + "type": "object", + "properties": { + "query": { + "type": "string" + }, + "cve_id": { + "type": "string" + }, + "risk_factors": { + "type": "array", + "items": { + "type": "string" + } + }, + "sort_by": { + "type": "string" + }, + "asset_type": { + "type": "string" + }, + "page_offset": { + "type": "integer" + }, + "page_size": { + "type": "integer" + }, + "filter_suppressed": { + "type": "boolean" + } + } + }, + "ApiErrorResponse": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Error code" + }, + "message": { + "type": "string", + "description": "Error message" + }, + "target": { + "type": "string", + "description": "Error target" + } + } + } + }, + "securitySchemes": { + "x-redlock-auth": { + "description": "The x-redlock-auth value is a JSON Web Token (JWT).", + "in": "header", + "name": "x-redlock-auth", + "type": "apiKey" + } + } + }, + "servers": [ + { + "url": "https://api.prismacloud.io" + }, + { + "url": "https://api2.prismacloud.io" + }, + { + "url": "https://api3.prismacloud.io" + }, + { + "url": "https://api4.prismacloud.io" + }, + { + "url": "https://api.anz.prismacloud.io" + }, + { + "url": "https://api.eu.prismacloud.io" + }, + { + "url": "https://api2.eu.prismacloud.io" + }, + { + "url": "https://api.gov.prismacloud.io" + }, + { + "url": "https://api.prismacloud.cn" + }, + { + "url": "https://api.ca.prismacloud.io" + }, + { + "url": "https://api.sg.prismacloud.io" + }, + { + "url": "https://api.uk.prismacloud.io" + }, + { + "url": "https://api.ind.prismacloud.io" + }, + { + "url": "https://api.jp.prismacloud.io" + }, + { + "url": "https://api.fr.prismacloud.io" + } + ] +} diff --git a/openapi-specs/cspm/UVESearchMicroService.json b/openapi-specs/cspm/UVESearchMicroService.json new file mode 100644 index 000000000..57dc254fd --- /dev/null +++ b/openapi-specs/cspm/UVESearchMicroService.json @@ -0,0 +1,587 @@ +{ + "openapi": "3.0.0", + "info": { + "title": "Vulnerability Search and Investigate API", + "description": "Endpoint to search for vulnerabilities", + "version": "1.0.0" + }, + "tags": [ + { + "name": "Unified Vulnerability Explorer", + "description": "Endpoint to search for vulnerabilities" + } + ], + "paths": { + "/uve/api/v1/vulnerabilities/search": { + "post": { + "tags": [ + "Unified Vulnerability Explorer" + ], + "operationId": "vulnerabilities-search-api", + "summary": "Get Vulnerabilities by RQL", + "description": "Get the list of vulnerabilities and their details based on an RQL query. For vulnerability RQL query attributes, see [Vulnerability Query Attributes](https://docs.prismacloud.io/en/enterprise-edition/content-collections/search-and-investigate/vulnerability-queries/vulnerability-query-attributes). For example queries, see [Vulnerability Query Examples](https://docs.prismacloud.io/en/enterprise-edition/content-collections/search-and-investigate/vulnerability-queries/vulnerability-query-examples).", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VulnerabilitySearchRequest" + } + } + } + }, + "parameters": [ + { + "name": "page_token", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "description": "Token for pagination" + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VulnerabilitySearchResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + } + }, + "x-public": "true", + "security": [ + { + "x-redlock-auth": [] + } + ] + } + }, + "/uve/api/v1/vulnerabilities/search/asset": { + "post": { + "tags": [ + "Unified Vulnerability Explorer" + ], + "operationId": "list-vulnerable-assets", + "summary": "Get Vulnerable Assets by RQL", + "description": "Get the list of vulnerable Assets and their IDs based on an RQL query. For vulnerability RQL query attributes, see [Vulnerability Query Attributes](https://docs.prismacloud.io/en/enterprise-edition/content-collections/search-and-investigate/vulnerability-queries/vulnerability-query-attributes). For example queries, see [Vulnerability Query Examples](https://docs.prismacloud.io/en/enterprise-edition/content-collections/search-and-investigate/vulnerability-queries/vulnerability-query-examples).", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AssetsSearchRequest" + } + } + } + }, + "parameters": [ + { + "name": "page_token", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "description": "Token for pagination" + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AssetsSearchResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + } + }, + "x-public": "true", + "security": [ + { + "x-redlock-auth": [] + } + ] + } + }, + "/uve/api/v1/vulnerabilities/download": { + "post": { + "tags": [ + "Unified Vulnerability Explorer" + ], + "operationId": "download-vulnerability-file", + "summary": "Download CVE Details", + "description": "Download the CVE details and impacted assets by CVE ID in a GZIP CSV format.", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VulnerabilityDownloadRequest" + } + } + } + }, + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/octet-stream": { + "schema": { + "type": "string", + "format": "binary" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + } + } + }, + "x-public": "true", + "security": [ + { + "x-redlock-auth": [] + } + ] + } + } + }, + "components": { + "schemas": { + "VulnerabilitySearchRequest": { + "type": "object", + "properties": { + "query": { + "type": "string", + "description": "Search query" + }, + "id": { + "type": "string", + "description": "Vulnerability ID" + } + } + }, + "VulnerabilitySearchResponse": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Vulnerability ID" + }, + "name": { + "type": "string", + "description": "Vulnerability name" + }, + "description": { + "type": "string", + "description": "Vulnerability description" + }, + "searchType": { + "type": "string", + "description": "Search type" + }, + "saved": { + "type": "boolean", + "description": "Whether it's saved or not" + }, + "timeRange": { + "$ref": "#/components/schemas/ToNowTimeRange" + }, + "query": { + "type": "string", + "description": "Query details" + }, + "data": { + "$ref": "#/components/schemas/VulnerabilitySearchResultData" + } + } + }, + "VulnerabilitySearchResultData": { + "type": "object", + "properties": { + "totalRows": { + "type": "integer", + "description": "Total number of rows" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CveDetails" + } + }, + "nextPageToken": { + "type": "string", + "description": "Token for next page" + } + } + }, + "CveDetails": { + "type": "object", + "properties": { + "cveId": { + "type": "string", + "description": "CVE ID" + }, + "name": { + "type": "string", + "description": "Name" + }, + "cvssScore": { + "type": "number", + "description": "CVSS Score" + }, + "totalImpactedAssets": { + "type": "integer", + "description": "Total Impacted Assets" + }, + "riskFactors": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Risk Factors" + }, + "code": { + "$ref": "#/components/schemas/Code" + }, + "build": { + "$ref": "#/components/schemas/Build" + }, + "deploy": { + "$ref": "#/components/schemas/Deploy" + }, + "run": { + "$ref": "#/components/schemas/Run" + }, + "published": { + "type": "integer", + "description": "Published time" + }, + "exploitable": { + "type": "boolean", + "description": "Exploitable" + }, + "patchable": { + "type": "boolean", + "description": "Patchable" + }, + "severity": { + "type": "string", + "description": "Severity" + } + } + }, + "ToNowTimeRange": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Type of Time Range" + }, + "value": { + "type": "string", + "description": "Value of Time Range" + } + } + }, + "AssetsSearchRequest": { + "type": "object", + "properties": { + "query": { + "type": "string", + "description": "Search query" + }, + "cveId": { + "type": "string", + "description": "CVE ID" + }, + "assetLifecycle": { + "type": "string", + "description": "Asset Lifecycle" + }, + "assetType": { + "type": "string", + "description": "Asset Type" + } + } + }, + "AssetsSearchResponse": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AssetInfo" + }, + "description": "List of Asset Information" + }, + "nextPageToken": { + "type": "string", + "description": "Token for next page" + } + } + }, + "AssetInfo": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Asset ID" + }, + "name": { + "type": "string", + "description": "Asset name" + } + } + }, + "AutoSuggestRequest": { + "type": "object", + "properties": { + "query": { + "type": "string", + "description": "Suggestion query" + } + } + }, + "AutoSuggestInfo": { + "type": "object", + "properties": { + "valid": { + "type": "boolean", + "description": "Validity of suggestions" + }, + "suggestions": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of suggestions" + }, + "translate": { + "type": "boolean", + "description": "Translate flag" + }, + "needsOffsetUpdate": { + "type": "boolean", + "description": "Offset update flag" + }, + "offset": { + "type": "integer", + "description": "Offset value" + } + } + }, + "Code": { + "type": "object" + }, + "Build": { + "type": "object" + }, + "Deploy": { + "type": "object" + }, + "Run": { + "type": "object" + }, + "VulnerabilityRQLToJsonResponse": { + "type": "object", + "properties": { + "original": { + "type": "string", + "description": "Original string" + }, + "transformed": { + "type": "string", + "description": "Transformed string" + } + } + }, + "VulnerabilityDownloadRequest": { + "type": "object", + "properties": { + "cveId": { + "type": "string", + "description": "CVE ID" + }, + "riskFactors": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of risk factors" + }, + "assetType": { + "type": "string", + "description": "Asset Type" + } + } + }, + "ApiErrorResponse": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Error code" + }, + "message": { + "type": "string", + "description": "Error message" + }, + "target": { + "type": "string", + "description": "Error target" + } + } + } + }, + "securitySchemes": { + "x-redlock-auth": { + "description": "The x-redlock-auth value is a JSON Web Token (JWT).", + "in": "header", + "name": "x-redlock-auth", + "type": "apiKey" + } + } + }, + "servers": [ + { + "url": "https://api.prismacloud.io" + }, + { + "url": "https://api2.prismacloud.io" + }, + { + "url": "https://api3.prismacloud.io" + }, + { + "url": "https://api4.prismacloud.io" + }, + { + "url": "https://api.anz.prismacloud.io" + }, + { + "url": "https://api.eu.prismacloud.io" + }, + { + "url": "https://api2.eu.prismacloud.io" + }, + { + "url": "https://api.gov.prismacloud.io" + }, + { + "url": "https://api.prismacloud.cn" + }, + { + "url": "https://api.ca.prismacloud.io" + }, + { + "url": "https://api.sg.prismacloud.io" + }, + { + "url": "https://api.uk.prismacloud.io" + }, + { + "url": "https://api.ind.prismacloud.io" + }, + { + "url": "https://api.jp.prismacloud.io" + }, + { + "url": "https://api.fr.prismacloud.io" + } + ] +} diff --git a/openapi-specs/cspm/consolidated_spec/all_endpoints.csv b/openapi-specs/cspm/consolidated_spec/all_endpoints.csv index 4f4d8862b..0b2ae8f98 100644 --- a/openapi-specs/cspm/consolidated_spec/all_endpoints.csv +++ b/openapi-specs/cspm/consolidated_spec/all_endpoints.csv @@ -412,6 +412,15 @@ "get","/settings/enterprise","Enterprise Settings - GET","get-enterprise-settings","Settings","Monolith" "post","/settings/enterprise","Enterprise Settings - POST","update-enterprise-settings","Settings","Monolith" "get","/check","Health Check","health-check","System","Monolith" +"get","/uve/api/v1/dashboard/vulnerabilities/overview","Get Vulnerability Overview","vulnerability-dashboard-overview","Unified Vulnerability Explorer","UVEDashboardMicroService.json" +"get","/uve/api/v1/dashboard/vulnerabilities/prioritised","Get Prioritized Vulnerabilities","prioritised-vulnerability","Unified Vulnerability Explorer","UVEDashboardMicroService.json" +"get","/uve/api/v1/dashboard/vulnerabilities/impact-stage","Get Vulnerability Impact by Stage","vulnerability-impact-by-stage","Unified Vulnerability Explorer","UVEDashboardMicroService.json" +"get","/uve/api/v1/dashboard/vulnerabilities/prioritised-vuln","Get Top Impacting Vulnerabilities","top-prioritised-vulnerability","Unified Vulnerability Explorer","UVEDashboardMicroService.json" +"get","/uve/api/v1/dashboard/vulnerabilities/cve-overview","Get CVE Overview","cve-overview","Unified Vulnerability Explorer","UVEDashboardMicroService.json" +"post","/uve/api/v1/dashboard/vulnerabilities/vuln-assets","Get Vulnerable Assets by CVE","list-vulnerable-assets","Unified Vulnerability Explorer","UVEDashboardMicroService.json" +"post","/uve/api/v1/vulnerabilities/search","Get Vulnerabilities by RQL","vulnerabilities-search-api","Unified Vulnerability Explorer","UVESearchMicroService.json" +"post","/uve/api/v1/vulnerabilities/search/asset","Get Vulnerable Assets by RQL","list-vulnerable-assets","Unified Vulnerability Explorer","UVESearchMicroService.json" +"post","/uve/api/v1/vulnerabilities/download","Download CVE Details","download-vulnerability-file","Unified Vulnerability Explorer","UVESearchMicroService.json" "get","/user/me","Profile","get-my-profile","User Profile","Monolith" "put","/user/me","Update Profile","update-my-profile","User Profile","Monolith" "get","/v3/user","List Users V3","get-user-profiles-v3","User Profile","Monolith" From 36cba08f9742d13c8bfe7348cb3e212e1e1b0861 Mon Sep 17 00:00:00 2001 From: AbiMano4688 Date: Mon, 4 Dec 2023 20:23:49 +0530 Subject: [PATCH 2/3] modified operation ID --- openapi-specs/cspm/UVEDashboardMicroService.json | 2 +- openapi-specs/cspm/consolidated_spec/all_endpoints.csv | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openapi-specs/cspm/UVEDashboardMicroService.json b/openapi-specs/cspm/UVEDashboardMicroService.json index 8a4a61942..c5a184a0c 100644 --- a/openapi-specs/cspm/UVEDashboardMicroService.json +++ b/openapi-specs/cspm/UVEDashboardMicroService.json @@ -477,7 +477,7 @@ "tags": [ "Unified Vulnerability Explorer" ], - "operationId": "list-vulnerable-assets", + "operationId": "list-vulnerable-assets-cve", "requestBody": { "required": true, "content": { diff --git a/openapi-specs/cspm/consolidated_spec/all_endpoints.csv b/openapi-specs/cspm/consolidated_spec/all_endpoints.csv index 0b2ae8f98..64df615b9 100644 --- a/openapi-specs/cspm/consolidated_spec/all_endpoints.csv +++ b/openapi-specs/cspm/consolidated_spec/all_endpoints.csv @@ -417,7 +417,7 @@ "get","/uve/api/v1/dashboard/vulnerabilities/impact-stage","Get Vulnerability Impact by Stage","vulnerability-impact-by-stage","Unified Vulnerability Explorer","UVEDashboardMicroService.json" "get","/uve/api/v1/dashboard/vulnerabilities/prioritised-vuln","Get Top Impacting Vulnerabilities","top-prioritised-vulnerability","Unified Vulnerability Explorer","UVEDashboardMicroService.json" "get","/uve/api/v1/dashboard/vulnerabilities/cve-overview","Get CVE Overview","cve-overview","Unified Vulnerability Explorer","UVEDashboardMicroService.json" -"post","/uve/api/v1/dashboard/vulnerabilities/vuln-assets","Get Vulnerable Assets by CVE","list-vulnerable-assets","Unified Vulnerability Explorer","UVEDashboardMicroService.json" +"post","/uve/api/v1/dashboard/vulnerabilities/vuln-assets","Get Vulnerable Assets by CVE","list-vulnerable-assets-cve","Unified Vulnerability Explorer","UVEDashboardMicroService.json" "post","/uve/api/v1/vulnerabilities/search","Get Vulnerabilities by RQL","vulnerabilities-search-api","Unified Vulnerability Explorer","UVESearchMicroService.json" "post","/uve/api/v1/vulnerabilities/search/asset","Get Vulnerable Assets by RQL","list-vulnerable-assets","Unified Vulnerability Explorer","UVESearchMicroService.json" "post","/uve/api/v1/vulnerabilities/download","Download CVE Details","download-vulnerability-file","Unified Vulnerability Explorer","UVESearchMicroService.json" From 6ea7ffc92c648b59f8788806b2f674cc415d592b Mon Sep 17 00:00:00 2001 From: AbiMano4688 Date: Thu, 7 Dec 2023 14:22:25 +0530 Subject: [PATCH 3/3] removed all 5xx errors --- openapi-specs/cspm/AccessKeys.json | 12 --- openapi-specs/cspm/AccountGroups.json | 21 ---- openapi-specs/cspm/AdoptionAdvisor.json | 18 ---- openapi-specs/cspm/AlertRules.json | 15 --- openapi-specs/cspm/Alerts.json | 3 - openapi-specs/cspm/AlertsMicroServices.json | 30 ------ .../cspm/ArchivedAssetsMicroService.json | 15 --- openapi-specs/cspm/AssetExplorer.json | 18 ---- openapi-specs/cspm/AssetInventory.json | 42 -------- openapi-specs/cspm/CloudAccounts(AWS).json | 33 ------ openapi-specs/cspm/CloudAccounts(All).json | 15 --- openapi-specs/cspm/CloudAccounts(Azure).json | 15 --- openapi-specs/cspm/CloudAccounts(GCP).json | 24 ----- .../cspm/CloudAccounts(OCIandAlibaba).json | 12 --- .../cspm/CloudAccountsMicroService.json | 60 ----------- .../cspm/CollectionsMicroservice.json | 100 ------------------ .../cspm/CommandCenterMicroService.json | 100 ------------------ openapi-specs/cspm/CompliancePosture.json | 78 -------------- openapi-specs/cspm/ComplianceStandards.json | 45 -------- openapi-specs/cspm/DataSecurityDashboard.json | 21 ---- openapi-specs/cspm/DataSecurityInventory.json | 42 -------- .../DataSecurityOnboardingMicroService.json | 84 --------------- openapi-specs/cspm/DataSecuritySettings.json | 54 ---------- .../cspm/EventBridgeMicroService.json | 51 --------- openapi-specs/cspm/IPAllowList.json | 21 ---- .../cspm/IntegrationsMicroService.json | 30 ------ openapi-specs/cspm/LicensingMicroService.json | 52 --------- openapi-specs/cspm/Login.json | 6 -- .../NotificationTemplatesMicroService.json | 18 ---- .../cspm/OnboardingAWSS3FlowLogs.json | 11 +- openapi-specs/cspm/Policy.json | 24 ----- openapi-specs/cspm/Reports.json | 9 -- openapi-specs/cspm/ResourceExplorer.json | 9 -- openapi-specs/cspm/ResourceLists.json | 6 -- openapi-specs/cspm/SearchManager.json | 12 --- openapi-specs/cspm/SearchMicroService.json | 48 --------- openapi-specs/cspm/Settings.json | 6 -- openapi-specs/cspm/System.json | 3 - openapi-specs/cspm/UserProfile.json | 39 ------- openapi-specs/cspm/UserRoles.json | 18 ---- .../cspm/adjustSpecFilesForPanDev.sh | 2 + .../cspm/code2cloudMicroService.json | 26 ----- 42 files changed, 3 insertions(+), 1245 deletions(-) diff --git a/openapi-specs/cspm/AccessKeys.json b/openapi-specs/cspm/AccessKeys.json index 1e51b7c56..d51846661 100644 --- a/openapi-specs/cspm/AccessKeys.json +++ b/openapi-specs/cspm/AccessKeys.json @@ -150,9 +150,6 @@ }, "403": { "description": "unauthorized_to_use_access_keys" - }, - "500": { - "description": "failed_fetch_user_profile" } }, "security": [ @@ -243,9 +240,6 @@ }, "403": { "description": "unauthorized_to_use_access_keys" - }, - "500": { - "description": "non_existing_access_key" } }, "security": [ @@ -282,9 +276,6 @@ }, "403": { "description": "unauthorized_to_use_access_keys" - }, - "500": { - "description": "failed_fetch_user_profile / non_existing_access_key" } }, "security": [ @@ -332,9 +323,6 @@ }, "403": { "description": "unauthorized_to_use_access_keys" - }, - "500": { - "description": "non_existing_access_key / expired_access_key" } }, "security": [ diff --git a/openapi-specs/cspm/AccountGroups.json b/openapi-specs/cspm/AccountGroups.json index aa44abd87..5ae0496fd 100644 --- a/openapi-specs/cspm/AccountGroups.json +++ b/openapi-specs/cspm/AccountGroups.json @@ -267,9 +267,6 @@ } }, "description": "successful operation" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -312,9 +309,6 @@ }, "403": { "description": "unauthorized_access" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -356,9 +350,6 @@ } }, "description": "successful operation" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -410,9 +401,6 @@ } }, "description": "successful operation" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -463,9 +451,6 @@ }, "403": { "description": "unauthorized_access" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -512,9 +497,6 @@ }, "403": { "description": "unauthorized_access" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -553,9 +535,6 @@ }, "409": { "description": "conflict_deleting_last_account_group_for_alert_rule / cannot_delete_an_account_group_associated_with_cloud_accounts" - }, - "500": { - "description": "internal_error" } }, "security": [ diff --git a/openapi-specs/cspm/AdoptionAdvisor.json b/openapi-specs/cspm/AdoptionAdvisor.json index 4a84e0533..95d1fdc1f 100644 --- a/openapi-specs/cspm/AdoptionAdvisor.json +++ b/openapi-specs/cspm/AdoptionAdvisor.json @@ -333,9 +333,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -373,9 +370,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -408,9 +402,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -460,9 +451,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -494,9 +482,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -530,9 +515,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ diff --git a/openapi-specs/cspm/AlertRules.json b/openapi-specs/cspm/AlertRules.json index 7cd01fa79..365be58a3 100644 --- a/openapi-specs/cspm/AlertRules.json +++ b/openapi-specs/cspm/AlertRules.json @@ -544,9 +544,6 @@ } }, "description": "successful operation" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -588,9 +585,6 @@ }, "400": { "description": "invalid_param_value / auto_remediation_only_for_config_remediable_policies / missing_required_param / non_notification_state_selected / invalid_notification_state / invalid_resource_list_id / snooze_time_must_be_relative / dismissal_reason_required / has_overlaps_in_resource_list_rules / missing_required_param" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -638,9 +632,6 @@ }, "404": { "description": "no_results" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -694,9 +685,6 @@ }, "404": { "description": "not_found" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -732,9 +720,6 @@ }, "403": { "description": "incomplete_account_group_access" - }, - "500": { - "description": "internal_error" } }, "security": [ diff --git a/openapi-specs/cspm/Alerts.json b/openapi-specs/cspm/Alerts.json index 8a7365dd0..e06ec3e47 100644 --- a/openapi-specs/cspm/Alerts.json +++ b/openapi-specs/cspm/Alerts.json @@ -3548,9 +3548,6 @@ }, "429": { "description": "Too Many Requests" - }, - "500": { - "description": "internal_error" } }, "security": [ diff --git a/openapi-specs/cspm/AlertsMicroServices.json b/openapi-specs/cspm/AlertsMicroServices.json index 67372a28a..0f3c4e1b0 100644 --- a/openapi-specs/cspm/AlertsMicroServices.json +++ b/openapi-specs/cspm/AlertsMicroServices.json @@ -101,16 +101,6 @@ } } } - }, - "5XX": { - "description": "Server error", - "content": { - "*/*": { - "schema": { - "$ref": "#/components/schemas/SpringErrorResponse" - } - } - } } }, "security": [ @@ -169,16 +159,6 @@ } } } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SpringErrorResponse" - } - } - } } }, "security": [ @@ -269,16 +249,6 @@ } } } - }, - "500": { - "description": "Internal Server Error", - "content": { - "*/*": { - "schema": { - "$ref": "#/components/schemas/SpringErrorResponse" - } - } - } } }, "security": [ diff --git a/openapi-specs/cspm/ArchivedAssetsMicroService.json b/openapi-specs/cspm/ArchivedAssetsMicroService.json index 5c93005f4..2e1d5057c 100644 --- a/openapi-specs/cspm/ArchivedAssetsMicroService.json +++ b/openapi-specs/cspm/ArchivedAssetsMicroService.json @@ -220,21 +220,6 @@ } } } - }, - "500": { - "description": "Failed with an Exception, Internal Error Occurred", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ApiError" - }, - "example": { - "status": "Internal Server Error", - "timestamp": "string", - "message": "string" - } - } - } } }, "x-microservice": "true", diff --git a/openapi-specs/cspm/AssetExplorer.json b/openapi-specs/cspm/AssetExplorer.json index 398bdb907..be038c360 100644 --- a/openapi-specs/cspm/AssetExplorer.json +++ b/openapi-specs/cspm/AssetExplorer.json @@ -695,9 +695,6 @@ } }, "description": "success" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -732,9 +729,6 @@ } }, "description": "success" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -936,9 +930,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -980,9 +971,6 @@ }, "404": { "description": "not_found" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1144,9 +1132,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1187,9 +1172,6 @@ }, "404": { "description": "not_found" - }, - "500": { - "description": "internal_error" } }, "security": [ diff --git a/openapi-specs/cspm/AssetInventory.json b/openapi-specs/cspm/AssetInventory.json index d9d6f2a9a..9031cdacc 100644 --- a/openapi-specs/cspm/AssetInventory.json +++ b/openapi-specs/cspm/AssetInventory.json @@ -695,9 +695,6 @@ } }, "description": "success" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -765,9 +762,6 @@ } }, "description": "successful operation" - }, - "500": { - "description": "failed_fetch_inventory_saved_filters" } }, "security": [ @@ -798,9 +792,6 @@ }, "400": { "description": "failed_add_inventory_saved_filter" - }, - "500": { - "description": "failed_add_inventory_saved_filter" } }, "security": [ @@ -839,9 +830,6 @@ } }, "description": "successful operation" - }, - "500": { - "description": "failed_fetch_inventory_saved_filter" } }, "security": [ @@ -883,9 +871,6 @@ }, "400": { "description": "failed_update_inventory_saved_filter" - }, - "500": { - "description": "failed_update_inventory_saved_filter" } }, "security": [ @@ -921,9 +906,6 @@ }, "403": { "description": "not_owner_or_same_role" - }, - "500": { - "description": "failed_add_inventory_saved_filter" } }, "security": [ @@ -1111,9 +1093,6 @@ }, "404": { "description": "not_found" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1152,9 +1131,6 @@ }, "404": { "description": "not_found" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1340,9 +1316,6 @@ }, "404": { "description": "not_found" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1384,9 +1357,6 @@ }, "404": { "description": "not_found" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1535,9 +1505,6 @@ }, "404": { "description": "not_found" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1575,9 +1542,6 @@ }, "404": { "description": "not_found" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1724,9 +1688,6 @@ }, "404": { "description": "not_found" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1767,9 +1728,6 @@ }, "404": { "description": "not_found" - }, - "500": { - "description": "internal_error" } }, "security": [ diff --git a/openapi-specs/cspm/CloudAccounts(AWS).json b/openapi-specs/cspm/CloudAccounts(AWS).json index f75d3841e..5f3a07e5f 100644 --- a/openapi-specs/cspm/CloudAccounts(AWS).json +++ b/openapi-specs/cspm/CloudAccounts(AWS).json @@ -625,9 +625,6 @@ }, "412": { "description": "external_id_empty_or_not_generated. To generate CFT and externalId call **[Generate and Download the AWS CFT Template endpoint](/prisma-cloud/api/cspm/generate-cft-template-aws)** or **[Generate the AWS CFT Template Link Endpoint](/prisma-cloud/api/cspm/generate-cft-template-link-aws)**" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -688,9 +685,6 @@ }, "412": { "description": "external_id_empty_or_not_generated. To generate CFT and externalId call **[Generate and Download the AWS CFT Template endpoint](/prisma-cloud/api/cspm/generate-cft-template-aws)** or **[Generate the AWS CFT Template Link Endpoint](/prisma-cloud/api/cspm/generate-cft-template-link-aws)**" - }, - "500": { - "description": "not_found / internal_error" } }, "security": [ @@ -736,9 +730,6 @@ }, "412": { "description": "external_id_empty_or_not_generated. To generate CFT and externalId call **[Generate and Download the AWS CFT Template endpoint](/prisma-cloud/api/cspm/generate-cft-template-aws)** or **[Generate the AWS CFT Template Link Endpoint](/prisma-cloud/api/cspm/generate-cft-template-link-aws)**" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -786,9 +777,6 @@ } }, "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -826,9 +814,6 @@ } }, "description": "success" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -864,9 +849,6 @@ } }, "description": "success" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -906,9 +888,6 @@ } }, "description": "success" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1002,9 +981,6 @@ }, "400": { "description": "permission_error / bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1066,9 +1042,6 @@ }, "404": { "description": "invalid_account_id_format" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1162,9 +1135,6 @@ }, "412": { "description": "external_id_empty_or_not_generated. To generate CFT and externalId call **[Generate and Download the AWS CFT Template endpoint](/prisma-cloud/api/cspm/generate-cft-template-aws)** or **[Generate the AWS CFT Template Link Endpoint](/prisma-cloud/api/cspm/generate-cft-template-link-aws)**" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1226,9 +1196,6 @@ }, "412": { "description": "external_id_empty_or_not_generated. To generate CFT and externalId call **[Generate and Download the AWS CFT Template endpoint](/prisma-cloud/api/cspm/generate-cft-template-aws)** or **[Generate the AWS CFT Template Link Endpoint](/prisma-cloud/api/cspm/generate-cft-template-link-aws)**" - }, - "500": { - "description": "internal_error" } }, "security": [ diff --git a/openapi-specs/cspm/CloudAccounts(All).json b/openapi-specs/cspm/CloudAccounts(All).json index ec7a45ea2..7eed82973 100644 --- a/openapi-specs/cspm/CloudAccounts(All).json +++ b/openapi-specs/cspm/CloudAccounts(All).json @@ -2110,9 +2110,6 @@ } }, "description": "successful operation" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -2322,9 +2319,6 @@ }, "400": { "description": "not_found / not_an_org" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -2466,9 +2460,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -2597,9 +2588,6 @@ }, "405": { "description": "cloud_account_already_enabled / cloud_account_already_disabled" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -2654,9 +2642,6 @@ }, "404": { "description": "invalid_cloud_type / invalid_account_id_format" - }, - "500": { - "description": "internal_error" } }, "security": [ diff --git a/openapi-specs/cspm/CloudAccounts(Azure).json b/openapi-specs/cspm/CloudAccounts(Azure).json index b32559a16..8f91380ae 100644 --- a/openapi-specs/cspm/CloudAccounts(Azure).json +++ b/openapi-specs/cspm/CloudAccounts(Azure).json @@ -352,9 +352,6 @@ }, "404": { "description": "invalid_account_type" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -412,9 +409,6 @@ }, "404": { "description": "invalid_account_type" - }, - "500": { - "description": "not_found / internal_error" } }, "security": [ @@ -457,9 +451,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -518,9 +509,6 @@ }, "400": { "description": "bad_request / unauthorized_access" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -580,9 +568,6 @@ }, "404": { "description": "invalid_account_id_format" - }, - "500": { - "description": "internal_error" } }, "security": [ diff --git a/openapi-specs/cspm/CloudAccounts(GCP).json b/openapi-specs/cspm/CloudAccounts(GCP).json index 449270acf..1e3a7e246 100644 --- a/openapi-specs/cspm/CloudAccounts(GCP).json +++ b/openapi-specs/cspm/CloudAccounts(GCP).json @@ -427,9 +427,6 @@ }, "404": { "description": "invalid_account_type" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -487,9 +484,6 @@ }, "404": { "description": "invalid_account_type" - }, - "500": { - "description": "not_found / internal_error" } }, "security": [ @@ -532,9 +526,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -591,9 +582,6 @@ }, "404": { "description": "invalid_account_id_format" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -697,9 +685,6 @@ }, "400": { "description": "bad_request / unauthorized_access" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -796,9 +781,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -898,9 +880,6 @@ }, "400": { "description": "bad_request / unauthorized_access" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -972,9 +951,6 @@ }, "404": { "description": "invalid_account_id_format" - }, - "500": { - "description": "internal_error" } }, "security": [ diff --git a/openapi-specs/cspm/CloudAccounts(OCIandAlibaba).json b/openapi-specs/cspm/CloudAccounts(OCIandAlibaba).json index 4e757a23a..477db1e9d 100644 --- a/openapi-specs/cspm/CloudAccounts(OCIandAlibaba).json +++ b/openapi-specs/cspm/CloudAccounts(OCIandAlibaba).json @@ -1751,9 +1751,6 @@ }, "404": { "description": "invalid_account_type" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1830,9 +1827,6 @@ }, "404": { "description": "invalid_account_type" - }, - "500": { - "description": "not_found / internal_error" } }, "security": [ @@ -1896,9 +1890,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1931,9 +1922,6 @@ }, "400": { "description": "invalid_parameter_value" - }, - "500": { - "description": "internal_error" } }, "security": [ diff --git a/openapi-specs/cspm/CloudAccountsMicroService.json b/openapi-specs/cspm/CloudAccountsMicroService.json index e055477cf..be17ad52f 100644 --- a/openapi-specs/cspm/CloudAccountsMicroService.json +++ b/openapi-specs/cspm/CloudAccountsMicroService.json @@ -108,16 +108,6 @@ } } }, - "500": { - "description": "Failed with an Exception, Internal Error Occurred", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIErrorObject" - } - } - } - }, "401": { "description": "Unauthorized Access", "content": { @@ -280,16 +270,6 @@ } } }, - "500": { - "description": "Failed with an exception.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ApiError" - } - } - } - }, "404": { "description": "Not Found", "content": { @@ -395,16 +375,6 @@ } } }, - "500": { - "description": "Failed with an exception.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ApiError" - } - } - } - }, "404": { "description": "Not Found", "content": { @@ -523,16 +493,6 @@ } } }, - "500": { - "description": "Failed with an Exception, Internal Error Occurred", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ApiError" - } - } - } - }, "425": { "description": "Too Early to access the resource", "content": { @@ -658,16 +618,6 @@ } } }, - "500": { - "description": "Failed with an exception.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ApiError" - } - } - } - }, "404": { "description": "Not Found", "content": { @@ -907,16 +857,6 @@ } } }, - "500": { - "description": "Failed with an exception.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ApiError" - } - } - } - }, "404": { "description": "Not Found", "content": { diff --git a/openapi-specs/cspm/CollectionsMicroservice.json b/openapi-specs/cspm/CollectionsMicroservice.json index 8159d8edd..34215c3e6 100644 --- a/openapi-specs/cspm/CollectionsMicroservice.json +++ b/openapi-specs/cspm/CollectionsMicroservice.json @@ -91,26 +91,6 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", - "content": { - "*/*": { - "schema": { - "type": "object" - } - } - } - }, - "503": { - "description": "Service Unavailable", - "content": { - "*/*": { - "schema": { - "type": "object" - } - } - } - }, "403": { "description": "Forbidden", "content": { @@ -204,26 +184,6 @@ "required": true }, "responses": { - "500": { - "description": "Internal Server Error", - "content": { - "*/*": { - "schema": { - "type": "object" - } - } - } - }, - "503": { - "description": "Service Unavailable", - "content": { - "*/*": { - "schema": { - "type": "object" - } - } - } - }, "403": { "description": "Forbidden", "content": { @@ -307,26 +267,6 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", - "content": { - "*/*": { - "schema": { - "type": "object" - } - } - } - }, - "503": { - "description": "Service Unavailable", - "content": { - "*/*": { - "schema": { - "type": "object" - } - } - } - }, "403": { "description": "Forbidden", "content": { @@ -432,26 +372,6 @@ } ], "responses": { - "500": { - "description": "Internal Server Error", - "content": { - "*/*": { - "schema": { - "type": "object" - } - } - } - }, - "503": { - "description": "Service Unavailable", - "content": { - "*/*": { - "schema": { - "type": "object" - } - } - } - }, "403": { "description": "Forbidden", "content": { @@ -556,26 +476,6 @@ "required": true }, "responses": { - "500": { - "description": "Internal Server Error", - "content": { - "*/*": { - "schema": { - "type": "object" - } - } - } - }, - "503": { - "description": "Service Unavailable", - "content": { - "*/*": { - "schema": { - "type": "object" - } - } - } - }, "403": { "description": "Forbidden", "content": { diff --git a/openapi-specs/cspm/CommandCenterMicroService.json b/openapi-specs/cspm/CommandCenterMicroService.json index ba5662e4b..6ce2aec11 100644 --- a/openapi-specs/cspm/CommandCenterMicroService.json +++ b/openapi-specs/cspm/CommandCenterMicroService.json @@ -84,26 +84,6 @@ }, "429": { "description": "Too Many Requests" - }, - "500": { - "description": "Internal Server Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } } }, "security": [ @@ -179,26 +159,6 @@ }, "429": { "description": "Too Many Requests" - }, - "500": { - "description": "Internal Server Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } } }, "security": [ @@ -274,26 +234,6 @@ }, "429": { "description": "Too Many Requests" - }, - "500": { - "description": "Internal Server Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } } }, "security": [ @@ -374,26 +314,6 @@ }, "429": { "description": "Too Many Requests" - }, - "500": { - "description": "Internal Server Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } } }, "security": [ @@ -459,26 +379,6 @@ }, "429": { "description": "Too Many Requests" - }, - "500": { - "description": "Internal Server Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } } }, "security": [ diff --git a/openapi-specs/cspm/CompliancePosture.json b/openapi-specs/cspm/CompliancePosture.json index 9059ae844..d3ff51df9 100644 --- a/openapi-specs/cspm/CompliancePosture.json +++ b/openapi-specs/cspm/CompliancePosture.json @@ -805,9 +805,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -846,9 +843,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -975,9 +969,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1028,9 +1019,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1158,9 +1146,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1221,9 +1206,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1352,9 +1334,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1396,9 +1375,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1528,9 +1504,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1584,9 +1557,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1717,9 +1687,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1783,9 +1750,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1813,9 +1777,6 @@ } }, "description": "success" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1853,9 +1814,6 @@ }, "400": { "description": "missing_required_parameter / invalid_parameter_value" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1942,9 +1900,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1982,9 +1937,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -2072,9 +2024,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -2124,9 +2073,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -2215,9 +2161,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -2277,9 +2220,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -2369,9 +2309,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -2412,9 +2349,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -2505,9 +2439,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -2560,9 +2491,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -2654,9 +2582,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -2719,9 +2644,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ diff --git a/openapi-specs/cspm/ComplianceStandards.json b/openapi-specs/cspm/ComplianceStandards.json index df1c813fd..fe331479e 100644 --- a/openapi-specs/cspm/ComplianceStandards.json +++ b/openapi-specs/cspm/ComplianceStandards.json @@ -306,9 +306,6 @@ } }, "description": "successful operation" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -339,9 +336,6 @@ }, "400": { "description": "missing_required_parameter / duplicate_name / bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -381,9 +375,6 @@ } }, "description": "successful operation" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -426,9 +417,6 @@ }, "400": { "description": "missing_required_parameter / duplicate_name / bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -462,9 +450,6 @@ }, "400": { "description": "missing_required_parameter" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -509,9 +494,6 @@ }, "400": { "description": "missing_required_parameter / duplicate_name / bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -557,9 +539,6 @@ }, "400": { "description": "missing_required_parameter" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -602,9 +581,6 @@ }, "400": { "description": "missing_required_parameter / duplicate_name / bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -647,9 +623,6 @@ }, "400": { "description": "missing_required_parameter" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -692,9 +665,6 @@ }, "400": { "description": "missing_required_parameter / duplicate_name / bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -728,9 +698,6 @@ }, "400": { "description": "missing_required_parameter" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -776,9 +743,6 @@ }, "400": { "description": "missing_required_parameter" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -821,9 +785,6 @@ }, "400": { "description": "missing_required_parameter" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -868,9 +829,6 @@ }, "400": { "description": "missing_required_parameter" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -904,9 +862,6 @@ }, "400": { "description": "missing_required_parameter" - }, - "500": { - "description": "internal_error" } }, "security": [ diff --git a/openapi-specs/cspm/DataSecurityDashboard.json b/openapi-specs/cspm/DataSecurityDashboard.json index 9682b11f7..d4e6b2a92 100644 --- a/openapi-specs/cspm/DataSecurityDashboard.json +++ b/openapi-specs/cspm/DataSecurityDashboard.json @@ -438,9 +438,6 @@ } }, "description": "success" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -480,9 +477,6 @@ } }, "description": "success" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -522,9 +516,6 @@ } }, "description": "success" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -564,9 +555,6 @@ } }, "description": "success" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -603,9 +591,6 @@ } }, "description": "success" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -642,9 +627,6 @@ } }, "description": "success" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -684,9 +666,6 @@ } }, "description": "success" - }, - "500": { - "description": "internal_error" } }, "security": [ diff --git a/openapi-specs/cspm/DataSecurityInventory.json b/openapi-specs/cspm/DataSecurityInventory.json index 5eb21436e..7fd09fd0a 100644 --- a/openapi-specs/cspm/DataSecurityInventory.json +++ b/openapi-specs/cspm/DataSecurityInventory.json @@ -1071,9 +1071,6 @@ } }, "description": "success" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1116,9 +1113,6 @@ }, "400": { "description": "missing_required_parameter / invalid_parameter_value / internal_error / violates_minimum_alert_dismiss_duration_time" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1162,9 +1156,6 @@ }, "400": { "description": "missing_required_parameter / invalid_parameter_value / internal_error / violates_minimum_alert_dismiss_duration_time" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1204,9 +1195,6 @@ } }, "description": "success" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1243,9 +1231,6 @@ } }, "description": "success" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1285,9 +1270,6 @@ }, "400": { "description": "missing_required_parameter / invalid_parameter_value / internal_error / violates_minimum_alert_dismiss_duration_time" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1327,9 +1309,6 @@ } }, "description": "success" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1369,9 +1348,6 @@ } }, "description": "success" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1408,9 +1384,6 @@ } }, "description": "success" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1461,9 +1434,6 @@ }, "400": { "description": "missing_required_parameter / invalid_parameter_value / internal_error / violates_minimum_alert_dismiss_duration_time" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1500,9 +1470,6 @@ } }, "description": "success" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1539,9 +1506,6 @@ } }, "description": "success" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1581,9 +1545,6 @@ }, "400": { "description": "missing_required_parameter / invalid_parameter_value / internal_error / violates_minimum_alert_dismiss_duration_time" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1634,9 +1595,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ diff --git a/openapi-specs/cspm/DataSecurityOnboardingMicroService.json b/openapi-specs/cspm/DataSecurityOnboardingMicroService.json index 33c37ea98..28b02d88b 100644 --- a/openapi-specs/cspm/DataSecurityOnboardingMicroService.json +++ b/openapi-specs/cspm/DataSecurityOnboardingMicroService.json @@ -81,9 +81,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "x-public": "true", @@ -121,9 +118,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "x-public": "true", @@ -195,9 +189,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "x-public": "true", @@ -243,9 +234,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "x-public": "true", @@ -291,9 +279,6 @@ "400": { "description": "bad_request" }, - "500": { - "description": "internal_error" - }, "401": { "description": "unauthenticated_access" }, @@ -371,9 +356,6 @@ "content": { "application/octet-stream": {} } - }, - "500": { - "description": "internal_error" } }, "x-public": "true", @@ -418,9 +400,6 @@ "application/json": {} } }, - "500": { - "description": "internal_error" - }, "400": { "description": "bad_request" } @@ -458,9 +437,6 @@ "application/json": {} } }, - "500": { - "description": "internal_error" - }, "400": { "description": "bad_request" } @@ -504,9 +480,6 @@ "content": { "application/json": {} } - }, - "500": { - "description": "internal_error" } }, "x-public": "true", @@ -559,9 +532,6 @@ "application/json": {} } }, - "500": { - "description": "internal_error" - }, "400": { "description": "bad_request" } @@ -605,9 +575,6 @@ "application/json": {} } }, - "500": { - "description": "internal_error" - }, "400": { "description": "bad_request" } @@ -645,9 +612,6 @@ "application/json": {} } }, - "500": { - "description": "internal_error" - }, "400": { "description": "bad_request" } @@ -684,9 +648,6 @@ "content": { "application/json": {} } - }, - "500": { - "description": "internal_error" } }, "x-public": "true", @@ -731,9 +692,6 @@ "content": { "application/json": {} } - }, - "500": { - "description": "internal_error" } }, "x-public": "true", @@ -776,9 +734,6 @@ "application/json": {} } }, - "500": { - "description": "internal_error" - }, "400": { "description": "bad_request" } @@ -823,9 +778,6 @@ "content": { "application/json": {} } - }, - "500": { - "description": "internal_error" } }, "x-public": "true", @@ -876,9 +828,6 @@ "application/json": {} } }, - "500": { - "description": "internal_error" - }, "400": { "description": "bad_request" } @@ -922,9 +871,6 @@ "application/json": {} } }, - "500": { - "description": "internal_error" - }, "400": { "description": "bad_request" } @@ -968,9 +914,6 @@ "application/json": {} } }, - "500": { - "description": "internal_error" - }, "400": { "description": "bad_request" } @@ -1008,9 +951,6 @@ "application/json": {} } }, - "500": { - "description": "internal_error" - }, "400": { "description": "bad_request" } @@ -1055,9 +995,6 @@ "application/json": {} } }, - "500": { - "description": "internal_error" - }, "400": { "description": "bad_request" } @@ -1097,9 +1034,6 @@ "400": { "description": "bad_request" }, - "500": { - "description": "internal_error" - }, "403": { "description": "unauthorized_access" } @@ -1139,9 +1073,6 @@ "400": { "description": "bad_request" }, - "500": { - "description": "internal_error" - }, "403": { "description": "unauthorized_access" }, @@ -1175,9 +1106,6 @@ "400": { "description": "bad_request" }, - "500": { - "description": "internal_error" - }, "403": { "description": "unauthorized_access" } @@ -1204,9 +1132,6 @@ "content": { "application/octet-stream": {} } - }, - "500": { - "description": "internal_error" } }, "x-public": "true", @@ -1244,9 +1169,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "x-public": "true", @@ -1281,9 +1203,6 @@ "400": { "description": "bad_request" }, - "500": { - "description": "internal_error" - }, "403": { "description": "unauthorized_access" }, @@ -1334,9 +1253,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "x-public": "true", diff --git a/openapi-specs/cspm/DataSecuritySettings.json b/openapi-specs/cspm/DataSecuritySettings.json index cc88c88b1..41b2f6a22 100644 --- a/openapi-specs/cspm/DataSecuritySettings.json +++ b/openapi-specs/cspm/DataSecuritySettings.json @@ -1040,9 +1040,6 @@ } }, "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1090,9 +1087,6 @@ } }, "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1140,9 +1134,6 @@ } }, "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1178,9 +1169,6 @@ } }, "description": "success" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1228,9 +1216,6 @@ } }, "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1270,9 +1255,6 @@ } }, "description": "success" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1314,9 +1296,6 @@ } }, "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1375,9 +1354,6 @@ } }, "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1425,9 +1401,6 @@ } }, "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1456,9 +1429,6 @@ } }, "description": "success" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1504,9 +1474,6 @@ } }, "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1545,9 +1512,6 @@ } }, "description": "success" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1587,9 +1551,6 @@ } }, "description": "success" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1646,9 +1607,6 @@ } }, "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1696,9 +1654,6 @@ } }, "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1739,9 +1694,6 @@ } }, "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1773,9 +1725,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1821,9 +1770,6 @@ } }, "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ diff --git a/openapi-specs/cspm/EventBridgeMicroService.json b/openapi-specs/cspm/EventBridgeMicroService.json index ac1205a10..acd794b2b 100644 --- a/openapi-specs/cspm/EventBridgeMicroService.json +++ b/openapi-specs/cspm/EventBridgeMicroService.json @@ -82,18 +82,6 @@ } ], "responses": { - "500": { - "description": "Internal server error occurred", - "content": { - "*/*": { - "schema": { - "type": "object", - "example": null - }, - "example": null - } - } - }, "200": { "description": "OK", "content": { @@ -154,21 +142,6 @@ } ], "responses": { - "500": { - "description": "Internal server error occurred", - "content": { - "*/*": { - "schema": { - "type": "array", - "example": null, - "items": { - "$ref": "#/components/schemas/AuditLogsConfigStatusComponent" - } - }, - "example": null - } - } - }, "200": { "description": "OK", "content": { @@ -231,18 +204,6 @@ } ], "responses": { - "500": { - "description": "Internal server error occurred", - "content": { - "*/*": { - "schema": { - "type": "object", - "example": null - }, - "example": null - } - } - }, "401": { "description": "Unauthorized Access", "content": { @@ -305,18 +266,6 @@ } ], "responses": { - "500": { - "description": "Internal server error occurred", - "content": { - "*/*": { - "schema": { - "type": "object", - "example": null - }, - "example": null - } - } - }, "401": { "description": "Unauthorized Access", "content": { diff --git a/openapi-specs/cspm/IPAllowList.json b/openapi-specs/cspm/IPAllowList.json index cbcee0f37..1d6e010bf 100644 --- a/openapi-specs/cspm/IPAllowList.json +++ b/openapi-specs/cspm/IPAllowList.json @@ -496,9 +496,6 @@ }, "404": { "description": "not_found" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -544,9 +541,6 @@ }, "409": { "description": "login_ip_allow_list_duplicate_key" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -591,9 +585,6 @@ }, "404": { "description": "not_found" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -653,9 +644,6 @@ }, "409": { "description": "login_ip_allow_list_duplicate_name" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -694,9 +682,6 @@ }, "404": { "description": "not_found" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -727,9 +712,6 @@ } }, "description": "successful operation" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -771,9 +753,6 @@ }, "404": { "description": "not_found" - }, - "500": { - "description": "internal_error" } }, "security": [ diff --git a/openapi-specs/cspm/IntegrationsMicroService.json b/openapi-specs/cspm/IntegrationsMicroService.json index e37b53021..4555c781f 100644 --- a/openapi-specs/cspm/IntegrationsMicroService.json +++ b/openapi-specs/cspm/IntegrationsMicroService.json @@ -422,9 +422,6 @@ "429": { "description": "Too Many Requests" }, - "500": { - "description": "Internal Server Error" - }, "4XX": { "content": { "application/json": { @@ -509,9 +506,6 @@ "429": { "description": "Too many requests" }, - "500": { - "description": "Internal Server Error" - }, "4XX": { "content": { "application/json": { @@ -571,9 +565,6 @@ "429": { "description": "Too Many Requests" }, - "500": { - "description": "Internal Server Error" - }, "4XX": { "content": { "application/json": { @@ -634,9 +625,6 @@ "429": { "description": "Too Many Requests" }, - "500": { - "description": "Internal Server Error" - }, "4XX": { "content": { "application/json": { @@ -698,9 +686,6 @@ "429": { "description": "Too Many Requests" }, - "500": { - "description": "Internal Server Error" - }, "4XX": { "content": { "application/json": { @@ -768,9 +753,6 @@ "429": { "description": "Too Many Requests" }, - "500": { - "description": "Internal Server Error" - }, "4XX": { "content": { "application/json": { @@ -822,9 +804,6 @@ "429": { "description": "Too Many Requests" }, - "500": { - "description": "Internal Server Error" - }, "4XX": { "content": { "application/json": { @@ -888,9 +867,6 @@ "429": { "description": "Too Many Requests" }, - "500": { - "description": "Internal Server Error" - }, "4XX": { "content": { "application/json": { @@ -951,9 +927,6 @@ "429": { "description": "Too Many Requests" }, - "500": { - "description": "Internal Server Error" - }, "4XX": { "content": { "application/json": { @@ -1011,9 +984,6 @@ "429": { "description": "Too Many Requests" }, - "500": { - "description": "Internal Server Error" - }, "4XX": { "content": { "application/json": { diff --git a/openapi-specs/cspm/LicensingMicroService.json b/openapi-specs/cspm/LicensingMicroService.json index 2f8aacbeb..a494eab72 100644 --- a/openapi-specs/cspm/LicensingMicroService.json +++ b/openapi-specs/cspm/LicensingMicroService.json @@ -99,16 +99,6 @@ } } }, - "500": { - "description": "internal_error", - "content": { - "application/json;charset=UTF-8": { - "schema": { - "$ref": "#/components/schemas/SpringErrorResponse" - } - } - } - }, "403": { "description": "Forbidden", "content": { @@ -167,16 +157,6 @@ } } }, - "500": { - "description": "internal_error", - "content": { - "application/json;charset=UTF-8": { - "schema": { - "$ref": "#/components/schemas/SpringErrorResponse" - } - } - } - }, "403": { "description": "Forbidden", "content": { @@ -262,28 +242,6 @@ } } }, - "500": { - "description": "internal_error", - "content": { - "application/octet-stream": { - "schema": { - "$ref": "#/components/schemas/SpringErrorResponse" - } - }, - "application/json;charset=UTF-8": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/LicenseResponseModel" - }, - { - "$ref": "#/components/schemas/SpringErrorResponse" - } - ] - } - } - } - }, "403": { "description": "Forbidden", "content": { @@ -354,16 +312,6 @@ } } }, - "500": { - "description": "internal_error", - "content": { - "application/json;charset=UTF-8": { - "schema": { - "$ref": "#/components/schemas/SpringErrorResponse" - } - } - } - }, "403": { "description": "Forbidden", "content": { diff --git a/openapi-specs/cspm/Login.json b/openapi-specs/cspm/Login.json index 3684d60da..456abe8d1 100644 --- a/openapi-specs/cspm/Login.json +++ b/openapi-specs/cspm/Login.json @@ -127,9 +127,6 @@ }, "429": { "description": "Too Many Requests" - }, - "500": { - "description": "login_failed_unknown_error" } }, "summary": "Login", @@ -155,9 +152,6 @@ }, "401": { "description": "token_expired" - }, - "500": { - "description": "login_failed_unknown_error" } }, "security": [ diff --git a/openapi-specs/cspm/NotificationTemplatesMicroService.json b/openapi-specs/cspm/NotificationTemplatesMicroService.json index ab1311f92..c8143f1fc 100644 --- a/openapi-specs/cspm/NotificationTemplatesMicroService.json +++ b/openapi-specs/cspm/NotificationTemplatesMicroService.json @@ -398,9 +398,6 @@ "429": { "description": "Too Many Requests" }, - "500": { - "description": "Internal Server Error" - }, "4XX": { "content": { "application/json": { @@ -460,9 +457,6 @@ "429": { "description": "Too Many Requests" }, - "500": { - "description": "Internal Server Error" - }, "4XX": { "content": { "application/json": { @@ -523,9 +517,6 @@ "429": { "description": "Too many requests" }, - "500": { - "description": "Internal server error" - }, "4XX": { "content": { "application/json": { @@ -587,9 +578,6 @@ "429": { "description": "Too Many Requests" }, - "500": { - "description": "Internal Server Error" - }, "4XX": { "content": { "application/json": { @@ -641,9 +629,6 @@ "429": { "description": "Too Many Requests" }, - "500": { - "description": "Internal Server Error" - }, "4XX": { "content": { "application/json": { @@ -707,9 +692,6 @@ "429": { "description": "Too Many Requests" }, - "500": { - "description": "Internal Server Error" - }, "4XX": { "content": { "application/json": { diff --git a/openapi-specs/cspm/OnboardingAWSS3FlowLogs.json b/openapi-specs/cspm/OnboardingAWSS3FlowLogs.json index 67a2c01e0..ce86f48e3 100644 --- a/openapi-specs/cspm/OnboardingAWSS3FlowLogs.json +++ b/openapi-specs/cspm/OnboardingAWSS3FlowLogs.json @@ -129,9 +129,6 @@ }, "404": { "description": "account_not_exist_or_disabled / AWS Flow Logs S3 feature not configured" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -189,9 +186,6 @@ }, "404": { "description": "account_not_exist_or_disabled / logging_account_not_exists" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -258,9 +252,6 @@ }, "404": { "description": "invalid_account_id_format" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -324,7 +315,7 @@ ], "tags": [ { - "description": "AWS Eventbridge API lets you access Eventbridge configuration for a given account.\n\n You can use the AWS S3 Flow Logs API for AWS S3 onboarding for organization and standalone accounts on all supported stacks.\n", + "description": "You can use the AWS S3 Flow Logs API for AWS S3 onboarding for organization \nand standalone accounts on all supported stacks.\n", "name": "Cloud Ingested Logs" } ] diff --git a/openapi-specs/cspm/Policy.json b/openapi-specs/cspm/Policy.json index 951841fd1..6fa33f898 100644 --- a/openapi-specs/cspm/Policy.json +++ b/openapi-specs/cspm/Policy.json @@ -1294,9 +1294,6 @@ } }, "description": "successful operation" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1336,9 +1333,6 @@ }, "400": { "description": "missing_required_parameter / invalid_parameter_value / bad_requestmissing_required_parameter / duplicate_name / invalid_search_cloud_type_for_policy / create_update_disallowed_for_json_schema_type_policy / invalid_ruleremediation_allowed_only_for_config_policies / policy_remediation_disallowed_for_non_sys_admins / unauthorized_access / unable_to_determine_sub_types" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1544,9 +1538,6 @@ } }, "description": "successful operation" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1594,9 +1585,6 @@ }, "404": { "description": "no_results" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1653,9 +1641,6 @@ }, "404": { "description": "not_found" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1694,9 +1679,6 @@ }, "404": { "description": "no_results" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1746,9 +1728,6 @@ }, "404": { "description": "not_found / failed_update_policy_status" - }, - "500": { - "description": "failed_update_policy_status" } }, "security": [ @@ -1817,9 +1796,6 @@ }, "400": { "description": "missing_required_parameter / saved_search_validation_not_supported / preprocessor_not_allowed_for_policy / invalid_search_type_for_policy / invalid_search_type_for_policy / insufficient_query_for_policy_creation /invalid_hostfinding_type_redlock_in_search_query / invalid_search_cloud_type_for_policy / invalid_azure_resource_group_in_search_query / json_not_supported_in_event_query / anomaly_search_not_supported_in_event_query / rql_validation_service_unavailable / invalid_json_rule" - }, - "500": { - "description": "internal_error" } }, "security": [ diff --git a/openapi-specs/cspm/Reports.json b/openapi-specs/cspm/Reports.json index 129715851..b0519a827 100644 --- a/openapi-specs/cspm/Reports.json +++ b/openapi-specs/cspm/Reports.json @@ -1172,9 +1172,6 @@ }, "404": { "description": "not_found" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1437,9 +1434,6 @@ }, "404": { "description": "not_found" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -1480,9 +1474,6 @@ }, "404": { "description": "not_found" - }, - "500": { - "description": "internal_error" } }, "security": [ diff --git a/openapi-specs/cspm/ResourceExplorer.json b/openapi-specs/cspm/ResourceExplorer.json index d88519830..e27babbd7 100644 --- a/openapi-specs/cspm/ResourceExplorer.json +++ b/openapi-specs/cspm/ResourceExplorer.json @@ -656,9 +656,6 @@ }, "404": { "description": "not_found" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -896,9 +893,6 @@ }, "404": { "description": "not_found" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -942,9 +936,6 @@ }, "404": { "description": "not_found" - }, - "500": { - "description": "internal_error" } }, "security": [ diff --git a/openapi-specs/cspm/ResourceLists.json b/openapi-specs/cspm/ResourceLists.json index 1464d8303..849af0048 100644 --- a/openapi-specs/cspm/ResourceLists.json +++ b/openapi-specs/cspm/ResourceLists.json @@ -148,9 +148,6 @@ }, "409": { "description": "duplicate_resource_list_name" - }, - "500": { - "description": "failed_to_parse_resource_lists" } }, "security": [ @@ -280,9 +277,6 @@ }, "409": { "description": "duplicate_resource_list_name" - }, - "500": { - "description": "failed_to_parse_resource_lists" } }, "security": [ diff --git a/openapi-specs/cspm/SearchManager.json b/openapi-specs/cspm/SearchManager.json index f2677d6c1..afd3a025a 100644 --- a/openapi-specs/cspm/SearchManager.json +++ b/openapi-specs/cspm/SearchManager.json @@ -501,9 +501,6 @@ } }, "description": "successful operation" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -542,9 +539,6 @@ } }, "description": "successful operation" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -600,9 +594,6 @@ }, "404": { "description": "not_found" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -644,9 +635,6 @@ }, "409": { "description": "conflict_saved_search" - }, - "500": { - "description": "internal_error" } }, "security": [ diff --git a/openapi-specs/cspm/SearchMicroService.json b/openapi-specs/cspm/SearchMicroService.json index 79359bcb3..a88e15eae 100644 --- a/openapi-specs/cspm/SearchMicroService.json +++ b/openapi-specs/cspm/SearchMicroService.json @@ -100,10 +100,6 @@ "404": { "description": "not_found", "content": {} - }, - "500": { - "description": "internal_error", - "content": {} } }, "security": [ @@ -149,10 +145,6 @@ "404": { "description": "not_found", "content": {} - }, - "500": { - "description": "internal_error", - "content": {} } }, "security": [ @@ -201,10 +193,6 @@ "404": { "description": "not_found", "content": {} - }, - "500": { - "description": "internal_error", - "content": {} } }, "security": [ @@ -258,10 +246,6 @@ "404": { "description": "not_found", "content": {} - }, - "500": { - "description": "internal_error", - "content": {} } }, "security": [ @@ -322,10 +306,6 @@ "404": { "description": "not_found", "content": {} - }, - "500": { - "description": "internal_error", - "content": {} } }, "security": [ @@ -375,10 +355,6 @@ "404": { "description": "not_found", "content": {} - }, - "500": { - "description": "internal_error", - "content": {} } }, "security": [ @@ -428,10 +404,6 @@ "400": { "description": "invalid_parameter_value", "content": {} - }, - "500": { - "description": "internal_error", - "content": {} } }, "security": [ @@ -479,10 +451,6 @@ "404": { "description": "not_found", "content": {} - }, - "500": { - "description": "internal_error", - "content": {} } }, "security": [ @@ -523,10 +491,6 @@ } } } - }, - "500": { - "description": "internal_error", - "content": {} } }, "security": [ @@ -576,10 +540,6 @@ "404": { "description": "not_found", "content": {} - }, - "500": { - "description": "internal_error", - "content": {} } }, "security": [ @@ -750,10 +710,6 @@ } } } - }, - "500": { - "description": "internal_error", - "content": {} } }, "security": [ @@ -800,10 +756,6 @@ "404": { "description": "not_found", "content": {} - }, - "500": { - "description": "internal_error", - "content": {} } }, "security": [ diff --git a/openapi-specs/cspm/Settings.json b/openapi-specs/cspm/Settings.json index 5073b2d7f..f0473b934 100644 --- a/openapi-specs/cspm/Settings.json +++ b/openapi-specs/cspm/Settings.json @@ -110,9 +110,6 @@ } }, "description": "successful operation" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -143,9 +140,6 @@ }, "400": { "description": "bad_request" - }, - "500": { - "description": "internal_error" } }, "security": [ diff --git a/openapi-specs/cspm/System.json b/openapi-specs/cspm/System.json index cdd74ecee..bd3c6102a 100644 --- a/openapi-specs/cspm/System.json +++ b/openapi-specs/cspm/System.json @@ -43,9 +43,6 @@ } }, "description": "successful operation" - }, - "500": { - "description": "" } }, "summary": "Health Check", diff --git a/openapi-specs/cspm/UserProfile.json b/openapi-specs/cspm/UserProfile.json index 4d3aa9f21..972297a19 100644 --- a/openapi-specs/cspm/UserProfile.json +++ b/openapi-specs/cspm/UserProfile.json @@ -381,9 +381,6 @@ }, "400": { "description": "user_inactive_or_not_exist" - }, - "500": { - "description": "failed_fetch_user_profile" } }, "security": [ @@ -419,9 +416,6 @@ }, "403": { "description": "cannot_disable_own_profile / access_keys_cannot_update_owner_profile" - }, - "500": { - "description": "failed_update_user_profile" } }, "security": [ @@ -452,9 +446,6 @@ } }, "description": "successful operation" - }, - "500": { - "description": "failed_fetch_user_profile" } }, "security": [ @@ -497,9 +488,6 @@ }, "409": { "description": "duplicate_user_name" - }, - "500": { - "description": "failed_add_user_profile" } }, "security": [ @@ -530,9 +518,6 @@ } }, "description": "successful operation" - }, - "500": { - "description": "failed_fetch_user_profile" } }, "security": [ @@ -568,9 +553,6 @@ }, "409": { "description": "duplicate_user_name" - }, - "500": { - "description": "failed_add_user_profile" } }, "security": [ @@ -613,9 +595,6 @@ }, "400": { "description": "user_inactive_or_not_exist" - }, - "500": { - "description": "failed_fetch_user_profile" } }, "security": [ @@ -661,9 +640,6 @@ }, "403": { "description": "cannot_remove_current_log_in_role" - }, - "500": { - "description": "failed_update_user_profile" } }, "security": [ @@ -702,9 +678,6 @@ }, "403": { "description": "cannot_delete_own_profile" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -779,9 +752,6 @@ } }, "description": "successful operation" - }, - "500": { - "description": "failed_fetch_users_emails" } }, "security": [ @@ -815,9 +785,6 @@ }, "400": { "description": "no_user_added" - }, - "500": { - "description": "failed_fetch_email_domain_allow_list" } }, "security": [ @@ -849,9 +816,6 @@ } }, "description": "successful operation" - }, - "500": { - "description": "failed_fetch_sso_bypass_allowed_users" } }, "security": [ @@ -887,9 +851,6 @@ }, "400": { "description": "missing_sso_bypass_allowed_users" - }, - "500": { - "description": "failed_update_sso_bypass_allowed_users" } }, "security": [ diff --git a/openapi-specs/cspm/UserRoles.json b/openapi-specs/cspm/UserRoles.json index 2917bc522..808cb8d1e 100644 --- a/openapi-specs/cspm/UserRoles.json +++ b/openapi-specs/cspm/UserRoles.json @@ -263,9 +263,6 @@ }, "403": { "description": "unauthorized_access" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -301,9 +298,6 @@ }, "403": { "description": "unauthorized_access" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -340,9 +334,6 @@ }, "403": { "description": "unauthorized_access" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -439,9 +430,6 @@ }, "403": { "description": "unauthorized_access" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -488,9 +476,6 @@ }, "403": { "description": "unauthorized_access" - }, - "500": { - "description": "internal_error" } }, "security": [ @@ -526,9 +511,6 @@ }, "403": { "description": "unauthorized_access" - }, - "500": { - "description": "internal_error" } }, "security": [ diff --git a/openapi-specs/cspm/adjustSpecFilesForPanDev.sh b/openapi-specs/cspm/adjustSpecFilesForPanDev.sh index e40da9e68..5e1336427 100755 --- a/openapi-specs/cspm/adjustSpecFilesForPanDev.sh +++ b/openapi-specs/cspm/adjustSpecFilesForPanDev.sh @@ -61,6 +61,8 @@ for file in *.json; do # delete code snippets jq '.paths |= del(.[][]."x-codeSamples")' | \ + jq '.paths |= del(.[][].responses | .[keys[] | select(contains("5xx","5XX","500", "501", "502","503", "504", "505", "506", "507", "508","509","510","511", "529", "530","598","599"))])' | \ + # add server urls jq '.servers |= [ {"url":"https://api.prismacloud.io"}, diff --git a/openapi-specs/cspm/code2cloudMicroService.json b/openapi-specs/cspm/code2cloudMicroService.json index 69e2af546..7bdc10322 100644 --- a/openapi-specs/cspm/code2cloudMicroService.json +++ b/openapi-specs/cspm/code2cloudMicroService.json @@ -58,19 +58,6 @@ }, "429": { "description": "Too Many Requests" - }, - "500": { - "description": "Internal Server Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "503": { - "description": "Service unavailable" } }, "security": [ @@ -129,19 +116,6 @@ }, "429": { "description": "Too Many Requests" - }, - "500": { - "description": "Internal Server Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "503": { - "description": "Service unavailable" } }, "security": [