From ec196d332f4437f45fd2f8a6b73a046507fd56d5 Mon Sep 17 00:00:00 2001 From: manukumar6 Date: Mon, 27 Jan 2025 20:54:01 +0530 Subject: [PATCH 1/3] update for DIGX-4469 --- openapi-specs/dspm/dspm.json | 8005 ++++++++++++++++++---------------- 1 file changed, 4346 insertions(+), 3659 deletions(-) diff --git a/openapi-specs/dspm/dspm.json b/openapi-specs/dspm/dspm.json index 875f0d305..aeeac59d6 100644 --- a/openapi-specs/dspm/dspm.json +++ b/openapi-specs/dspm/dspm.json @@ -1,3744 +1,4431 @@ { - "openapi": "3.0.1", - "info": { - "title": "Data Security Posture Management (DSPM) APIs", - "description": { + "openapi": "3.0.1", + "info": { + "title": "Data Security Posture Management (DSPM) APIs", + "description": { "$ref": "desc/intro.md" }, - "version": "1.0.0" - }, - "servers": [ - { - "url": "https://api.dig.security", - "description": "Dig Security public API" - }, + "version": "1.0.0" + }, + "servers": [ + { + "url": "https://api.dig.security", + "description": "Dig Security public API" + }, { "url": "PATH_TO_CONSOLE" - } - ], - "paths": { - "/v1/classification/asset-files/id": { - "post": { - "tags": [ - "Classifications" - ], - "operationId": "post-classification-asset-files-id", - "parameters": [ - { - "name": "id", - "in": "query", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "required": false, - "schema": { - "type": "string", - "default": "1" - } - }, - { - "name": "size", - "in": "query", - "required": false, - "schema": { - "maximum": 150, - "type": "integer", - "default": 20 - } - }, - { - "name": "dig-api-key", - "in": "header", - "description": "Dig token header", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "string" - } - } - } - }, - "responses": { - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DigFileThirdPartyBundle" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DigFileThirdPartyBundle" - } - } - } - }, - "200": { - "description": "Returns list of asset files", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DigFileThirdPartyBundle" - } - } - } - } - }, + } + ], + "paths": { + "/v1/classification/asset-files/id": { + "post": { + "tags": [ + "Classifications" + ], + "operationId": "post-classification-asset-files-id", + "parameters": [ + { + "name": "id", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "page", + "in": "query", + "required": false, + "schema": { + "type": "string", + "default": "1" + } + }, + { + "name": "size", + "in": "query", + "required": false, + "schema": { + "maximum": 150, + "type": "integer", + "default": 20 + } + }, + { + "name": "dig-api-key", + "in": "header", + "description": "Dig token header", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ListFilesFilterBodyRequest" + } + } + } + }, + "responses": { + "200": { + "description": "Returns list of asset files", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DigFileThirdPartyBundle" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DigFileThirdPartyBundle" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DigFileThirdPartyBundle" + } + } + } + } + }, "summary": "Get Asset file details by Id", "description": { - "$ref": "desc/classification/asset_files_id_post.md" - } + "$ref": "desc/classification/asset_files_id_post.md" + } + } + }, + "/v1/classification/asset-fields/id": { + "post": { + "tags": [ + "Classifications" + ], + "operationId": "post-classification-asset-fields-id", + "parameters": [ + { + "name": "id", + "in": "query", + "required": true, + "schema": { + "type": "string" } + }, + { + "name": "page", + "in": "query", + "required": false, + "schema": { + "type": "string", + "default": "1" + } + }, + { + "name": "size", + "in": "query", + "required": false, + "schema": { + "maximum": 150, + "type": "integer", + "default": 20 + } + }, + { + "name": "dig-api-key", + "in": "header", + "description": "Dig token header", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ListFieldsFilterBodyRequest" + } + } + } }, - "/v1/classification/asset-fields/id": { - "post": { - "tags": [ - "Classifications" - ], - "operationId": "post-classification-asset-fields-id", - "parameters": [ - { - "name": "id", - "in": "query", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "required": false, - "schema": { - "type": "string", - "default": "1" - } - }, - { - "name": "size", - "in": "query", - "required": false, - "schema": { - "maximum": 150, - "type": "integer", - "default": 20 - } - }, - { - "name": "dig-api-key", - "in": "header", - "description": "Dig token header", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "string" - } - } - } - }, - "responses": { - "200": { - "description": "Returns list of asset fields", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DBContents" - } - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DBContents" - } - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DBContents" - } - } - } - } - } - }, + "responses": { + "200": { + "description": "Returns list of asset fields", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/DBContents" + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/DBContents" + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/DBContents" + } + } + } + } + } + }, "summary": "Get Asset fields details by Id", "description": { "$ref": "desc/classification/asset_fields_id_post.md" + } + } + }, + "/v1/risk-findings/id/{id}/status/{status}": { + "patch": { + "tags": [ + "Risks" + ], + "operationId": "patch-risk-findings-id-id-status-status", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "status", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "OPEN", + "CLOSED", + "UNIMPORTANT", + "WRONG", + "HANDLED", + "INVESTIGATING" + ] + } + }, + { + "name": "dig-api-key", + "in": "header", + "description": "Dig token header", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateRiskDetectionResponseDTO" } + } } - }, - "/v1/risk-findings/id/{id}/status/{status}": { - "patch": { - "tags": [ - "Risks" - ], - "operationId": "patch-risk-findings-id-id-status-status", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "in": "path", - "required": true, - "schema": { - "type": "string", - "enum": [ - "OPEN", - "CLOSED", - "UNIMPORTANT", - "WRONG", - "HANDLED", - "INVESTIGATING" - ] - } - }, - { - "name": "dig-api-key", - "in": "header", - "description": "Dig token header", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdateRiskDetectionResponseDTO" - } - } - } - } - }, + } + }, "summary": "Update Risk Finding Status", "description": { "$ref": "desc/risk-findings/risk-findings_id_status_patch.md" + } + } + }, + "/v1/alerts/id/{id}/status/{status}": { + "patch": { + "tags": [ + "Alerts" + ], + "operationId": "patch-alerts-id-id-status-status", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "status", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "OPEN", + "UNIMPORTANT", + "WRONG", + "HANDLED", + "INVESTIGATING" + ] + } + }, + { + "name": "dig-api-key", + "in": "header", + "description": "Dig token header", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateAlertStatusResponseDTO" } + } } - }, - "/v1/alerts/id/{id}/status/{status}": { - "patch": { - "tags": [ - "Alerts" - ], - "operationId": "patch-alerts-id-id-status-status", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "status", - "in": "path", - "required": true, - "schema": { - "type": "string", - "enum": [ - "OPEN", - "UNIMPORTANT", - "WRONG", - "HANDLED", - "INVESTIGATING" - ] - } - }, - { - "name": "dig-api-key", - "in": "header", - "description": "Dig token header", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdateAlertStatusResponseDTO" - } - } - } - } - }, + } + }, "summary": "Update Alert Status", "description": { "$ref": "desc/alerts/alerts_id_status_patch.md" + } + } + }, + "/v1/risk-findings": { + "get": { + "tags": [ + "Risks" + ], + "operationId": "get-risk-findings", + "parameters": [ + { + "name": "ruleName.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + { + "name": "ruleName.equals", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "dspmTagKey.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + { + "name": "dspmTagKey.equals", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "dspmTagValue.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + { + "name": "dspmTagValue.equals", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "projectId.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + { + "name": "projectId.equals", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "cloudProvider.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "AWS", + "AZURE", + "GCP", + "SNOWFLAKE", + "FILE_SHARE", + "O365" + ] + } + } + }, + { + "name": "cloudProvider.equals", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "AWS", + "AZURE", + "GCP", + "SNOWFLAKE", + "FILE_SHARE", + "O365" + ] + } + }, + { + "name": "affects.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "SECURITY", + "COMPLIANCE", + "GOVERNANCE", + "SECURITY_AND_COMPLIANCE", + "SECURITY_AND_GOVERNANCE", + "COMPLIANCE_AND_GOVERNANCE", + "SECURITY_AND_COMPLIANCE_AND_GOVERNANCE" + ] + } + } + }, + { + "name": "affects.equals", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "SECURITY", + "COMPLIANCE", + "GOVERNANCE", + "SECURITY_AND_COMPLIANCE", + "SECURITY_AND_GOVERNANCE", + "COMPLIANCE_AND_GOVERNANCE", + "SECURITY_AND_COMPLIANCE_AND_GOVERNANCE" + ] + } + }, + { + "name": "status.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "OPEN", + "CLOSED", + "UNIMPORTANT", + "WRONG", + "HANDLED", + "INVESTIGATING" + ] + } + } + }, + { + "name": "status.equals", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "OPEN", + "CLOSED", + "UNIMPORTANT", + "WRONG", + "HANDLED", + "INVESTIGATING" + ] + } + }, + { + "name": "severity.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "LOW", + "MEDIUM", + "HIGH" + ] + } + } + }, + { + "name": "severity.equals", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "LOW", + "MEDIUM", + "HIGH" + ] + } + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + { + "name": "page", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "size", + "in": "query", + "required": false, + "schema": { + "maximum": 50, + "type": "integer", + "default": 20 + } + }, + { + "name": "dig-api-key", + "in": "header", + "description": "Dig token header", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Returns a list of risk findings", + "headers": { + "X-Total-Count": { + "description": "The total number of items in the page", + "style": "simple", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RiskDetectionsDTO" + } } + } } - }, - "/v1/risk-findings": { - "get": { - "tags": [ - "Risks" - ], - "operationId": "get-risk-findings", - "parameters": [ - { - "name": "ruleName.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - { - "name": "ruleName.equals", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "dspmTagKey.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - { - "name": "dspmTagKey.equals", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "dspmTagValue.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - { - "name": "dspmTagValue.equals", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "projectId.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - { - "name": "projectId.equals", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "cloudProvider.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "AWS", - "AZURE", - "GCP", - "SNOWFLAKE", - "FILE_SHARE", - "O365" - ] - } - } - }, - { - "name": "cloudProvider.equals", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "AWS", - "AZURE", - "GCP", - "SNOWFLAKE", - "FILE_SHARE", - "O365" - ] - } - }, - { - "name": "affects.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "SECURITY", - "COMPLIANCE", - "GOVERNANCE", - "SECURITY_AND_COMPLIANCE", - "SECURITY_AND_GOVERNANCE", - "COMPLIANCE_AND_GOVERNANCE", - "SECURITY_AND_COMPLIANCE_AND_GOVERNANCE" - ] - } - } - }, - { - "name": "affects.equals", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "SECURITY", - "COMPLIANCE", - "GOVERNANCE", - "SECURITY_AND_COMPLIANCE", - "SECURITY_AND_GOVERNANCE", - "COMPLIANCE_AND_GOVERNANCE", - "SECURITY_AND_COMPLIANCE_AND_GOVERNANCE" - ] - } - }, - { - "name": "status.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "OPEN", - "CLOSED", - "UNIMPORTANT", - "WRONG", - "HANDLED", - "INVESTIGATING" - ] - } - } - }, - { - "name": "status.equals", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "OPEN", - "CLOSED", - "UNIMPORTANT", - "WRONG", - "HANDLED", - "INVESTIGATING" - ] - } - }, - { - "name": "sort", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - { - "name": "page", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "size", - "in": "query", - "required": false, - "schema": { - "maximum": 50, - "type": "integer", - "default": 20 - } - }, - { - "name": "dig-api-key", - "in": "header", - "description": "Dig token header", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Returns a list of risk findings", - "headers": { - "X-Total-Count": { - "description": "The total number of items in the page", - "style": "simple", - "schema": { - "type": "integer" - } - } - }, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RiskDetectionsDTO" - } - } - } - } - } - }, + } + }, "summary": "Get a list of Risk findings", "description": { "$ref": "desc/risk-findings/get.md" + } + } + }, + "/v1/risk-findings/id/{id}": { + "get": { + "tags": [ + "Risks" + ], + "operationId": "get-risk-findings-id-id", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "dig-api-key", + "in": "header", + "description": "Dig token header", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RiskDetectionOfficialApiResponseDTO" } + } } - }, - "/v1/risk-findings/id/{id}": { - "get": { - "tags": [ - "Risks" - ], - "operationId": "get-risk-findings-id-id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "dig-api-key", - "in": "header", - "description": "Dig token header", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RiskDetectionOfficialApiResponseDTO" - } - } - } - } - }, + } + }, "summary": "Get a Risk finding by Id", "description": { "$ref": "desc/risk-findings/id_get.md" + } + } + }, + "/v1/labels": { + "get": { + "tags": [ + "Labels" + ], + "operationId": "get-labels", + "parameters": [ + { + "name": "dig-api-key", + "in": "header", + "description": "Dig token header", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Returns list of label names based on company", + "content": { + "application/json": { + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } } + } } - }, - "/v1/labels": { - "get": { - "tags": [ - "Labels" - ], - "operationId": "get-labels", - "parameters": [ - { - "name": "dig-api-key", - "in": "header", - "description": "Dig token header", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Returns list of label names based on company", - "content": { - "application/json": { - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - }, + } + }, "summary": "Get a list of Labels", "description": { "$ref": "desc/labels/get.md" + } + } + }, + "/v1/data-type-findings": { + "get": { + "tags": [ + "Data Type Findings" + ], + "operationId": "get-data-type-findings", + "parameters": [ + { + "name": "region.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + { + "name": "region.equals", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "projectId.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + { + "name": "projectId.equals", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "cloudProvider.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "AWS", + "AZURE", + "GCP", + "SNOWFLAKE", + "FILE_SHARE", + "O365" + ] + } + } + }, + { + "name": "cloudProvider.equals", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "AWS", + "AZURE", + "GCP", + "SNOWFLAKE", + "FILE_SHARE", + "O365" + ] + } + }, + { + "name": "serviceType.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ATHENA", + "AURORA", + "AWS_BACKUP", + "DOCUMENTDB", + "DYNAMODB", + "DAX", + "EMR", + "EBS", + "EFS", + "ELASTICACHE", + "FSX", + "KINESIS_DELIVERY_STREAM", + "MEMORYDB", + "NEPTUNE", + "QLDB", + "RDS", + "REDSHIFT", + "S3", + "TIMESTREAM", + "OPENSEARCH", + "OPENSEARCH_SERVERLESS", + "COSMOS_DB", + "SYNAPSE", + "CACHE_FOR_REDIS", + "MARIA_DB", + "MYSQL_SERVER", + "POSTGRESQL_SERVER", + "SQL_SERVER", + "STORAGE_ACCOUNT", + "SQL_MANAGED_INSTANCE", + "ANF", + "CLOUD_STORAGE", + "CLOUD_SQL", + "BIG_QUERY", + "FILE_STORE", + "CLOUD_SPANNER", + "MEMORY_STORE", + "BIG_TABLE", + "FIRE_STORE", + "UNMANAGED_AWS_MYSQL", + "UNMANAGED_AWS_ORACLE_SERVER", + "UNMANAGED_AWS_MONGO_DB", + "UNMANAGED_AWS_POSTGRESQL", + "UNMANAGED_AWS_REDIS", + "UNMANAGED_AWS_SQLITE", + "UNMANAGED_AWS_MS_SQL", + "UNMANAGED_AWS_MARIA_DB", + "UNMANAGED_AWS_NEO4_J", + "UNMANAGED_AWS_ELASTIC", + "UNMANAGED_AWS_COCKROACH_DB", + "UNMANAGED_AWS_AEROSPIKE", + "UNMANAGED_AWS_SCYLLA_DB", + "UNMANAGED_AZURE_MYSQL", + "UNMANAGED_AZURE_ORACLE_SERVER", + "UNMANAGED_AZURE_MONGO_DB", + "UNMANAGED_AZURE_POSTGRESQL", + "UNMANAGED_AZURE_REDIS", + "UNMANAGED_AZURE_SQLITE", + "UNMANAGED_AZURE_MS_SQL", + "UNMANAGED_AZURE_MARIA_DB", + "UNMANAGED_AZURE_NEO4_J", + "UNMANAGED_AZURE_ELASTIC", + "UNMANAGED_AZURE_COCKROACH_DB", + "UNMANAGED_AZURE_AEROSPIKE", + "UNMANAGED_AZURE_SCYLLA_DB", + "UNMANAGED_GCP_MYSQL", + "UNMANAGED_GCP_ORACLE_SERVER", + "UNMANAGED_GCP_MONGO_DB", + "UNMANAGED_GCP_POSTGRESQL", + "UNMANAGED_GCP_REDIS", + "UNMANAGED_GCP_SQLITE", + "UNMANAGED_GCP_MS_SQL", + "UNMANAGED_GCP_MARIA_DB", + "UNMANAGED_GCP_NEO4_J", + "UNMANAGED_GCP_ELASTIC", + "UNMANAGED_GCP_COCKROACH_DB", + "UNMANAGED_GCP_AEROSPIKE", + "UNMANAGED_GCP_SCYLLA_DB", + "SNOWFLAKE_DB", + "FILE_SHARE", + "ONE_DRIVE", + "SHARE_POINT", + "AZURE_OPEN_AI_DEPLOYMENT", + "VERTEX_ENDPOINT", + "BEDROCK_PROVISIONED_THROUGHPUT", + "BEDROCK_AGENT", + "UNMANAGED_AI_AWS_FALCON", + "UNMANAGED_AI_AWS_LLAMA", + "UNMANAGED_AI_AWS_TRANSFORMERSLLAMA", + "UNMANAGED_AI_AWS_GEMMA", + "UNMANAGED_AI_AWS_GPT2", + "UNMANAGED_AI_AWS_MISTRAL", + "UNMANAGED_AI_AWS_PHI", + "UNMANAGED_AI_AWS_QWEN2", + "UNMANAGED_AI_AWS_ROBERTA", + "UNMANAGED_AI_AWS_JAMBA" + ] + } + } + }, + { + "name": "serviceType.equals", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "ATHENA", + "AURORA", + "AWS_BACKUP", + "DOCUMENTDB", + "DYNAMODB", + "DAX", + "EMR", + "EBS", + "EFS", + "ELASTICACHE", + "FSX", + "KINESIS_DELIVERY_STREAM", + "MEMORYDB", + "NEPTUNE", + "QLDB", + "RDS", + "REDSHIFT", + "S3", + "TIMESTREAM", + "OPENSEARCH", + "OPENSEARCH_SERVERLESS", + "COSMOS_DB", + "SYNAPSE", + "CACHE_FOR_REDIS", + "MARIA_DB", + "MYSQL_SERVER", + "POSTGRESQL_SERVER", + "SQL_SERVER", + "STORAGE_ACCOUNT", + "SQL_MANAGED_INSTANCE", + "ANF", + "CLOUD_STORAGE", + "CLOUD_SQL", + "BIG_QUERY", + "FILE_STORE", + "CLOUD_SPANNER", + "MEMORY_STORE", + "BIG_TABLE", + "FIRE_STORE", + "UNMANAGED_AWS_MYSQL", + "UNMANAGED_AWS_ORACLE_SERVER", + "UNMANAGED_AWS_MONGO_DB", + "UNMANAGED_AWS_POSTGRESQL", + "UNMANAGED_AWS_REDIS", + "UNMANAGED_AWS_SQLITE", + "UNMANAGED_AWS_MS_SQL", + "UNMANAGED_AWS_MARIA_DB", + "UNMANAGED_AWS_NEO4_J", + "UNMANAGED_AWS_ELASTIC", + "UNMANAGED_AWS_COCKROACH_DB", + "UNMANAGED_AWS_AEROSPIKE", + "UNMANAGED_AWS_SCYLLA_DB", + "UNMANAGED_AZURE_MYSQL", + "UNMANAGED_AZURE_ORACLE_SERVER", + "UNMANAGED_AZURE_MONGO_DB", + "UNMANAGED_AZURE_POSTGRESQL", + "UNMANAGED_AZURE_REDIS", + "UNMANAGED_AZURE_SQLITE", + "UNMANAGED_AZURE_MS_SQL", + "UNMANAGED_AZURE_MARIA_DB", + "UNMANAGED_AZURE_NEO4_J", + "UNMANAGED_AZURE_ELASTIC", + "UNMANAGED_AZURE_COCKROACH_DB", + "UNMANAGED_AZURE_AEROSPIKE", + "UNMANAGED_AZURE_SCYLLA_DB", + "UNMANAGED_GCP_MYSQL", + "UNMANAGED_GCP_ORACLE_SERVER", + "UNMANAGED_GCP_MONGO_DB", + "UNMANAGED_GCP_POSTGRESQL", + "UNMANAGED_GCP_REDIS", + "UNMANAGED_GCP_SQLITE", + "UNMANAGED_GCP_MS_SQL", + "UNMANAGED_GCP_MARIA_DB", + "UNMANAGED_GCP_NEO4_J", + "UNMANAGED_GCP_ELASTIC", + "UNMANAGED_GCP_COCKROACH_DB", + "UNMANAGED_GCP_AEROSPIKE", + "UNMANAGED_GCP_SCYLLA_DB", + "SNOWFLAKE_DB", + "FILE_SHARE", + "ONE_DRIVE", + "SHARE_POINT", + "AZURE_OPEN_AI_DEPLOYMENT", + "VERTEX_ENDPOINT", + "BEDROCK_PROVISIONED_THROUGHPUT", + "BEDROCK_AGENT", + "UNMANAGED_AI_AWS_FALCON", + "UNMANAGED_AI_AWS_LLAMA", + "UNMANAGED_AI_AWS_TRANSFORMERSLLAMA", + "UNMANAGED_AI_AWS_GEMMA", + "UNMANAGED_AI_AWS_GPT2", + "UNMANAGED_AI_AWS_MISTRAL", + "UNMANAGED_AI_AWS_PHI", + "UNMANAGED_AI_AWS_QWEN2", + "UNMANAGED_AI_AWS_ROBERTA", + "UNMANAGED_AI_AWS_JAMBA" + ] + } + }, + { + "name": "lifecycle.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "RUNNING", + "STOPPED", + "DELETED" + ] + } + } + }, + { + "name": "lifecycle.equals", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "RUNNING", + "STOPPED", + "DELETED" + ] + } + }, + { + "name": "sort", + "in": "query", + "description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.", + "required": false, + "schema": { + "type": "string", + } + }, + { + "name": "page", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "size", + "in": "query", + "required": false, + "schema": { + "maximum": 50, + "type": "integer", + "default": 20 + } + }, + { + "name": "dig-api-key", + "in": "header", + "description": "Dig token header", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Returns company findings", + "headers": { + "X-Total-Count": { + "description": "The total number of items in the page", + "style": "simple", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/EntitiesDTO" + } } + } } - }, - "/v1/data-type-findings": { - "get": { - "tags": [ - "Data Type Findings" - ], - "operationId": "get-data-type-findings", - "parameters": [ - { - "name": "region.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - { - "name": "region.equals", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "projectId.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - { - "name": "projectId.equals", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "cloudProvider.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "AWS", - "AZURE", - "GCP", - "SNOWFLAKE", - "FILE_SHARE", - "O365" - ] - } - } - }, - { - "name": "cloudProvider.equals", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "AWS", - "AZURE", - "GCP", - "SNOWFLAKE", - "FILE_SHARE", - "O365" - ] - } - }, - { - "name": "serviceType.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ATHENA", - "AURORA", - "AWS_BACKUP", - "DOCUMENTDB", - "DYNAMODB", - "DAX", - "EMR", - "EBS", - "EFS", - "ELASTICACHE", - "FSX", - "KINESIS_DELIVERY_STREAM", - "MEMORYDB", - "NEPTUNE", - "QLDB", - "RDS", - "REDSHIFT", - "S3", - "TIMESTREAM", - "OPENSEARCH", - "OPENSEARCH_SERVERLESS", - "COSMOS_DB", - "SYNAPSE", - "CACHE_FOR_REDIS", - "MARIA_DB", - "MYSQL_SERVER", - "POSTGRESQL_SERVER", - "SQL_SERVER", - "STORAGE_ACCOUNT", - "SQL_MANAGED_INSTANCE", - "ANF", - "CLOUD_STORAGE", - "CLOUD_SQL", - "BIG_QUERY", - "FILE_STORE", - "CLOUD_SPANNER", - "MEMORY_STORE", - "BIG_TABLE", - "FIRE_STORE", - "UNMANAGED_AWS_MYSQL", - "UNMANAGED_AWS_ORACLE_SERVER", - "UNMANAGED_AWS_MONGO_DB", - "UNMANAGED_AWS_POSTGRESQL", - "UNMANAGED_AWS_REDIS", - "UNMANAGED_AWS_SQLITE", - "UNMANAGED_AWS_MS_SQL", - "UNMANAGED_AWS_MARIA_DB", - "UNMANAGED_AWS_NEO4_J", - "UNMANAGED_AWS_ELASTIC", - "UNMANAGED_AWS_COCKROACH_DB", - "UNMANAGED_AWS_AEROSPIKE", - "UNMANAGED_AWS_SCYLLA_DB", - "UNMANAGED_AZURE_MYSQL", - "UNMANAGED_AZURE_ORACLE_SERVER", - "UNMANAGED_AZURE_MONGO_DB", - "UNMANAGED_AZURE_POSTGRESQL", - "UNMANAGED_AZURE_REDIS", - "UNMANAGED_AZURE_SQLITE", - "UNMANAGED_AZURE_MS_SQL", - "UNMANAGED_AZURE_MARIA_DB", - "UNMANAGED_AZURE_NEO4_J", - "UNMANAGED_AZURE_ELASTIC", - "UNMANAGED_AZURE_COCKROACH_DB", - "UNMANAGED_AZURE_AEROSPIKE", - "UNMANAGED_AZURE_SCYLLA_DB", - "UNMANAGED_GCP_MYSQL", - "UNMANAGED_GCP_ORACLE_SERVER", - "UNMANAGED_GCP_MONGO_DB", - "UNMANAGED_GCP_POSTGRESQL", - "UNMANAGED_GCP_REDIS", - "UNMANAGED_GCP_SQLITE", - "UNMANAGED_GCP_MS_SQL", - "UNMANAGED_GCP_MARIA_DB", - "UNMANAGED_GCP_NEO4_J", - "UNMANAGED_GCP_ELASTIC", - "UNMANAGED_GCP_COCKROACH_DB", - "UNMANAGED_GCP_AEROSPIKE", - "UNMANAGED_GCP_SCYLLA_DB", - "SNOWFLAKE_DB", - "FILE_SHARE", - "ONE_DRIVE", - "SHARE_POINT", - "AZURE_OPEN_AI_DEPLOYMENT", - "VERTEX_ENDPOINT", - "BEDROCK_PROVISIONED_THROUGHPUT", - "BEDROCK_AGENT" - ] - } - } - }, - { - "name": "serviceType.equals", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "ATHENA", - "AURORA", - "AWS_BACKUP", - "DOCUMENTDB", - "DYNAMODB", - "DAX", - "EMR", - "EBS", - "EFS", - "ELASTICACHE", - "FSX", - "KINESIS_DELIVERY_STREAM", - "MEMORYDB", - "NEPTUNE", - "QLDB", - "RDS", - "REDSHIFT", - "S3", - "TIMESTREAM", - "OPENSEARCH", - "OPENSEARCH_SERVERLESS", - "COSMOS_DB", - "SYNAPSE", - "CACHE_FOR_REDIS", - "MARIA_DB", - "MYSQL_SERVER", - "POSTGRESQL_SERVER", - "SQL_SERVER", - "STORAGE_ACCOUNT", - "SQL_MANAGED_INSTANCE", - "ANF", - "CLOUD_STORAGE", - "CLOUD_SQL", - "BIG_QUERY", - "FILE_STORE", - "CLOUD_SPANNER", - "MEMORY_STORE", - "BIG_TABLE", - "FIRE_STORE", - "UNMANAGED_AWS_MYSQL", - "UNMANAGED_AWS_ORACLE_SERVER", - "UNMANAGED_AWS_MONGO_DB", - "UNMANAGED_AWS_POSTGRESQL", - "UNMANAGED_AWS_REDIS", - "UNMANAGED_AWS_SQLITE", - "UNMANAGED_AWS_MS_SQL", - "UNMANAGED_AWS_MARIA_DB", - "UNMANAGED_AWS_NEO4_J", - "UNMANAGED_AWS_ELASTIC", - "UNMANAGED_AWS_COCKROACH_DB", - "UNMANAGED_AWS_AEROSPIKE", - "UNMANAGED_AWS_SCYLLA_DB", - "UNMANAGED_AZURE_MYSQL", - "UNMANAGED_AZURE_ORACLE_SERVER", - "UNMANAGED_AZURE_MONGO_DB", - "UNMANAGED_AZURE_POSTGRESQL", - "UNMANAGED_AZURE_REDIS", - "UNMANAGED_AZURE_SQLITE", - "UNMANAGED_AZURE_MS_SQL", - "UNMANAGED_AZURE_MARIA_DB", - "UNMANAGED_AZURE_NEO4_J", - "UNMANAGED_AZURE_ELASTIC", - "UNMANAGED_AZURE_COCKROACH_DB", - "UNMANAGED_AZURE_AEROSPIKE", - "UNMANAGED_AZURE_SCYLLA_DB", - "UNMANAGED_GCP_MYSQL", - "UNMANAGED_GCP_ORACLE_SERVER", - "UNMANAGED_GCP_MONGO_DB", - "UNMANAGED_GCP_POSTGRESQL", - "UNMANAGED_GCP_REDIS", - "UNMANAGED_GCP_SQLITE", - "UNMANAGED_GCP_MS_SQL", - "UNMANAGED_GCP_MARIA_DB", - "UNMANAGED_GCP_NEO4_J", - "UNMANAGED_GCP_ELASTIC", - "UNMANAGED_GCP_COCKROACH_DB", - "UNMANAGED_GCP_AEROSPIKE", - "UNMANAGED_GCP_SCYLLA_DB", - "SNOWFLAKE_DB", - "FILE_SHARE", - "ONE_DRIVE", - "SHARE_POINT", - "AZURE_OPEN_AI_DEPLOYMENT", - "VERTEX_ENDPOINT", - "BEDROCK_PROVISIONED_THROUGHPUT", - "BEDROCK_AGENT" - ] - } - }, - { - "name": "lifecycle.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "RUNNING", - "STOPPED", - "DELETED" - ] - } - } - }, - { - "name": "lifecycle.equals", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "RUNNING", - "STOPPED", - "DELETED" - ] - } - }, - { - "name": "sort", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - { - "name": "page", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "size", - "in": "query", - "required": false, - "schema": { - "maximum": 50, - "type": "integer", - "default": 20 - } - }, - { - "name": "dig-api-key", - "in": "header", - "description": "Dig token header", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Returns company findings", - "headers": { - "X-Total-Count": { - "description": "The total number of items in the page", - "style": "simple", - "schema": { - "type": "integer" - } - } - }, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/EntitiesDTO" - } - } - } - } - } - }, + } + }, "summary": "Get a list of Data Type Findings", "description": { "$ref": "desc/data-type-findings/get.md" + } + } + }, + "/v1/classification/data-types": { + "get": { + "tags": [ + "Classifications" + ], + "operationId": "get-classification-data-types", + "parameters": [ + { + "name": "dig-api-key", + "in": "header", + "description": "Dig token header", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Returns list of data types for company", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } } + } } - }, - "/v1/classification/data-types": { - "get": { - "tags": [ - "Classifications" - ], - "operationId": "get-classification-data-types", - "parameters": [ - { - "name": "dig-api-key", - "in": "header", - "description": "Dig token header", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Returns list of data types for company", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - }, + } + }, "summary": "Get Data Types by Id", "description": { "$ref": "desc/classification/data_types_id_get.md" + } + } + }, + "/v1/assets": { + "get": { + "tags": [ + "Assets" + ], + "operationId": "get-assets", + "parameters": [ + { + "name": "region.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + { + "name": "region.equals", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "cloudProvider.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "AWS", + "AZURE", + "GCP", + "SNOWFLAKE", + "FILE_SHARE", + "O365" + ] + } + } + }, + { + "name": "cloudProvider.equals", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "AWS", + "AZURE", + "GCP", + "SNOWFLAKE", + "FILE_SHARE", + "O365" + ] + } + }, + { + "name": "serviceType.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ATHENA", + "AURORA", + "AWS_BACKUP", + "DOCUMENTDB", + "DYNAMODB", + "DAX", + "EMR", + "EBS", + "EFS", + "ELASTICACHE", + "FSX", + "KINESIS_DELIVERY_STREAM", + "MEMORYDB", + "NEPTUNE", + "QLDB", + "RDS", + "REDSHIFT", + "S3", + "TIMESTREAM", + "OPENSEARCH", + "OPENSEARCH_SERVERLESS", + "COSMOS_DB", + "SYNAPSE", + "CACHE_FOR_REDIS", + "MARIA_DB", + "MYSQL_SERVER", + "POSTGRESQL_SERVER", + "SQL_SERVER", + "STORAGE_ACCOUNT", + "SQL_MANAGED_INSTANCE", + "ANF", + "CLOUD_STORAGE", + "CLOUD_SQL", + "BIG_QUERY", + "FILE_STORE", + "CLOUD_SPANNER", + "MEMORY_STORE", + "BIG_TABLE", + "FIRE_STORE", + "UNMANAGED_AWS_MYSQL", + "UNMANAGED_AWS_ORACLE_SERVER", + "UNMANAGED_AWS_MONGO_DB", + "UNMANAGED_AWS_POSTGRESQL", + "UNMANAGED_AWS_REDIS", + "UNMANAGED_AWS_SQLITE", + "UNMANAGED_AWS_MS_SQL", + "UNMANAGED_AWS_MARIA_DB", + "UNMANAGED_AWS_NEO4_J", + "UNMANAGED_AWS_ELASTIC", + "UNMANAGED_AWS_COCKROACH_DB", + "UNMANAGED_AWS_AEROSPIKE", + "UNMANAGED_AWS_SCYLLA_DB", + "UNMANAGED_AZURE_MYSQL", + "UNMANAGED_AZURE_ORACLE_SERVER", + "UNMANAGED_AZURE_MONGO_DB", + "UNMANAGED_AZURE_POSTGRESQL", + "UNMANAGED_AZURE_REDIS", + "UNMANAGED_AZURE_SQLITE", + "UNMANAGED_AZURE_MS_SQL", + "UNMANAGED_AZURE_MARIA_DB", + "UNMANAGED_AZURE_NEO4_J", + "UNMANAGED_AZURE_ELASTIC", + "UNMANAGED_AZURE_COCKROACH_DB", + "UNMANAGED_AZURE_AEROSPIKE", + "UNMANAGED_AZURE_SCYLLA_DB", + "UNMANAGED_GCP_MYSQL", + "UNMANAGED_GCP_ORACLE_SERVER", + "UNMANAGED_GCP_MONGO_DB", + "UNMANAGED_GCP_POSTGRESQL", + "UNMANAGED_GCP_REDIS", + "UNMANAGED_GCP_SQLITE", + "UNMANAGED_GCP_MS_SQL", + "UNMANAGED_GCP_MARIA_DB", + "UNMANAGED_GCP_NEO4_J", + "UNMANAGED_GCP_ELASTIC", + "UNMANAGED_GCP_COCKROACH_DB", + "UNMANAGED_GCP_AEROSPIKE", + "UNMANAGED_GCP_SCYLLA_DB", + "SNOWFLAKE_DB", + "FILE_SHARE", + "ONE_DRIVE", + "SHARE_POINT", + "AZURE_OPEN_AI_DEPLOYMENT", + "VERTEX_ENDPOINT", + "BEDROCK_PROVISIONED_THROUGHPUT", + "BEDROCK_AGENT", + "UNMANAGED_AI_AWS_FALCON", + "UNMANAGED_AI_AWS_LLAMA", + "UNMANAGED_AI_AWS_TRANSFORMERSLLAMA", + "UNMANAGED_AI_AWS_GEMMA", + "UNMANAGED_AI_AWS_GPT2", + "UNMANAGED_AI_AWS_MISTRAL", + "UNMANAGED_AI_AWS_PHI", + "UNMANAGED_AI_AWS_QWEN2", + "UNMANAGED_AI_AWS_ROBERTA", + "UNMANAGED_AI_AWS_JAMBA" + ] + } + } + }, + { + "name": "serviceType.equals", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "ATHENA", + "AURORA", + "AWS_BACKUP", + "DOCUMENTDB", + "DYNAMODB", + "DAX", + "EMR", + "EBS", + "EFS", + "ELASTICACHE", + "FSX", + "KINESIS_DELIVERY_STREAM", + "MEMORYDB", + "NEPTUNE", + "QLDB", + "RDS", + "REDSHIFT", + "S3", + "TIMESTREAM", + "OPENSEARCH", + "OPENSEARCH_SERVERLESS", + "COSMOS_DB", + "SYNAPSE", + "CACHE_FOR_REDIS", + "MARIA_DB", + "MYSQL_SERVER", + "POSTGRESQL_SERVER", + "SQL_SERVER", + "STORAGE_ACCOUNT", + "SQL_MANAGED_INSTANCE", + "ANF", + "CLOUD_STORAGE", + "CLOUD_SQL", + "BIG_QUERY", + "FILE_STORE", + "CLOUD_SPANNER", + "MEMORY_STORE", + "BIG_TABLE", + "FIRE_STORE", + "UNMANAGED_AWS_MYSQL", + "UNMANAGED_AWS_ORACLE_SERVER", + "UNMANAGED_AWS_MONGO_DB", + "UNMANAGED_AWS_POSTGRESQL", + "UNMANAGED_AWS_REDIS", + "UNMANAGED_AWS_SQLITE", + "UNMANAGED_AWS_MS_SQL", + "UNMANAGED_AWS_MARIA_DB", + "UNMANAGED_AWS_NEO4_J", + "UNMANAGED_AWS_ELASTIC", + "UNMANAGED_AWS_COCKROACH_DB", + "UNMANAGED_AWS_AEROSPIKE", + "UNMANAGED_AWS_SCYLLA_DB", + "UNMANAGED_AZURE_MYSQL", + "UNMANAGED_AZURE_ORACLE_SERVER", + "UNMANAGED_AZURE_MONGO_DB", + "UNMANAGED_AZURE_POSTGRESQL", + "UNMANAGED_AZURE_REDIS", + "UNMANAGED_AZURE_SQLITE", + "UNMANAGED_AZURE_MS_SQL", + "UNMANAGED_AZURE_MARIA_DB", + "UNMANAGED_AZURE_NEO4_J", + "UNMANAGED_AZURE_ELASTIC", + "UNMANAGED_AZURE_COCKROACH_DB", + "UNMANAGED_AZURE_AEROSPIKE", + "UNMANAGED_AZURE_SCYLLA_DB", + "UNMANAGED_GCP_MYSQL", + "UNMANAGED_GCP_ORACLE_SERVER", + "UNMANAGED_GCP_MONGO_DB", + "UNMANAGED_GCP_POSTGRESQL", + "UNMANAGED_GCP_REDIS", + "UNMANAGED_GCP_SQLITE", + "UNMANAGED_GCP_MS_SQL", + "UNMANAGED_GCP_MARIA_DB", + "UNMANAGED_GCP_NEO4_J", + "UNMANAGED_GCP_ELASTIC", + "UNMANAGED_GCP_COCKROACH_DB", + "UNMANAGED_GCP_AEROSPIKE", + "UNMANAGED_GCP_SCYLLA_DB", + "SNOWFLAKE_DB", + "FILE_SHARE", + "ONE_DRIVE", + "SHARE_POINT", + "AZURE_OPEN_AI_DEPLOYMENT", + "VERTEX_ENDPOINT", + "BEDROCK_PROVISIONED_THROUGHPUT", + "BEDROCK_AGENT", + "UNMANAGED_AI_AWS_FALCON", + "UNMANAGED_AI_AWS_LLAMA", + "UNMANAGED_AI_AWS_TRANSFORMERSLLAMA", + "UNMANAGED_AI_AWS_GEMMA", + "UNMANAGED_AI_AWS_GPT2", + "UNMANAGED_AI_AWS_MISTRAL", + "UNMANAGED_AI_AWS_PHI", + "UNMANAGED_AI_AWS_QWEN2", + "UNMANAGED_AI_AWS_ROBERTA", + "UNMANAGED_AI_AWS_JAMBA" + ] + } + }, + { + "name": "digTagKey.contains", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "digTagValue.contains", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "lifecycle.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "RUNNING", + "STOPPED", + "DELETED" + ] + } + } + }, + { + "name": "lifecycle.equals", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "RUNNING", + "STOPPED", + "DELETED" + ] + } + }, + { + "name": "label.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + { + "name": "label.equals", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "sort", + "in": "query", + "description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.", + "required": false, + "schema": { + "type": "string", + "description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported." + } + }, + { + "name": "page", + "in": "query", + "required": false, + "schema": { + "type": "string", + "default": "0" + } + }, + { + "name": "size", + "in": "query", + "required": false, + "schema": { + "maximum": 50, + "type": "integer", + "default": 20 + } + }, + { + "name": "dig-api-key", + "in": "header", + "description": "Dig token header", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Returns a list of assets", + "headers": { + "X-Total-Count": { + "description": "The total number of items in the page", + "style": "simple", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AssetDTO" + } } + } } - }, - "/v1/assets": { - "get": { - "tags": [ - "Assets" - ], - "operationId": "get-assets", - "parameters": [ - { - "name": "region.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - { - "name": "region.equals", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "cloudProvider.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "AWS", - "AZURE", - "GCP", - "SNOWFLAKE", - "FILE_SHARE", - "O365" - ] - } - } - }, - { - "name": "cloudProvider.equals", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "AWS", - "AZURE", - "GCP", - "SNOWFLAKE", - "FILE_SHARE", - "O365" - ] - } - }, - { - "name": "serviceType.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ATHENA", - "AURORA", - "AWS_BACKUP", - "DOCUMENTDB", - "DYNAMODB", - "DAX", - "EMR", - "EBS", - "EFS", - "ELASTICACHE", - "FSX", - "KINESIS_DELIVERY_STREAM", - "MEMORYDB", - "NEPTUNE", - "QLDB", - "RDS", - "REDSHIFT", - "S3", - "TIMESTREAM", - "OPENSEARCH", - "OPENSEARCH_SERVERLESS", - "COSMOS_DB", - "SYNAPSE", - "CACHE_FOR_REDIS", - "MARIA_DB", - "MYSQL_SERVER", - "POSTGRESQL_SERVER", - "SQL_SERVER", - "STORAGE_ACCOUNT", - "SQL_MANAGED_INSTANCE", - "ANF", - "CLOUD_STORAGE", - "CLOUD_SQL", - "BIG_QUERY", - "FILE_STORE", - "CLOUD_SPANNER", - "MEMORY_STORE", - "BIG_TABLE", - "FIRE_STORE", - "UNMANAGED_AWS_MYSQL", - "UNMANAGED_AWS_ORACLE_SERVER", - "UNMANAGED_AWS_MONGO_DB", - "UNMANAGED_AWS_POSTGRESQL", - "UNMANAGED_AWS_REDIS", - "UNMANAGED_AWS_SQLITE", - "UNMANAGED_AWS_MS_SQL", - "UNMANAGED_AWS_MARIA_DB", - "UNMANAGED_AWS_NEO4_J", - "UNMANAGED_AWS_ELASTIC", - "UNMANAGED_AWS_COCKROACH_DB", - "UNMANAGED_AWS_AEROSPIKE", - "UNMANAGED_AWS_SCYLLA_DB", - "UNMANAGED_AZURE_MYSQL", - "UNMANAGED_AZURE_ORACLE_SERVER", - "UNMANAGED_AZURE_MONGO_DB", - "UNMANAGED_AZURE_POSTGRESQL", - "UNMANAGED_AZURE_REDIS", - "UNMANAGED_AZURE_SQLITE", - "UNMANAGED_AZURE_MS_SQL", - "UNMANAGED_AZURE_MARIA_DB", - "UNMANAGED_AZURE_NEO4_J", - "UNMANAGED_AZURE_ELASTIC", - "UNMANAGED_AZURE_COCKROACH_DB", - "UNMANAGED_AZURE_AEROSPIKE", - "UNMANAGED_AZURE_SCYLLA_DB", - "UNMANAGED_GCP_MYSQL", - "UNMANAGED_GCP_ORACLE_SERVER", - "UNMANAGED_GCP_MONGO_DB", - "UNMANAGED_GCP_POSTGRESQL", - "UNMANAGED_GCP_REDIS", - "UNMANAGED_GCP_SQLITE", - "UNMANAGED_GCP_MS_SQL", - "UNMANAGED_GCP_MARIA_DB", - "UNMANAGED_GCP_NEO4_J", - "UNMANAGED_GCP_ELASTIC", - "UNMANAGED_GCP_COCKROACH_DB", - "UNMANAGED_GCP_AEROSPIKE", - "UNMANAGED_GCP_SCYLLA_DB", - "SNOWFLAKE_DB", - "FILE_SHARE", - "ONE_DRIVE", - "SHARE_POINT", - "AZURE_OPEN_AI_DEPLOYMENT", - "VERTEX_ENDPOINT", - "BEDROCK_PROVISIONED_THROUGHPUT", - "BEDROCK_AGENT" - ] - } - } - }, - { - "name": "serviceType.equals", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "ATHENA", - "AURORA", - "AWS_BACKUP", - "DOCUMENTDB", - "DYNAMODB", - "DAX", - "EMR", - "EBS", - "EFS", - "ELASTICACHE", - "FSX", - "KINESIS_DELIVERY_STREAM", - "MEMORYDB", - "NEPTUNE", - "QLDB", - "RDS", - "REDSHIFT", - "S3", - "TIMESTREAM", - "OPENSEARCH", - "OPENSEARCH_SERVERLESS", - "COSMOS_DB", - "SYNAPSE", - "CACHE_FOR_REDIS", - "MARIA_DB", - "MYSQL_SERVER", - "POSTGRESQL_SERVER", - "SQL_SERVER", - "STORAGE_ACCOUNT", - "SQL_MANAGED_INSTANCE", - "ANF", - "CLOUD_STORAGE", - "CLOUD_SQL", - "BIG_QUERY", - "FILE_STORE", - "CLOUD_SPANNER", - "MEMORY_STORE", - "BIG_TABLE", - "FIRE_STORE", - "UNMANAGED_AWS_MYSQL", - "UNMANAGED_AWS_ORACLE_SERVER", - "UNMANAGED_AWS_MONGO_DB", - "UNMANAGED_AWS_POSTGRESQL", - "UNMANAGED_AWS_REDIS", - "UNMANAGED_AWS_SQLITE", - "UNMANAGED_AWS_MS_SQL", - "UNMANAGED_AWS_MARIA_DB", - "UNMANAGED_AWS_NEO4_J", - "UNMANAGED_AWS_ELASTIC", - "UNMANAGED_AWS_COCKROACH_DB", - "UNMANAGED_AWS_AEROSPIKE", - "UNMANAGED_AWS_SCYLLA_DB", - "UNMANAGED_AZURE_MYSQL", - "UNMANAGED_AZURE_ORACLE_SERVER", - "UNMANAGED_AZURE_MONGO_DB", - "UNMANAGED_AZURE_POSTGRESQL", - "UNMANAGED_AZURE_REDIS", - "UNMANAGED_AZURE_SQLITE", - "UNMANAGED_AZURE_MS_SQL", - "UNMANAGED_AZURE_MARIA_DB", - "UNMANAGED_AZURE_NEO4_J", - "UNMANAGED_AZURE_ELASTIC", - "UNMANAGED_AZURE_COCKROACH_DB", - "UNMANAGED_AZURE_AEROSPIKE", - "UNMANAGED_AZURE_SCYLLA_DB", - "UNMANAGED_GCP_MYSQL", - "UNMANAGED_GCP_ORACLE_SERVER", - "UNMANAGED_GCP_MONGO_DB", - "UNMANAGED_GCP_POSTGRESQL", - "UNMANAGED_GCP_REDIS", - "UNMANAGED_GCP_SQLITE", - "UNMANAGED_GCP_MS_SQL", - "UNMANAGED_GCP_MARIA_DB", - "UNMANAGED_GCP_NEO4_J", - "UNMANAGED_GCP_ELASTIC", - "UNMANAGED_GCP_COCKROACH_DB", - "UNMANAGED_GCP_AEROSPIKE", - "UNMANAGED_GCP_SCYLLA_DB", - "SNOWFLAKE_DB", - "FILE_SHARE", - "ONE_DRIVE", - "SHARE_POINT", - "AZURE_OPEN_AI_DEPLOYMENT", - "VERTEX_ENDPOINT", - "BEDROCK_PROVISIONED_THROUGHPUT", - "BEDROCK_AGENT" - ] - } - }, - { - "name": "digTagKey.contains", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "digTagValue.contains", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "lifecycle.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "RUNNING", - "STOPPED", - "DELETED" - ] - } - } - }, - { - "name": "lifecycle.equals", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "RUNNING", - "STOPPED", - "DELETED" - ] - } - }, - { - "name": "sort", - "in": "query", - "description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.", - "required": false, - "schema": { - "type": "string", - "description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported." - } - }, - { - "name": "page", - "in": "query", - "required": false, - "schema": { - "type": "string", - "default": "0" - } - }, - { - "name": "size", - "in": "query", - "required": false, - "schema": { - "maximum": 50, - "type": "integer", - "default": 20 - } - }, - { - "name": "dig-api-key", - "in": "header", - "description": "Dig token header", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Returns a list of assets", - "headers": { - "X-Total-Count": { - "description": "The total number of items in the page", - "style": "simple", - "schema": { - "type": "integer" - } - } - }, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AssetDTO" - } - } - } - } - } - }, + } + }, "summary": "Get Assets", "description": { "$ref": "desc/assets/get.md" + } + } + }, + "/v1/assets/id": { + "get": { + "tags": [ + "Assets" + ], + "operationId": "get-assets-id", + "parameters": [ + { + "name": "id", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "dig-api-key", + "in": "header", + "description": "Dig token header", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AssetDTO" } + } } - }, - "/v1/assets/id": { - "get": { - "tags": [ - "Assets" - ], - "operationId": "get-assets-id", - "parameters": [ - { - "name": "id", - "in": "query", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "dig-api-key", - "in": "header", - "description": "Dig token header", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AssetDTO" - } - } - } - } - }, + } + }, "summary": "Get Asset by Id", "description": { "$ref": "desc/assets/id_get.md" - } - } - }, - "/v1/alerts": { - "get": { - "tags": [ - "Alerts" - ], - "operationId": "get-alerts", - "parameters": [ - { - "name": "detectionTime.equals", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "name": "detectionTime.greaterThanOrEqual", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "name": "detectionTime.greaterThan", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "name": "detectionTime.lessThanOrEqual", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "name": "detectionTime.lessThan", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "name": "policyName.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - { - "name": "policyName.equals", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "assetName.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - { - "name": "assetName.equals", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "cloudProvider.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "AWS", - "AZURE", - "GCP", - "SNOWFLAKE", - "FILE_SHARE", - "O365" - ] - } - } - }, - { - "name": "cloudProvider.equals", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "AWS", - "AZURE", - "GCP", - "SNOWFLAKE", - "FILE_SHARE", - "O365" - ] - } - }, - { - "name": "destinationProjectVendorName.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - { - "name": "destinationProjectVendorName.equals", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "cloudEnvironment.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "UNKNOWN", - "DEVELOPMENT", - "STAGING", - "TESTING", - "PRODUCTION" - ] - } - } - }, - { - "name": "cloudEnvironment.equals", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "UNKNOWN", - "DEVELOPMENT", - "STAGING", - "TESTING", - "PRODUCTION" - ] - } - }, - { - "name": "policySeverity.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "HIGH", - "MEDIUM", - "LOW" - ] - } - } - }, - { - "name": "policySeverity.equals", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "HIGH", - "MEDIUM", - "LOW" - ] - } - }, - { - "name": "categoryType.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "FIRST_MOVE", - "ATTACK", - "COMPLIANCE", - "ASSET_AT_RISK", - "RECONNAISSANCE" - ] - } - } - }, - { - "name": "categoryType.equals", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "FIRST_MOVE", - "ATTACK", - "COMPLIANCE", - "ASSET_AT_RISK", - "RECONNAISSANCE" - ] - } - }, - { - "name": "status.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "OPEN", - "UNIMPORTANT", - "WRONG", - "HANDLED", - "INVESTIGATING" - ] - } - } - }, - { - "name": "status.equals", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "OPEN", - "UNIMPORTANT", - "WRONG", - "HANDLED", - "INVESTIGATING" - ] - } - }, - { - "name": "sort", - "in": "query", - "description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.", - "required": false, - "schema": { - "type": "string", - "description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported." - } - }, - { - "name": "page", - "in": "query", - "required": false, - "schema": { - "type": "string", - "default": "0" - } - }, - { - "name": "size", - "in": "query", - "required": false, - "schema": { - "maximum": 50, - "type": "integer", - "default": 20 - } - }, - { - "name": "dig-api-key", - "in": "header", - "description": "Dig token header", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Returns a list of alerts", - "headers": { - "X-Total-Count": { - "description": "The total number of items in the page", - "style": "simple", - "schema": { - "type": "integer" - } - } - }, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AlertDTO" - } - } - } - } - } - }, - "summary": "Get Alerts by Id", - "description": { - "$ref": "desc/alerts/get.md" - } - } } + } }, - "components": { - "schemas": { - "DigFileDataTypeAPI": { - "required": [ - "count", - "label", - "name", - "valueDetails" - ], - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "label": { - "type": "string" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "valueDetails": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ValueDetails" - } - } - } - }, - "DigFileThirdPartyAPI": { - "required": [ - "dataTypes", - "filename", - "isDeleted", - "isMalicious", - "labels", - "openToWorld", - "path", - "size", - "type" - ], - "type": "object", - "properties": { - "filename": { - "type": "string" - }, - "path": { - "type": "string" - }, - "type": { - "type": "string" - }, - "size": { - "type": "string" - }, - "openToWorld": { - "type": "boolean" - }, - "isDeleted": { - "type": "boolean" - }, - "isMalicious": { - "type": "boolean" - }, - "dataTypes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DigFileDataTypeAPI" - } - }, - "labels": { - "type": "array", - "items": { - "type": "string" - } - }, - "isDbDump": { - "type": "boolean" - } - } - }, - "DigFileThirdPartyBundle": { - "required": [ - "files", - "filesCount" - ], - "type": "object", - "properties": { - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DigFileThirdPartyAPI" - } - }, - "filesCount": { - "type": "integer", - "format": "int64" - } - } - }, - "ValueDetails": { - "required": [ - "masked_value" - ], - "type": "object", - "properties": { - "masked_value": { - "type": "string" - }, - "line": { - "type": "integer", - "format": "int64" - } - } - }, - "ContentTypeWithDataTypePercentage": { - "required": [ - "hitPercentage", - "label", - "name" - ], - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "label": { - "type": "string" - }, - "hitPercentage": { - "type": "integer", - "format": "int64" - }, - "maskedValues": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ValueDetails" - } - } - } - }, - "DBContents": { - "required": [ - "fields" - ], - "type": "object", - "properties": { - "fields": { - "type": "array", - "items": { - "$ref": "#/components/schemas/StructuredSemiStructuredField" - } - } - } - }, - "StructuredSemiStructuredField": { - "required": [ - "name" - ], - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "dataTypes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ContentTypeWithDataTypePercentage" - } - }, - "path": { - "type": "string" - }, - "tableName": { - "type": "string" - }, - "tableSize": { - "type": "string" - }, - "databaseName": { - "type": "string" - }, - "collectionName": { - "type": "string" - }, - "type": { - "type": "string" - }, - "schemaName": { - "type": "string" - } - } - }, - "UpdateRiskDetectionResponseDTO": { - "type": "object", - "properties": { - "riskFindingId": { - "type": "string" - }, - "oldStatus": { - "type": "string", - "enum": [ - "OPEN", - "CLOSED", - "UNIMPORTANT", - "WRONG", - "HANDLED", - "INVESTIGATING" - ] - }, - "newStatus": { - "type": "string", - "enum": [ - "OPEN", - "CLOSED", - "UNIMPORTANT", - "WRONG", - "HANDLED", - "INVESTIGATING" - ] - } - } - }, - "UpdateAlertStatusResponseDTO": { - "type": "object", - "properties": { - "alertId": { - "type": "integer", - "format": "int64" - }, - "oldStatus": { - "type": "string", - "enum": [ - "OPEN", - "UNIMPORTANT", - "WRONG", - "HANDLED", - "INVESTIGATING" - ] - }, - "newStatus": { - "type": "string", - "enum": [ - "OPEN", - "UNIMPORTANT", - "WRONG", - "HANDLED", - "INVESTIGATING" - ] - } - } - }, - "RiskDetectionsAssetDTO": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "assetId": { - "type": "string" - } - } - }, - "RiskDetectionsDTO": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "ruleName": { - "type": "string" - }, - "severity": { - "type": "string", - "enum": [ - "LOW", - "MEDIUM", - "HIGH" - ] - }, - "asset": { - "$ref": "#/components/schemas/RiskDetectionsAssetDTO" - }, - "status": { - "type": "string", - "enum": [ - "OPEN", - "CLOSED", - "UNIMPORTANT", - "WRONG", - "HANDLED", - "INVESTIGATING" - ] - }, - "projectId": { - "type": "string" - }, - "cloudProvider": { - "type": "string", - "enum": [ - "AWS", - "AZURE", - "GCP", - "SNOWFLAKE", - "FILE_SHARE", - "O365" - ] - }, - "cloudEnvironment": { - "type": "string", - "enum": [ - "UNKNOWN", - "DEVELOPMENT", - "STAGING", - "TESTING", - "PRODUCTION" - ] - }, - "firstDiscovered": { - "type": "string", - "format": "date-time" - }, - "complianceStandards": { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - }, - "AccessEvidenceDTO": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "project": { - "type": "string" - }, - "cloudAccountInformation": { - "$ref": "#/components/schemas/CloudAccountInformationDTO" - }, - "entityType": { - "type": "string" - }, - "name": { - "type": "string" - }, - "riskIndicators": { - "uniqueItems": true, - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "AccessEvidenceResult": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/RiskEvidenceResult" - }, - { - "type": "object", - "properties": { - "permittedEntities": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AccessEvidenceDTO" - } - } - } - } - ] - }, - "AiChatHistoryDetailsEvidenceDTO": { - "type": "object", - "properties": { - "region": { - "type": "string" - }, - "project": { - "type": "string" - }, - "projectName": { - "type": "string" - }, - "cloudEnvironment": { - "type": "string", - "enum": [ - "UNKNOWN", - "DEVELOPMENT", - "STAGING", - "TESTING", - "PRODUCTION" - ] - }, - "cloudProvider": { - "type": "string", - "enum": [ - "AWS", - "AZURE", - "GCP", - "SNOWFLAKE", - "FILE_SHARE", - "O365" - ] - } - } - }, - "AiDatasetPublicEvidenceResult": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/RiskEvidenceResult" - }, - { - "type": "object", - "properties": { - "datasetAsset": { - "$ref": "#/components/schemas/AssetEvidenceResultDTO" - } - } - } - ] - }, - "AssetEvidenceResultDTO": { - "type": "object", - "properties": { - "assetId": { - "type": "integer", - "format": "int64" - }, - "assetName": { - "type": "string" - }, - "projectId": { - "type": "string" - }, - "projectName": { - "type": "string" - }, - "assetRegion": { - "type": "string" - }, - "family": { - "type": "string", - "enum": [ - "ANALYTICS", - "DB", - "STORAGE", - "AI" - ] - }, - "deploymentType": { - "type": "string", - "enum": [ - "MANAGED", - "UNMANAGED", - "DBAAS", - "ONPREM", - "SAAS" - ] - }, - "serviceType": { - "type": "string", - "enum": [ - "ATHENA", - "AURORA", - "AWS_BACKUP", - "DOCUMENTDB", - "DYNAMODB", - "DAX", - "EMR", - "EBS", - "EFS", - "ELASTICACHE", - "FSX", - "KINESIS_DELIVERY_STREAM", - "MEMORYDB", - "NEPTUNE", - "QLDB", - "RDS", - "REDSHIFT", - "S3", - "TIMESTREAM", - "OPENSEARCH", - "OPENSEARCH_SERVERLESS", - "COSMOS_DB", - "SYNAPSE", - "CACHE_FOR_REDIS", - "MARIA_DB", - "MYSQL_SERVER", - "POSTGRESQL_SERVER", - "SQL_SERVER", - "STORAGE_ACCOUNT", - "SQL_MANAGED_INSTANCE", - "ANF", - "CLOUD_STORAGE", - "CLOUD_SQL", - "BIG_QUERY", - "FILE_STORE", - "CLOUD_SPANNER", - "MEMORY_STORE", - "BIG_TABLE", - "FIRE_STORE", - "UNMANAGED_AWS_MYSQL", - "UNMANAGED_AWS_ORACLE_SERVER", - "UNMANAGED_AWS_MONGO_DB", - "UNMANAGED_AWS_POSTGRESQL", - "UNMANAGED_AWS_REDIS", - "UNMANAGED_AWS_SQLITE", - "UNMANAGED_AWS_MS_SQL", - "UNMANAGED_AWS_MARIA_DB", - "UNMANAGED_AWS_NEO4_J", - "UNMANAGED_AWS_ELASTIC", - "UNMANAGED_AWS_COCKROACH_DB", - "UNMANAGED_AWS_AEROSPIKE", - "UNMANAGED_AWS_SCYLLA_DB", - "UNMANAGED_AZURE_MYSQL", - "UNMANAGED_AZURE_ORACLE_SERVER", - "UNMANAGED_AZURE_MONGO_DB", - "UNMANAGED_AZURE_POSTGRESQL", - "UNMANAGED_AZURE_REDIS", - "UNMANAGED_AZURE_SQLITE", - "UNMANAGED_AZURE_MS_SQL", - "UNMANAGED_AZURE_MARIA_DB", - "UNMANAGED_AZURE_NEO4_J", - "UNMANAGED_AZURE_ELASTIC", - "UNMANAGED_AZURE_COCKROACH_DB", - "UNMANAGED_AZURE_AEROSPIKE", - "UNMANAGED_AZURE_SCYLLA_DB", - "UNMANAGED_GCP_MYSQL", - "UNMANAGED_GCP_ORACLE_SERVER", - "UNMANAGED_GCP_MONGO_DB", - "UNMANAGED_GCP_POSTGRESQL", - "UNMANAGED_GCP_REDIS", - "UNMANAGED_GCP_SQLITE", - "UNMANAGED_GCP_MS_SQL", - "UNMANAGED_GCP_MARIA_DB", - "UNMANAGED_GCP_NEO4_J", - "UNMANAGED_GCP_ELASTIC", - "UNMANAGED_GCP_COCKROACH_DB", - "UNMANAGED_GCP_AEROSPIKE", - "UNMANAGED_GCP_SCYLLA_DB", - "SNOWFLAKE_DB", - "FILE_SHARE", - "ONE_DRIVE", - "SHARE_POINT", - "AZURE_OPEN_AI_DEPLOYMENT", - "VERTEX_ENDPOINT", - "BEDROCK_PROVISIONED_THROUGHPUT", - "BEDROCK_AGENT" - ] - }, - "snapshotServiceType": { - "type": "string", - "enum": [ - "SNAPSHOT_RDS_INSTANCE", - "SNAPSHOT_FILE_STORE", - "SNAPSHOT_CLOUD_SPANNER", - "SNAPSHOT_BIG_TABLE" - ] - }, - "cloudEnvironment": { - "type": "string", - "enum": [ - "UNKNOWN", - "DEVELOPMENT", - "STAGING", - "TESTING", - "PRODUCTION" - ] - }, - "cloud": { - "type": "string", - "enum": [ - "AWS", - "AZURE", - "GCP", - "SNOWFLAKE", - "FILE_SHARE", - "O365" - ] - }, - "assetTags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "assetDspmTags": { - "type": "object", - "additionalProperties": { - "uniqueItems": true, - "type": "array", - "items": { - "type": "string" - } - } - }, - "assetLabels": { - "uniqueItems": true, - "type": "array", - "items": { - "type": "string" - } - }, - "assetDataTypes": { - "type": "object", - "additionalProperties": { - "type": "integer", - "format": "int64" - } - } - } - }, - "ChatHistoryEvidenceResult": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/RiskEvidenceResult" - }, - { - "type": "object", - "properties": { - "assets": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AssetEvidenceResultDTO" - } - }, - "chatHistoryDetails": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AiChatHistoryDetailsEvidenceDTO" - } - }, - "serviceType": { - "type": "string", - "enum": [ - "ATHENA", - "AURORA", - "AWS_BACKUP", - "DOCUMENTDB", - "DYNAMODB", - "DAX", - "EMR", - "EBS", - "EFS", - "ELASTICACHE", - "FSX", - "KINESIS_DELIVERY_STREAM", - "MEMORYDB", - "NEPTUNE", - "QLDB", - "RDS", - "REDSHIFT", - "S3", - "TIMESTREAM", - "OPENSEARCH", - "OPENSEARCH_SERVERLESS", - "COSMOS_DB", - "SYNAPSE", - "CACHE_FOR_REDIS", - "MARIA_DB", - "MYSQL_SERVER", - "POSTGRESQL_SERVER", - "SQL_SERVER", - "STORAGE_ACCOUNT", - "SQL_MANAGED_INSTANCE", - "ANF", - "CLOUD_STORAGE", - "CLOUD_SQL", - "BIG_QUERY", - "FILE_STORE", - "CLOUD_SPANNER", - "MEMORY_STORE", - "BIG_TABLE", - "FIRE_STORE", - "UNMANAGED_AWS_MYSQL", - "UNMANAGED_AWS_ORACLE_SERVER", - "UNMANAGED_AWS_MONGO_DB", - "UNMANAGED_AWS_POSTGRESQL", - "UNMANAGED_AWS_REDIS", - "UNMANAGED_AWS_SQLITE", - "UNMANAGED_AWS_MS_SQL", - "UNMANAGED_AWS_MARIA_DB", - "UNMANAGED_AWS_NEO4_J", - "UNMANAGED_AWS_ELASTIC", - "UNMANAGED_AWS_COCKROACH_DB", - "UNMANAGED_AWS_AEROSPIKE", - "UNMANAGED_AWS_SCYLLA_DB", - "UNMANAGED_AZURE_MYSQL", - "UNMANAGED_AZURE_ORACLE_SERVER", - "UNMANAGED_AZURE_MONGO_DB", - "UNMANAGED_AZURE_POSTGRESQL", - "UNMANAGED_AZURE_REDIS", - "UNMANAGED_AZURE_SQLITE", - "UNMANAGED_AZURE_MS_SQL", - "UNMANAGED_AZURE_MARIA_DB", - "UNMANAGED_AZURE_NEO4_J", - "UNMANAGED_AZURE_ELASTIC", - "UNMANAGED_AZURE_COCKROACH_DB", - "UNMANAGED_AZURE_AEROSPIKE", - "UNMANAGED_AZURE_SCYLLA_DB", - "UNMANAGED_GCP_MYSQL", - "UNMANAGED_GCP_ORACLE_SERVER", - "UNMANAGED_GCP_MONGO_DB", - "UNMANAGED_GCP_POSTGRESQL", - "UNMANAGED_GCP_REDIS", - "UNMANAGED_GCP_SQLITE", - "UNMANAGED_GCP_MS_SQL", - "UNMANAGED_GCP_MARIA_DB", - "UNMANAGED_GCP_NEO4_J", - "UNMANAGED_GCP_ELASTIC", - "UNMANAGED_GCP_COCKROACH_DB", - "UNMANAGED_GCP_AEROSPIKE", - "UNMANAGED_GCP_SCYLLA_DB", - "SNOWFLAKE_DB", - "FILE_SHARE", - "ONE_DRIVE", - "SHARE_POINT", - "AZURE_OPEN_AI_DEPLOYMENT", - "VERTEX_ENDPOINT", - "BEDROCK_PROVISIONED_THROUGHPUT", - "BEDROCK_AGENT" - ] - } - } - } - ] - }, - "CloudAccountInformationDTO": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "projectId": { - "type": "string" - }, - "cloudProvider": { - "type": "string", - "enum": [ - "AWS", - "AZURE", - "GCP", - "SNOWFLAKE", - "FILE_SHARE", - "O365" - ] - }, - "cloudEnvironment": { - "type": "string", - "enum": [ - "UNKNOWN", - "DEVELOPMENT", - "STAGING", - "TESTING", - "PRODUCTION" - ] - }, - "verifiedVendor": { - "type": "boolean" - }, - "foreign": { - "type": "boolean" - } - } - }, - "ConfigEvidenceResult": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/RiskEvidenceResult" - }, - { - "type": "object", - "properties": { - "configurationOptions": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - } - ] - }, - "DataFlowEvidenceResult": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/RiskEvidenceResult" - }, - { - "type": "object", - "properties": { - "flowInfo": { - "$ref": "#/components/schemas/FlowEvidenceDTO" - }, - "destinationAsset": { - "$ref": "#/components/schemas/DestinationEvidenceDTO" - } - } - } - ] - }, - "DataTypeEvidenceResult": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/RiskEvidenceResult" - }, - { - "type": "object", - "properties": { - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FileEvidenceDTO" - } - }, - "filesCount": { - "type": "integer", - "format": "int32" - } - } - } + "/v1/alerts": { + "get": { + "tags": [ + "Alerts" + ], + "operationId": "get-alerts", + "parameters": [ + { + "name": "detectionTime.equals", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "date-time" + } + }, + { + "name": "detectionTime.greaterThanOrEqual", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "date-time" + } + }, + { + "name": "detectionTime.greaterThan", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "date-time" + } + }, + { + "name": "detectionTime.lessThanOrEqual", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "date-time" + } + }, + { + "name": "detectionTime.lessThan", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "date-time" + } + }, + { + "name": "policyName.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + { + "name": "policyName.equals", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "assetName.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + { + "name": "assetName.equals", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "cloudProvider.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "AWS", + "AZURE", + "GCP", + "SNOWFLAKE", + "FILE_SHARE", + "O365" ] - }, - "DestinationEvidenceDTO": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "projectId": { - "type": "string" - }, - "projectName": { - "type": "string" - }, - "cloudEnvironment": { - "type": "string", - "enum": [ - "UNKNOWN", - "DEVELOPMENT", - "STAGING", - "TESTING", - "PRODUCTION" - ] - }, - "cloudProvider": { - "type": "string", - "enum": [ - "AWS", - "AZURE", - "GCP", - "SNOWFLAKE", - "FILE_SHARE", - "O365" - ] - }, - "region": { - "type": "string" - }, - "serviceType": { - "type": "string", - "enum": [ - "ATHENA", - "AURORA", - "AWS_BACKUP", - "DOCUMENTDB", - "DYNAMODB", - "DAX", - "EMR", - "EBS", - "EFS", - "ELASTICACHE", - "FSX", - "KINESIS_DELIVERY_STREAM", - "MEMORYDB", - "NEPTUNE", - "QLDB", - "RDS", - "REDSHIFT", - "S3", - "TIMESTREAM", - "OPENSEARCH", - "OPENSEARCH_SERVERLESS", - "COSMOS_DB", - "SYNAPSE", - "CACHE_FOR_REDIS", - "MARIA_DB", - "MYSQL_SERVER", - "POSTGRESQL_SERVER", - "SQL_SERVER", - "STORAGE_ACCOUNT", - "SQL_MANAGED_INSTANCE", - "ANF", - "CLOUD_STORAGE", - "CLOUD_SQL", - "BIG_QUERY", - "FILE_STORE", - "CLOUD_SPANNER", - "MEMORY_STORE", - "BIG_TABLE", - "FIRE_STORE", - "UNMANAGED_AWS_MYSQL", - "UNMANAGED_AWS_ORACLE_SERVER", - "UNMANAGED_AWS_MONGO_DB", - "UNMANAGED_AWS_POSTGRESQL", - "UNMANAGED_AWS_REDIS", - "UNMANAGED_AWS_SQLITE", - "UNMANAGED_AWS_MS_SQL", - "UNMANAGED_AWS_MARIA_DB", - "UNMANAGED_AWS_NEO4_J", - "UNMANAGED_AWS_ELASTIC", - "UNMANAGED_AWS_COCKROACH_DB", - "UNMANAGED_AWS_AEROSPIKE", - "UNMANAGED_AWS_SCYLLA_DB", - "UNMANAGED_AZURE_MYSQL", - "UNMANAGED_AZURE_ORACLE_SERVER", - "UNMANAGED_AZURE_MONGO_DB", - "UNMANAGED_AZURE_POSTGRESQL", - "UNMANAGED_AZURE_REDIS", - "UNMANAGED_AZURE_SQLITE", - "UNMANAGED_AZURE_MS_SQL", - "UNMANAGED_AZURE_MARIA_DB", - "UNMANAGED_AZURE_NEO4_J", - "UNMANAGED_AZURE_ELASTIC", - "UNMANAGED_AZURE_COCKROACH_DB", - "UNMANAGED_AZURE_AEROSPIKE", - "UNMANAGED_AZURE_SCYLLA_DB", - "UNMANAGED_GCP_MYSQL", - "UNMANAGED_GCP_ORACLE_SERVER", - "UNMANAGED_GCP_MONGO_DB", - "UNMANAGED_GCP_POSTGRESQL", - "UNMANAGED_GCP_REDIS", - "UNMANAGED_GCP_SQLITE", - "UNMANAGED_GCP_MS_SQL", - "UNMANAGED_GCP_MARIA_DB", - "UNMANAGED_GCP_NEO4_J", - "UNMANAGED_GCP_ELASTIC", - "UNMANAGED_GCP_COCKROACH_DB", - "UNMANAGED_GCP_AEROSPIKE", - "UNMANAGED_GCP_SCYLLA_DB", - "SNOWFLAKE_DB", - "FILE_SHARE", - "ONE_DRIVE", - "SHARE_POINT", - "AZURE_OPEN_AI_DEPLOYMENT", - "VERTEX_ENDPOINT", - "BEDROCK_PROVISIONED_THROUGHPUT", - "BEDROCK_AGENT" - ] - }, - "family": { - "type": "string", - "enum": [ - "ANALYTICS", - "DB", - "STORAGE", - "AI" - ] - }, - "deploymentType": { - "type": "string", - "enum": [ - "MANAGED", - "UNMANAGED", - "DBAAS", - "ONPREM", - "SAAS" - ] - }, - "assetTags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "assetDspmTags": { - "type": "object", - "additionalProperties": { - "uniqueItems": true, - "type": "array", - "items": { - "type": "string" - } - } - } - } - }, - "FileEvidenceDTO": { - "type": "object", - "properties": { - "size": { - "type": "string" - }, - "filename": { - "type": "string" - }, - "path": { - "type": "string" - }, - "dataTypes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FileEvidenceDataTypesDTO" - } - }, - "deleted": { - "type": "boolean" - } - } - }, - "FileEvidenceDataTypesDTO": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "label": { - "type": "string" - }, - "count": { - "type": "integer", - "format": "int32" - } - } - }, - "FileEvidenceResult": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/RiskEvidenceResult" - }, - { - "type": "object", - "properties": { - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PublicFileEvidenceDTO" - } - }, - "filesCount": { - "type": "integer", - "format": "int32" - } - } - } + } + } + }, + { + "name": "cloudProvider.equals", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "AWS", + "AZURE", + "GCP", + "SNOWFLAKE", + "FILE_SHARE", + "O365" + ] + } + }, + { + "name": "destinationProjectVendorName.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + { + "name": "destinationProjectVendorName.equals", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "cloudEnvironment.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "UNKNOWN", + "DEVELOPMENT", + "STAGING", + "TESTING", + "PRODUCTION" ] - }, - "FlowEvidenceDTO": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "type": { - "type": "string", - "enum": [ - "REPLICATION_RULE", - "S3_REPLICATION_RULE", - "BIG_QUERY_REPLICATION", - "CLOUD_STORAGE_REPLICATION", - "STORAGE_ACCOUNT_REPLICATION_RULE" - ] - } - } - }, - "FreshnessEvidenceResult": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/RiskEvidenceResult" - } + } + } + }, + { + "name": "cloudEnvironment.equals", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "UNKNOWN", + "DEVELOPMENT", + "STAGING", + "TESTING", + "PRODUCTION" + ] + } + }, + { + "name": "policySeverity.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "HIGH", + "MEDIUM", + "LOW" ] - }, - "LabelEvidenceResult": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/RiskEvidenceResult" - }, - { - "type": "object", - "properties": { - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FileEvidenceDTO" - } - }, - "filesCount": { - "type": "integer", - "format": "int32" - } - } - } + } + } + }, + { + "name": "policySeverity.equals", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "HIGH", + "MEDIUM", + "LOW" + ] + } + }, + { + "name": "categoryType.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "FIRST_MOVE", + "ATTACK", + "COMPLIANCE", + "ASSET_AT_RISK", + "RECONNAISSANCE" ] - }, - "MalwareEvidenceResult": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/RiskEvidenceResult" - }, - { - "type": "object", - "properties": { - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MalwareFileEvidenceDTO" - } - }, - "filesCount": { - "type": "integer", - "format": "int32" - } - } - } + } + } + }, + { + "name": "categoryType.equals", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "FIRST_MOVE", + "ATTACK", + "COMPLIANCE", + "ASSET_AT_RISK", + "RECONNAISSANCE" + ] + } + }, + { + "name": "status.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "OPEN", + "UNIMPORTANT", + "WRONG", + "HANDLED", + "INVESTIGATING" ] - }, - "MalwareFileEvidenceDTO": { - "type": "object", - "properties": { - "size": { - "type": "string" - }, - "filename": { - "type": "string" - }, - "path": { - "type": "string" - }, - "dataTypes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FileEvidenceDataTypesDTO" - } - }, - "malwareFamily": { - "type": "array", - "items": { - "type": "object" - } - }, - "malwareConfidence": { - "type": "string" - }, - "malicious": { - "type": "boolean" - }, - "deleted": { - "type": "boolean" - } - } - }, - "PublicFileEvidenceDTO": { - "type": "object", - "properties": { - "size": { - "type": "string" - }, - "filename": { - "type": "string" - }, - "path": { - "type": "string" - }, - "dataTypes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FileEvidenceDataTypesDTO" - } - }, - "openToWorld": { - "type": "boolean" - }, - "deleted": { - "type": "boolean" - } + } + } + }, + { + "name": "status.equals", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "OPEN", + "UNIMPORTANT", + "WRONG", + "HANDLED", + "INVESTIGATING" + ] + } + }, + { + "name": "sort", + "in": "query", + "description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.", + "required": false, + "schema": { + "type": "string", + "description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported." + } + }, + { + "name": "page", + "in": "query", + "required": false, + "schema": { + "type": "string", + "default": "0" + } + }, + { + "name": "size", + "in": "query", + "required": false, + "schema": { + "maximum": 50, + "type": "integer", + "default": 20 + } + }, + { + "name": "dig-api-key", + "in": "header", + "description": "Dig token header", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Returns a list of alerts", + "headers": { + "X-Total-Count": { + "description": "The total number of items in the page", + "style": "simple", + "schema": { + "type": "integer" } + } }, - "RiskDetectionAssetDTO": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "assetId": { - "type": "string" - }, - "cloudTags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "dspmTags": { - "type": "object", - "additionalProperties": { - "uniqueItems": true, - "type": "array", - "items": { - "type": "string" - } - } - }, - "dataTypes": { - "uniqueItems": true, - "type": "array", - "items": { - "type": "string" - } - }, - "assetLabels": { - "uniqueItems": true, - "type": "array", - "items": { - "type": "string" - } - } + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AlertDTO" + } } - }, - "RiskDetectionOfficialApiResponseDTO": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "ruleName": { - "type": "string" - }, - "severity": { - "type": "string", - "enum": [ - "LOW", - "MEDIUM", - "HIGH" - ] - }, - "asset": { - "$ref": "#/components/schemas/RiskDetectionAssetDTO" - }, - "status": { - "type": "string", - "enum": [ - "OPEN", - "CLOSED", - "UNIMPORTANT", - "WRONG", - "HANDLED", - "INVESTIGATING" - ] - }, - "projectId": { - "type": "string" - }, - "cloudProvider": { - "type": "string", - "enum": [ - "AWS", - "AZURE", - "GCP", - "SNOWFLAKE", - "FILE_SHARE", - "O365" - ] - }, - "cloudEnvironment": { - "type": "string", - "enum": [ - "UNKNOWN", - "DEVELOPMENT", - "STAGING", - "TESTING", - "PRODUCTION" - ] - }, - "firstDiscovered": { - "type": "string", - "format": "date-time" - }, - "complianceStandards": { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "riskEvidence": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RiskEvidenceOfficialApiDTO" - } - } + } + } + } + }, + "summary": "Get Alerts by Id", + "description": { + "$ref": "desc/alerts/get.md" + } + } + } + }, + "components": { + "schemas": { + "DataTypeFilter": { + "type": "object", + "properties": { + "allIn": { + "type": "array", + "items": { + "type": "string" + } + }, + "anyIn": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "FileExtensionFilter": { + "type": "object", + "properties": { + "equals": { + "type": "string" + } + } + }, + "FileNameFilter": { + "type": "object", + "properties": { + "equals": { + "type": "string" + } + } + }, + "FilePathFilter": { + "type": "object", + "properties": { + "contains": { + "type": "string" + } + } + }, + "FileTypeFilter": { + "type": "object", + "properties": { + "anyIn": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "AUDIO", + "TEXT", + "IMAGE", + "VIDEO", + "DOCUMENT", + "DATA_FORMAT", + "EXECUTABLE", + "CREDENTIAL", + "LOGS", + "SNAPSHOTS", + "CODE", + "COMPRESSED", + "OTHER" + ] + } + }, + "allIn": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "AUDIO", + "TEXT", + "IMAGE", + "VIDEO", + "DOCUMENT", + "DATA_FORMAT", + "EXECUTABLE", + "CREDENTIAL", + "LOGS", + "SNAPSHOTS", + "CODE", + "COMPRESSED", + "OTHER" + ] + } + } + } + }, + "IgnoredFilter": { + "type": "object", + "properties": { + "equals": { + "type": "boolean" + } + } + }, + "IsMaliciousFilter": { + "type": "object", + "properties": { + "equals": { + "type": "boolean" + } + } + }, + "LabelFilter": { + "type": "object", + "properties": { + "anyIn": { + "type": "array", + "items": { + "type": "string" + } + }, + "allIn": { + "type": "array", + "items": { + "type": "string" + } + }, + "hasAny": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "ListFilesFilterBodyRequest": { + "required": [ + "dataType", + "fileExtension", + "fileName", + "filePath", + "fileType", + "ignored", + "isMalicious", + "label", + "public", + "shadowBackup" + ], + "type": "object", + "properties": { + "dataType": { + "$ref": "#/components/schemas/DataTypeFilter" + }, + "label": { + "$ref": "#/components/schemas/LabelFilter" + }, + "fileName": { + "$ref": "#/components/schemas/FileNameFilter" + }, + "fileExtension": { + "$ref": "#/components/schemas/FileExtensionFilter" + }, + "filePath": { + "$ref": "#/components/schemas/FilePathFilter" + }, + "fileType": { + "$ref": "#/components/schemas/FileTypeFilter" + }, + "public": { + "$ref": "#/components/schemas/PublicFilter" + }, + "isMalicious": { + "$ref": "#/components/schemas/IsMaliciousFilter" + }, + "shadowBackup": { + "$ref": "#/components/schemas/ShadowBackup" + }, + "ignored": { + "$ref": "#/components/schemas/IgnoredFilter" + } + } + }, + "PublicFilter": { + "type": "object", + "properties": { + "equals": { + "type": "boolean" + } + } + }, + "ShadowBackup": { + "type": "object", + "properties": { + "equals": { + "type": "boolean" + } + } + }, + "DigFileDataTypeAPI": { + "required": [ + "count", + "label", + "name", + "valueDetails" + ], + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "label": { + "type": "string" + }, + "count": { + "type": "integer", + "format": "int64" + }, + "valueDetails": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ValueDetails" + } + } + } + }, + "DigFileThirdPartyAPI": { + "required": [ + "dataTypes", + "filename", + "isDeleted", + "isMalicious", + "labels", + "openToWorld", + "path", + "size", + "type" + ], + "type": "object", + "properties": { + "filename": { + "type": "string" + }, + "path": { + "type": "string" + }, + "type": { + "type": "string" + }, + "size": { + "type": "string" + }, + "openToWorld": { + "type": "boolean" + }, + "isDeleted": { + "type": "boolean" + }, + "isMalicious": { + "type": "boolean" + }, + "dataTypes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/DigFileDataTypeAPI" + } + }, + "labels": { + "type": "array", + "items": { + "type": "string" + } + }, + "isDbDump": { + "type": "boolean" + } + } + }, + "DigFileThirdPartyBundle": { + "required": [ + "files", + "filesCount" + ], + "type": "object", + "properties": { + "files": { + "type": "array", + "items": { + "$ref": "#/components/schemas/DigFileThirdPartyAPI" + } + }, + "filesCount": { + "type": "integer", + "format": "int64" + } + } + }, + "ValueDetails": { + "required": [ + "masked_value" + ], + "type": "object", + "properties": { + "masked_value": { + "type": "string" + }, + "line": { + "type": "integer", + "format": "int64" + } + } + }, + "DataTypeAnyInFilter": { + "type": "object", + "properties": { + "anyIn": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "FieldLabelFilter": { + "type": "object", + "properties": { + "equals": { + "type": "string" + } + } + }, + "FieldNameFilter": { + "type": "object", + "properties": { + "contains": { + "type": "string" + } + } + }, + "FieldPathFilter": { + "type": "object", + "properties": { + "contains": { + "type": "string" + } + } + }, + "FieldTypeFilter": { + "type": "object", + "properties": { + "contains": { + "type": "string" + }, + "equals": { + "type": "string" + } + } + }, + "ListFieldsFilterBodyRequest": { + "required": [ + "dataType", + "fieldName", + "fieldPath", + "fieldType", + "label" + ], + "type": "object", + "properties": { + "dataType": { + "$ref": "#/components/schemas/DataTypeAnyInFilter" + }, + "label": { + "$ref": "#/components/schemas/FieldLabelFilter" + }, + "fieldType": { + "$ref": "#/components/schemas/FieldTypeFilter" + }, + "fieldPath": { + "$ref": "#/components/schemas/FieldPathFilter" + }, + "fieldName": { + "$ref": "#/components/schemas/FieldNameFilter" + } + } + }, + "ContentTypeWithDataTypePercentage": { + "required": [ + "hitPercentage", + "label", + "name" + ], + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "label": { + "type": "string" + }, + "hitPercentage": { + "type": "integer", + "format": "int64" + }, + "maskedValues": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ValueDetails" + } + } + } + }, + "DBContents": { + "required": [ + "fields" + ], + "type": "object", + "properties": { + "fields": { + "type": "array", + "items": { + "$ref": "#/components/schemas/StructuredSemiStructuredField" + } + } + } + }, + "StructuredSemiStructuredField": { + "required": [ + "name" + ], + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "dataTypes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ContentTypeWithDataTypePercentage" + } + }, + "path": { + "type": "string" + }, + "tableName": { + "type": "string" + }, + "tableSize": { + "type": "string" + }, + "databaseName": { + "type": "string" + }, + "collectionName": { + "type": "string" + }, + "type": { + "type": "string" + }, + "schemaName": { + "type": "string" + } + } + }, + "UpdateRiskDetectionResponseDTO": { + "type": "object", + "properties": { + "riskFindingId": { + "type": "string" + }, + "oldStatus": { + "type": "string", + "enum": [ + "OPEN", + "CLOSED", + "UNIMPORTANT", + "WRONG", + "HANDLED", + "INVESTIGATING" + ] + }, + "newStatus": { + "type": "string", + "enum": [ + "OPEN", + "CLOSED", + "UNIMPORTANT", + "WRONG", + "HANDLED", + "INVESTIGATING" + ] + } + } + }, + "UpdateAlertStatusResponseDTO": { + "type": "object", + "properties": { + "alertId": { + "type": "integer", + "format": "int64" + }, + "oldStatus": { + "type": "string", + "enum": [ + "OPEN", + "UNIMPORTANT", + "WRONG", + "HANDLED", + "INVESTIGATING" + ] + }, + "newStatus": { + "type": "string", + "enum": [ + "OPEN", + "UNIMPORTANT", + "WRONG", + "HANDLED", + "INVESTIGATING" + ] + } + } + }, + "RiskDetectionsAssetDTO": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "assetId": { + "type": "string" + }, + "service": { + "type": "string", + "enum": [ + "ATHENA", + "AURORA", + "AWS_BACKUP", + "DOCUMENTDB", + "DYNAMODB", + "DAX", + "EMR", + "EBS", + "EFS", + "ELASTICACHE", + "FSX", + "KINESIS_DELIVERY_STREAM", + "MEMORYDB", + "NEPTUNE", + "QLDB", + "RDS", + "REDSHIFT", + "S3", + "TIMESTREAM", + "OPENSEARCH", + "OPENSEARCH_SERVERLESS", + "COSMOS_DB", + "SYNAPSE", + "CACHE_FOR_REDIS", + "MARIA_DB", + "MYSQL_SERVER", + "POSTGRESQL_SERVER", + "SQL_SERVER", + "STORAGE_ACCOUNT", + "SQL_MANAGED_INSTANCE", + "ANF", + "CLOUD_STORAGE", + "CLOUD_SQL", + "BIG_QUERY", + "FILE_STORE", + "CLOUD_SPANNER", + "MEMORY_STORE", + "BIG_TABLE", + "FIRE_STORE", + "UNMANAGED_AWS_MYSQL", + "UNMANAGED_AWS_ORACLE_SERVER", + "UNMANAGED_AWS_MONGO_DB", + "UNMANAGED_AWS_POSTGRESQL", + "UNMANAGED_AWS_REDIS", + "UNMANAGED_AWS_SQLITE", + "UNMANAGED_AWS_MS_SQL", + "UNMANAGED_AWS_MARIA_DB", + "UNMANAGED_AWS_NEO4_J", + "UNMANAGED_AWS_ELASTIC", + "UNMANAGED_AWS_COCKROACH_DB", + "UNMANAGED_AWS_AEROSPIKE", + "UNMANAGED_AWS_SCYLLA_DB", + "UNMANAGED_AZURE_MYSQL", + "UNMANAGED_AZURE_ORACLE_SERVER", + "UNMANAGED_AZURE_MONGO_DB", + "UNMANAGED_AZURE_POSTGRESQL", + "UNMANAGED_AZURE_REDIS", + "UNMANAGED_AZURE_SQLITE", + "UNMANAGED_AZURE_MS_SQL", + "UNMANAGED_AZURE_MARIA_DB", + "UNMANAGED_AZURE_NEO4_J", + "UNMANAGED_AZURE_ELASTIC", + "UNMANAGED_AZURE_COCKROACH_DB", + "UNMANAGED_AZURE_AEROSPIKE", + "UNMANAGED_AZURE_SCYLLA_DB", + "UNMANAGED_GCP_MYSQL", + "UNMANAGED_GCP_ORACLE_SERVER", + "UNMANAGED_GCP_MONGO_DB", + "UNMANAGED_GCP_POSTGRESQL", + "UNMANAGED_GCP_REDIS", + "UNMANAGED_GCP_SQLITE", + "UNMANAGED_GCP_MS_SQL", + "UNMANAGED_GCP_MARIA_DB", + "UNMANAGED_GCP_NEO4_J", + "UNMANAGED_GCP_ELASTIC", + "UNMANAGED_GCP_COCKROACH_DB", + "UNMANAGED_GCP_AEROSPIKE", + "UNMANAGED_GCP_SCYLLA_DB", + "SNOWFLAKE_DB", + "FILE_SHARE", + "ONE_DRIVE", + "SHARE_POINT", + "AZURE_OPEN_AI_DEPLOYMENT", + "VERTEX_ENDPOINT", + "BEDROCK_PROVISIONED_THROUGHPUT", + "BEDROCK_AGENT", + "UNMANAGED_AI_AWS_FALCON", + "UNMANAGED_AI_AWS_LLAMA", + "UNMANAGED_AI_AWS_TRANSFORMERSLLAMA", + "UNMANAGED_AI_AWS_GEMMA", + "UNMANAGED_AI_AWS_GPT2", + "UNMANAGED_AI_AWS_MISTRAL", + "UNMANAGED_AI_AWS_PHI", + "UNMANAGED_AI_AWS_QWEN2", + "UNMANAGED_AI_AWS_ROBERTA", + "UNMANAGED_AI_AWS_JAMBA" + ] + } + } + }, + "RiskDetectionsDTO": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "ruleName": { + "type": "string" + }, + "severity": { + "type": "string", + "enum": [ + "LOW", + "MEDIUM", + "HIGH" + ] + }, + "asset": { + "$ref": "#/components/schemas/RiskDetectionsAssetDTO" + }, + "status": { + "type": "string", + "enum": [ + "OPEN", + "CLOSED", + "UNIMPORTANT", + "WRONG", + "HANDLED", + "INVESTIGATING" + ] + }, + "projectId": { + "type": "string" + }, + "cloudProvider": { + "type": "string", + "enum": [ + "AWS", + "AZURE", + "GCP", + "SNOWFLAKE", + "FILE_SHARE", + "O365" + ] + }, + "cloudEnvironment": { + "type": "string", + "enum": [ + "UNKNOWN", + "DEVELOPMENT", + "STAGING", + "TESTING", + "PRODUCTION" + ] + }, + "firstDiscovered": { + "type": "string", + "format": "date-time" + }, + "complianceStandards": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "AccessEvidenceDTO": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "project": { + "type": "string" + }, + "cloudAccountInformation": { + "$ref": "#/components/schemas/CloudAccountInformationDTO" + }, + "entityType": { + "type": "string" + }, + "name": { + "type": "string" + }, + "riskIndicators": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "AccessEvidenceResult": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/RiskEvidenceResult" + }, + { + "type": "object", + "properties": { + "permittedEntities": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AccessEvidenceDTO" } - }, - "RiskEvidenceOfficialApiDTO": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "error": { - "type": "string" - }, - "result": { - "oneOf": [ - { - "$ref": "#/components/schemas/AccessEvidenceResult" - }, - { - "$ref": "#/components/schemas/AiDatasetPublicEvidenceResult" - }, - { - "$ref": "#/components/schemas/ChatHistoryEvidenceResult" - }, - { - "$ref": "#/components/schemas/ConfigEvidenceResult" - }, - { - "$ref": "#/components/schemas/DataFlowEvidenceResult" - }, - { - "$ref": "#/components/schemas/DataTypeEvidenceResult" - }, - { - "$ref": "#/components/schemas/FileEvidenceResult" - }, - { - "$ref": "#/components/schemas/FreshnessEvidenceResult" - }, - { - "$ref": "#/components/schemas/LabelEvidenceResult" - }, - { - "$ref": "#/components/schemas/MalwareEvidenceResult" - }, - { - "$ref": "#/components/schemas/ShadowBackupEvidenceResult" - }, - { - "$ref": "#/components/schemas/SnapshotEvidenceResult" - } - ] - } + } + } + } + ] + }, + "AiChatHistoryDetailsEvidenceDTO": { + "type": "object", + "properties": { + "region": { + "type": "string" + }, + "project": { + "type": "string" + }, + "projectName": { + "type": "string" + }, + "cloudEnvironment": { + "type": "string", + "enum": [ + "UNKNOWN", + "DEVELOPMENT", + "STAGING", + "TESTING", + "PRODUCTION" + ] + }, + "cloudProvider": { + "type": "string", + "enum": [ + "AWS", + "AZURE", + "GCP", + "SNOWFLAKE", + "FILE_SHARE", + "O365" + ] + } + } + }, + "AiContentFilterDataDashboardDTO": { + "type": "object", + "properties": { + "contentFilterType": { + "type": "string" + }, + "securityInputBlocked": { + "type": "boolean" + }, + "category": { + "type": "string", + "enum": [ + "SECURITY", + "CONTENT" + ] + }, + "inputLevel": { + "type": "string", + "enum": [ + "HIGH", + "MEDIUM", + "LOW", + "NONE" + ] + }, + "outputLevel": { + "type": "string", + "enum": [ + "HIGH", + "MEDIUM", + "LOW", + "NONE" + ] + } + } + }, + "AiContentFilterEvidenceResult": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/RiskEvidenceResult" + }, + { + "type": "object", + "properties": { + "aiContentFilters": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AiContentFilterDataDashboardDTO" } - }, - "RiskEvidenceResult": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "FILE", - "SNAPSHOT", - "CONFIG", - "FRESHNESS", - "ACCESS", - "MALWARE", - "DATA_FLOW", - "SHADOW_BACKUP", - "DATA_TYPE", - "LABEL", - "AI_DATASET_PUBLIC", - "AI_CHAT_HISTORY" - ] - } - }, - "discriminator": { - "propertyName": "type" + } + } + } + ] + }, + "AiDatasetPublicEvidenceResult": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/RiskEvidenceResult" + }, + { + "type": "object", + "properties": { + "datasetAsset": { + "$ref": "#/components/schemas/AssetEvidenceResultDTO" + } + } + } + ] + }, + "AssetEvidenceResultDTO": { + "type": "object", + "properties": { + "assetId": { + "type": "integer", + "format": "int64" + }, + "assetName": { + "type": "string" + }, + "projectId": { + "type": "string" + }, + "projectName": { + "type": "string" + }, + "assetRegion": { + "type": "string" + }, + "family": { + "type": "string", + "enum": [ + "ANALYTICS", + "DB", + "STORAGE", + "AI" + ] + }, + "deploymentType": { + "type": "string", + "enum": [ + "MANAGED", + "UNMANAGED", + "DBAAS", + "ONPREM", + "SAAS" + ] + }, + "serviceType": { + "type": "string", + "enum": [ + "ATHENA", + "AURORA", + "AWS_BACKUP", + "DOCUMENTDB", + "DYNAMODB", + "DAX", + "EMR", + "EBS", + "EFS", + "ELASTICACHE", + "FSX", + "KINESIS_DELIVERY_STREAM", + "MEMORYDB", + "NEPTUNE", + "QLDB", + "RDS", + "REDSHIFT", + "S3", + "TIMESTREAM", + "OPENSEARCH", + "OPENSEARCH_SERVERLESS", + "COSMOS_DB", + "SYNAPSE", + "CACHE_FOR_REDIS", + "MARIA_DB", + "MYSQL_SERVER", + "POSTGRESQL_SERVER", + "SQL_SERVER", + "STORAGE_ACCOUNT", + "SQL_MANAGED_INSTANCE", + "ANF", + "CLOUD_STORAGE", + "CLOUD_SQL", + "BIG_QUERY", + "FILE_STORE", + "CLOUD_SPANNER", + "MEMORY_STORE", + "BIG_TABLE", + "FIRE_STORE", + "UNMANAGED_AWS_MYSQL", + "UNMANAGED_AWS_ORACLE_SERVER", + "UNMANAGED_AWS_MONGO_DB", + "UNMANAGED_AWS_POSTGRESQL", + "UNMANAGED_AWS_REDIS", + "UNMANAGED_AWS_SQLITE", + "UNMANAGED_AWS_MS_SQL", + "UNMANAGED_AWS_MARIA_DB", + "UNMANAGED_AWS_NEO4_J", + "UNMANAGED_AWS_ELASTIC", + "UNMANAGED_AWS_COCKROACH_DB", + "UNMANAGED_AWS_AEROSPIKE", + "UNMANAGED_AWS_SCYLLA_DB", + "UNMANAGED_AZURE_MYSQL", + "UNMANAGED_AZURE_ORACLE_SERVER", + "UNMANAGED_AZURE_MONGO_DB", + "UNMANAGED_AZURE_POSTGRESQL", + "UNMANAGED_AZURE_REDIS", + "UNMANAGED_AZURE_SQLITE", + "UNMANAGED_AZURE_MS_SQL", + "UNMANAGED_AZURE_MARIA_DB", + "UNMANAGED_AZURE_NEO4_J", + "UNMANAGED_AZURE_ELASTIC", + "UNMANAGED_AZURE_COCKROACH_DB", + "UNMANAGED_AZURE_AEROSPIKE", + "UNMANAGED_AZURE_SCYLLA_DB", + "UNMANAGED_GCP_MYSQL", + "UNMANAGED_GCP_ORACLE_SERVER", + "UNMANAGED_GCP_MONGO_DB", + "UNMANAGED_GCP_POSTGRESQL", + "UNMANAGED_GCP_REDIS", + "UNMANAGED_GCP_SQLITE", + "UNMANAGED_GCP_MS_SQL", + "UNMANAGED_GCP_MARIA_DB", + "UNMANAGED_GCP_NEO4_J", + "UNMANAGED_GCP_ELASTIC", + "UNMANAGED_GCP_COCKROACH_DB", + "UNMANAGED_GCP_AEROSPIKE", + "UNMANAGED_GCP_SCYLLA_DB", + "SNOWFLAKE_DB", + "FILE_SHARE", + "ONE_DRIVE", + "SHARE_POINT", + "AZURE_OPEN_AI_DEPLOYMENT", + "VERTEX_ENDPOINT", + "BEDROCK_PROVISIONED_THROUGHPUT", + "BEDROCK_AGENT", + "UNMANAGED_AI_AWS_FALCON", + "UNMANAGED_AI_AWS_LLAMA", + "UNMANAGED_AI_AWS_TRANSFORMERSLLAMA", + "UNMANAGED_AI_AWS_GEMMA", + "UNMANAGED_AI_AWS_GPT2", + "UNMANAGED_AI_AWS_MISTRAL", + "UNMANAGED_AI_AWS_PHI", + "UNMANAGED_AI_AWS_QWEN2", + "UNMANAGED_AI_AWS_ROBERTA", + "UNMANAGED_AI_AWS_JAMBA" + ] + }, + "snapshotServiceType": { + "type": "string", + "enum": [ + "SNAPSHOT_RDS_INSTANCE", + "SNAPSHOT_FILE_STORE", + "SNAPSHOT_CLOUD_SPANNER", + "SNAPSHOT_BIG_TABLE" + ] + }, + "cloudEnvironment": { + "type": "string", + "enum": [ + "UNKNOWN", + "DEVELOPMENT", + "STAGING", + "TESTING", + "PRODUCTION" + ] + }, + "cloud": { + "type": "string", + "enum": [ + "AWS", + "AZURE", + "GCP", + "SNOWFLAKE", + "FILE_SHARE", + "O365" + ] + }, + "assetTags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "assetDspmTags": { + "type": "object", + "additionalProperties": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + } + }, + "assetLabels": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + }, + "assetDataTypes": { + "type": "object", + "additionalProperties": { + "type": "integer", + "format": "int64" + } + } + } + }, + "ChatHistoryEvidenceResult": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/RiskEvidenceResult" + }, + { + "type": "object", + "properties": { + "assets": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AssetEvidenceResultDTO" } - }, - "ShadowBackupEvidenceResult": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/RiskEvidenceResult" - }, - { - "type": "object", - "properties": { - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ShadowBackupFileEvidenceDTO" - } - }, - "filesCount": { - "type": "integer", - "format": "int32" - } - } - } - ] - }, - "ShadowBackupFileEvidenceDTO": { - "type": "object", - "properties": { - "size": { - "type": "string" - }, - "filename": { - "type": "string" - }, - "path": { - "type": "string" - }, - "dataTypes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FileEvidenceDataTypesDTO" - } - }, - "shadowBackup": { - "type": "boolean" - }, - "deleted": { - "type": "boolean" - } + }, + "chatHistoryDetails": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AiChatHistoryDetailsEvidenceDTO" } - }, - "SnapshotEvidenceResult": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/RiskEvidenceResult" - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "region": { - "type": "string" - }, - "service": { - "type": "string" - }, - "originalAssetId": { - "type": "string" - }, - "sharingScope": { - "uniqueItems": true, - "type": "array", - "items": { - "type": "string" - } - }, - "sizeInGB": { - "type": "integer", - "format": "int32" - }, - "createdTime": { - "type": "string" - }, - "projectId": { - "type": "string" - }, - "externalLink": { - "type": "string" - } - } - } + }, + "serviceType": { + "type": "string", + "enum": [ + "ATHENA", + "AURORA", + "AWS_BACKUP", + "DOCUMENTDB", + "DYNAMODB", + "DAX", + "EMR", + "EBS", + "EFS", + "ELASTICACHE", + "FSX", + "KINESIS_DELIVERY_STREAM", + "MEMORYDB", + "NEPTUNE", + "QLDB", + "RDS", + "REDSHIFT", + "S3", + "TIMESTREAM", + "OPENSEARCH", + "OPENSEARCH_SERVERLESS", + "COSMOS_DB", + "SYNAPSE", + "CACHE_FOR_REDIS", + "MARIA_DB", + "MYSQL_SERVER", + "POSTGRESQL_SERVER", + "SQL_SERVER", + "STORAGE_ACCOUNT", + "SQL_MANAGED_INSTANCE", + "ANF", + "CLOUD_STORAGE", + "CLOUD_SQL", + "BIG_QUERY", + "FILE_STORE", + "CLOUD_SPANNER", + "MEMORY_STORE", + "BIG_TABLE", + "FIRE_STORE", + "UNMANAGED_AWS_MYSQL", + "UNMANAGED_AWS_ORACLE_SERVER", + "UNMANAGED_AWS_MONGO_DB", + "UNMANAGED_AWS_POSTGRESQL", + "UNMANAGED_AWS_REDIS", + "UNMANAGED_AWS_SQLITE", + "UNMANAGED_AWS_MS_SQL", + "UNMANAGED_AWS_MARIA_DB", + "UNMANAGED_AWS_NEO4_J", + "UNMANAGED_AWS_ELASTIC", + "UNMANAGED_AWS_COCKROACH_DB", + "UNMANAGED_AWS_AEROSPIKE", + "UNMANAGED_AWS_SCYLLA_DB", + "UNMANAGED_AZURE_MYSQL", + "UNMANAGED_AZURE_ORACLE_SERVER", + "UNMANAGED_AZURE_MONGO_DB", + "UNMANAGED_AZURE_POSTGRESQL", + "UNMANAGED_AZURE_REDIS", + "UNMANAGED_AZURE_SQLITE", + "UNMANAGED_AZURE_MS_SQL", + "UNMANAGED_AZURE_MARIA_DB", + "UNMANAGED_AZURE_NEO4_J", + "UNMANAGED_AZURE_ELASTIC", + "UNMANAGED_AZURE_COCKROACH_DB", + "UNMANAGED_AZURE_AEROSPIKE", + "UNMANAGED_AZURE_SCYLLA_DB", + "UNMANAGED_GCP_MYSQL", + "UNMANAGED_GCP_ORACLE_SERVER", + "UNMANAGED_GCP_MONGO_DB", + "UNMANAGED_GCP_POSTGRESQL", + "UNMANAGED_GCP_REDIS", + "UNMANAGED_GCP_SQLITE", + "UNMANAGED_GCP_MS_SQL", + "UNMANAGED_GCP_MARIA_DB", + "UNMANAGED_GCP_NEO4_J", + "UNMANAGED_GCP_ELASTIC", + "UNMANAGED_GCP_COCKROACH_DB", + "UNMANAGED_GCP_AEROSPIKE", + "UNMANAGED_GCP_SCYLLA_DB", + "SNOWFLAKE_DB", + "FILE_SHARE", + "ONE_DRIVE", + "SHARE_POINT", + "AZURE_OPEN_AI_DEPLOYMENT", + "VERTEX_ENDPOINT", + "BEDROCK_PROVISIONED_THROUGHPUT", + "BEDROCK_AGENT", + "UNMANAGED_AI_AWS_FALCON", + "UNMANAGED_AI_AWS_LLAMA", + "UNMANAGED_AI_AWS_TRANSFORMERSLLAMA", + "UNMANAGED_AI_AWS_GEMMA", + "UNMANAGED_AI_AWS_GPT2", + "UNMANAGED_AI_AWS_MISTRAL", + "UNMANAGED_AI_AWS_PHI", + "UNMANAGED_AI_AWS_QWEN2", + "UNMANAGED_AI_AWS_ROBERTA", + "UNMANAGED_AI_AWS_JAMBA" ] - }, - "EntitiesDTO": { - "type": "object", - "properties": { - "dataTypeName": { - "type": "string" - }, - "label": { - "type": "string" - }, - "records": { - "type": "integer", - "format": "int64" - }, - "publicRecords": { - "type": "integer", - "format": "int64" - }, - "assets": { - "type": "integer", - "format": "int64" - }, - "clouds": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "AWS", - "AZURE", - "GCP", - "SNOWFLAKE", - "FILE_SHARE", - "O365" - ] - } - }, - "regions": { - "type": "array", - "items": { - "type": "string" - } - }, - "lastFound": { - "type": "string", - "format": "date-time" - }, - "recordsAtRisk": { - "$ref": "#/components/schemas/RecordsAtRisk" - } - } - }, - "RecordsAtRisk": { + } + } + } + ] + }, + "CloudAccountInformationDTO": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "projectId": { + "type": "string" + }, + "cloudProvider": { + "type": "string", + "enum": [ + "AWS", + "AZURE", + "GCP", + "SNOWFLAKE", + "FILE_SHARE", + "O365" + ] + }, + "cloudEnvironment": { + "type": "string", + "enum": [ + "UNKNOWN", + "DEVELOPMENT", + "STAGING", + "TESTING", + "PRODUCTION" + ] + }, + "verifiedVendor": { + "type": "boolean" + }, + "foreign": { + "type": "boolean" + } + } + }, + "ConfigEvidenceResult": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/RiskEvidenceResult" + }, + { + "type": "object", + "properties": { + "configurationOptions": { "type": "object", - "properties": { - "high": { - "type": "integer", - "format": "int64" - }, - "medium": { - "type": "integer", - "format": "int64" - }, - "low": { - "type": "integer", - "format": "int64" - } + "additionalProperties": { + "type": "object" } - }, - "AssetDTO": { - "type": "object", - "properties": { - "projectId": { - "type": "string" - }, - "projectName": { - "type": "string" - }, - "name": { - "type": "string" - }, - "cloudProvider": { - "type": "string", - "enum": [ - "AWS", - "AZURE", - "GCP", - "SNOWFLAKE", - "FILE_SHARE", - "O365" - ] - }, - "cloudEnvironment": { - "type": "string", - "enum": [ - "UNKNOWN", - "DEVELOPMENT", - "STAGING", - "TESTING", - "PRODUCTION" - ] - }, - "serviceType": { - "type": "string", - "enum": [ - "ATHENA", - "AURORA", - "AWS_BACKUP", - "DOCUMENTDB", - "DYNAMODB", - "DAX", - "EMR", - "EBS", - "EFS", - "ELASTICACHE", - "FSX", - "KINESIS_DELIVERY_STREAM", - "MEMORYDB", - "NEPTUNE", - "QLDB", - "RDS", - "REDSHIFT", - "S3", - "TIMESTREAM", - "OPENSEARCH", - "OPENSEARCH_SERVERLESS", - "COSMOS_DB", - "SYNAPSE", - "CACHE_FOR_REDIS", - "MARIA_DB", - "MYSQL_SERVER", - "POSTGRESQL_SERVER", - "SQL_SERVER", - "STORAGE_ACCOUNT", - "SQL_MANAGED_INSTANCE", - "ANF", - "CLOUD_STORAGE", - "CLOUD_SQL", - "BIG_QUERY", - "FILE_STORE", - "CLOUD_SPANNER", - "MEMORY_STORE", - "BIG_TABLE", - "FIRE_STORE", - "UNMANAGED_AWS_MYSQL", - "UNMANAGED_AWS_ORACLE_SERVER", - "UNMANAGED_AWS_MONGO_DB", - "UNMANAGED_AWS_POSTGRESQL", - "UNMANAGED_AWS_REDIS", - "UNMANAGED_AWS_SQLITE", - "UNMANAGED_AWS_MS_SQL", - "UNMANAGED_AWS_MARIA_DB", - "UNMANAGED_AWS_NEO4_J", - "UNMANAGED_AWS_ELASTIC", - "UNMANAGED_AWS_COCKROACH_DB", - "UNMANAGED_AWS_AEROSPIKE", - "UNMANAGED_AWS_SCYLLA_DB", - "UNMANAGED_AZURE_MYSQL", - "UNMANAGED_AZURE_ORACLE_SERVER", - "UNMANAGED_AZURE_MONGO_DB", - "UNMANAGED_AZURE_POSTGRESQL", - "UNMANAGED_AZURE_REDIS", - "UNMANAGED_AZURE_SQLITE", - "UNMANAGED_AZURE_MS_SQL", - "UNMANAGED_AZURE_MARIA_DB", - "UNMANAGED_AZURE_NEO4_J", - "UNMANAGED_AZURE_ELASTIC", - "UNMANAGED_AZURE_COCKROACH_DB", - "UNMANAGED_AZURE_AEROSPIKE", - "UNMANAGED_AZURE_SCYLLA_DB", - "UNMANAGED_GCP_MYSQL", - "UNMANAGED_GCP_ORACLE_SERVER", - "UNMANAGED_GCP_MONGO_DB", - "UNMANAGED_GCP_POSTGRESQL", - "UNMANAGED_GCP_REDIS", - "UNMANAGED_GCP_SQLITE", - "UNMANAGED_GCP_MS_SQL", - "UNMANAGED_GCP_MARIA_DB", - "UNMANAGED_GCP_NEO4_J", - "UNMANAGED_GCP_ELASTIC", - "UNMANAGED_GCP_COCKROACH_DB", - "UNMANAGED_GCP_AEROSPIKE", - "UNMANAGED_GCP_SCYLLA_DB", - "SNOWFLAKE_DB", - "FILE_SHARE", - "ONE_DRIVE", - "SHARE_POINT", - "AZURE_OPEN_AI_DEPLOYMENT", - "VERTEX_ENDPOINT", - "BEDROCK_PROVISIONED_THROUGHPUT", - "BEDROCK_AGENT" - ] - }, - "dataTypeGroups": { - "uniqueItems": true, - "type": "array", - "items": { - "type": "string" - } - }, - "dataTypes": { - "uniqueItems": true, - "type": "array", - "items": { - "$ref": "#/components/schemas/ClassificationEntityOfficialApiDto" - } - }, - "lifecycle": { - "type": "string", - "enum": [ - "RUNNING", - "STOPPED", - "DELETED" - ] - }, - "openRisksCount": { - "type": "integer", - "format": "int32" - }, - "openAlertsCount": { - "type": "integer", - "format": "int32" - }, - "encrypted": { - "type": "boolean" - }, - "openToWorld": { - "type": "boolean" - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "assetDigTags": { - "uniqueItems": true, - "type": "array", - "items": { - "$ref": "#/components/schemas/AssetDigTagDTO" - } - }, - "id": { - "type": "string" - } + } + } + } + ] + }, + "DataFlowEvidenceResult": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/RiskEvidenceResult" + }, + { + "type": "object", + "properties": { + "flowInfo": { + "$ref": "#/components/schemas/FlowEvidenceDTO" + }, + "destinationAsset": { + "$ref": "#/components/schemas/DestinationEvidenceDTO" + } + } + } + ] + }, + "DataTypeEvidenceResult": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/RiskEvidenceResult" + }, + { + "type": "object", + "properties": { + "files": { + "type": "array", + "items": { + "$ref": "#/components/schemas/FileEvidenceDTO" } - }, - "AssetDigTagDTO": { - "type": "object", - "properties": { - "digTagId": { - "type": "integer", - "format": "int64" - }, - "key": { - "type": "string" - }, - "value": { - "type": "string" - } + }, + "filesCount": { + "type": "integer", + "format": "int32" + } + } + } + ] + }, + "DestinationEvidenceDTO": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "projectId": { + "type": "string" + }, + "projectName": { + "type": "string" + }, + "cloudEnvironment": { + "type": "string", + "enum": [ + "UNKNOWN", + "DEVELOPMENT", + "STAGING", + "TESTING", + "PRODUCTION" + ] + }, + "cloudProvider": { + "type": "string", + "enum": [ + "AWS", + "AZURE", + "GCP", + "SNOWFLAKE", + "FILE_SHARE", + "O365" + ] + }, + "region": { + "type": "string" + }, + "serviceType": { + "type": "string", + "enum": [ + "ATHENA", + "AURORA", + "AWS_BACKUP", + "DOCUMENTDB", + "DYNAMODB", + "DAX", + "EMR", + "EBS", + "EFS", + "ELASTICACHE", + "FSX", + "KINESIS_DELIVERY_STREAM", + "MEMORYDB", + "NEPTUNE", + "QLDB", + "RDS", + "REDSHIFT", + "S3", + "TIMESTREAM", + "OPENSEARCH", + "OPENSEARCH_SERVERLESS", + "COSMOS_DB", + "SYNAPSE", + "CACHE_FOR_REDIS", + "MARIA_DB", + "MYSQL_SERVER", + "POSTGRESQL_SERVER", + "SQL_SERVER", + "STORAGE_ACCOUNT", + "SQL_MANAGED_INSTANCE", + "ANF", + "CLOUD_STORAGE", + "CLOUD_SQL", + "BIG_QUERY", + "FILE_STORE", + "CLOUD_SPANNER", + "MEMORY_STORE", + "BIG_TABLE", + "FIRE_STORE", + "UNMANAGED_AWS_MYSQL", + "UNMANAGED_AWS_ORACLE_SERVER", + "UNMANAGED_AWS_MONGO_DB", + "UNMANAGED_AWS_POSTGRESQL", + "UNMANAGED_AWS_REDIS", + "UNMANAGED_AWS_SQLITE", + "UNMANAGED_AWS_MS_SQL", + "UNMANAGED_AWS_MARIA_DB", + "UNMANAGED_AWS_NEO4_J", + "UNMANAGED_AWS_ELASTIC", + "UNMANAGED_AWS_COCKROACH_DB", + "UNMANAGED_AWS_AEROSPIKE", + "UNMANAGED_AWS_SCYLLA_DB", + "UNMANAGED_AZURE_MYSQL", + "UNMANAGED_AZURE_ORACLE_SERVER", + "UNMANAGED_AZURE_MONGO_DB", + "UNMANAGED_AZURE_POSTGRESQL", + "UNMANAGED_AZURE_REDIS", + "UNMANAGED_AZURE_SQLITE", + "UNMANAGED_AZURE_MS_SQL", + "UNMANAGED_AZURE_MARIA_DB", + "UNMANAGED_AZURE_NEO4_J", + "UNMANAGED_AZURE_ELASTIC", + "UNMANAGED_AZURE_COCKROACH_DB", + "UNMANAGED_AZURE_AEROSPIKE", + "UNMANAGED_AZURE_SCYLLA_DB", + "UNMANAGED_GCP_MYSQL", + "UNMANAGED_GCP_ORACLE_SERVER", + "UNMANAGED_GCP_MONGO_DB", + "UNMANAGED_GCP_POSTGRESQL", + "UNMANAGED_GCP_REDIS", + "UNMANAGED_GCP_SQLITE", + "UNMANAGED_GCP_MS_SQL", + "UNMANAGED_GCP_MARIA_DB", + "UNMANAGED_GCP_NEO4_J", + "UNMANAGED_GCP_ELASTIC", + "UNMANAGED_GCP_COCKROACH_DB", + "UNMANAGED_GCP_AEROSPIKE", + "UNMANAGED_GCP_SCYLLA_DB", + "SNOWFLAKE_DB", + "FILE_SHARE", + "ONE_DRIVE", + "SHARE_POINT", + "AZURE_OPEN_AI_DEPLOYMENT", + "VERTEX_ENDPOINT", + "BEDROCK_PROVISIONED_THROUGHPUT", + "BEDROCK_AGENT", + "UNMANAGED_AI_AWS_FALCON", + "UNMANAGED_AI_AWS_LLAMA", + "UNMANAGED_AI_AWS_TRANSFORMERSLLAMA", + "UNMANAGED_AI_AWS_GEMMA", + "UNMANAGED_AI_AWS_GPT2", + "UNMANAGED_AI_AWS_MISTRAL", + "UNMANAGED_AI_AWS_PHI", + "UNMANAGED_AI_AWS_QWEN2", + "UNMANAGED_AI_AWS_ROBERTA", + "UNMANAGED_AI_AWS_JAMBA" + ] + }, + "family": { + "type": "string", + "enum": [ + "ANALYTICS", + "DB", + "STORAGE", + "AI" + ] + }, + "deploymentType": { + "type": "string", + "enum": [ + "MANAGED", + "UNMANAGED", + "DBAAS", + "ONPREM", + "SAAS" + ] + }, + "assetId": { + "type": "integer", + "format": "int64" + }, + "assetTags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "assetDspmTags": { + "type": "object", + "additionalProperties": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "FileEvidenceDTO": { + "type": "object", + "properties": { + "size": { + "type": "string" + }, + "filename": { + "type": "string" + }, + "path": { + "type": "string" + }, + "dataTypes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/FileEvidenceDataTypesDTO" + } + }, + "deleted": { + "type": "boolean" + } + } + }, + "FileEvidenceDataTypesDTO": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "label": { + "type": "string" + }, + "count": { + "type": "integer", + "format": "int32" + } + } + }, + "FileEvidenceResult": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/RiskEvidenceResult" + }, + { + "type": "object", + "properties": { + "files": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PublicFileEvidenceDTO" } - }, - "ClassificationEntityOfficialApiDto": { - "type": "object", - "properties": { - "type": { - "type": "string" - }, - "numberOfFindings": { - "type": "integer", - "format": "int64" - } + }, + "filesCount": { + "type": "integer", + "format": "int32" + } + } + } + ] + }, + "FlowEvidenceDTO": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "REPLICATION_RULE", + "S3_REPLICATION_RULE", + "BIG_QUERY_REPLICATION", + "CLOUD_STORAGE_REPLICATION", + "STORAGE_ACCOUNT_REPLICATION_RULE" + ] + } + } + }, + "FreshnessEvidenceResult": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/RiskEvidenceResult" + } + ] + }, + "InferenceDataSourceIngestInForeignAccountEvidenceResult": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/RiskEvidenceResult" + }, + { + "type": "object", + "properties": { + "destinationAsset": { + "$ref": "#/components/schemas/DestinationEvidenceDTO" + } + } + } + ] + }, + "LabelEvidenceResult": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/RiskEvidenceResult" + }, + { + "type": "object", + "properties": { + "files": { + "type": "array", + "items": { + "$ref": "#/components/schemas/FileEvidenceDTO" } - }, - "AlertDTO": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "detectionTime": { - "type": "string", - "format": "date-time" - }, - "policyName": { - "type": "string" - }, - "assetName": { - "type": "string" - }, - "assetLabels": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AssetLabelDashboardDTO" - } - }, - "cloudProvider": { - "type": "string", - "enum": [ - "AWS", - "AZURE", - "GCP", - "SNOWFLAKE", - "FILE_SHARE", - "O365" - ] - }, - "destinationProjects": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "cloudEnvironment": { - "type": "string", - "enum": [ - "UNKNOWN", - "DEVELOPMENT", - "STAGING", - "TESTING", - "PRODUCTION" - ] - }, - "policySeverity": { - "type": "string", - "enum": [ - "HIGH", - "MEDIUM", - "LOW" - ] - }, - "policyCategoryType": { - "type": "string", - "enum": [ - "FIRST_MOVE", - "ATTACK", - "COMPLIANCE", - "ASSET_AT_RISK", - "RECONNAISSANCE" - ] - }, - "status": { - "type": "string", - "enum": [ - "OPEN", - "UNIMPORTANT", - "WRONG", - "HANDLED", - "INVESTIGATING" - ] - }, - "eventActor": { - "type": "string" - }, - "eventUserAgent": { - "type": "string" - }, - "eventActionMedium": { - "type": "string", - "enum": [ - "CONSOLE", - "SDK", - "CLI", - "SYSTEM" - ] - }, - "eventSource": { - "type": "string" - }, - "policyFrameWorks": { - "uniqueItems": true, - "type": "array", - "items": { - "type": "string" - } - }, - "eventRawData": { - "type": "string" - } + }, + "filesCount": { + "type": "integer", + "format": "int32" + } + } + } + ] + }, + "MalwareEvidenceResult": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/RiskEvidenceResult" + }, + { + "type": "object", + "properties": { + "files": { + "type": "array", + "items": { + "$ref": "#/components/schemas/MalwareFileEvidenceDTO" } - }, - "AssetLabelDashboardDTO": { - "type": "object", - "properties": { - "label": { - "$ref": "#/components/schemas/LabelDashboardDTO" - }, - "connectedBy": { - "type": "string", - "enum": [ - "SYSTEM", - "USER" - ] - } + }, + "filesCount": { + "type": "integer", + "format": "int32" + } + } + } + ] + }, + "MalwareFileEvidenceDTO": { + "type": "object", + "properties": { + "size": { + "type": "string" + }, + "filename": { + "type": "string" + }, + "path": { + "type": "string" + }, + "dataTypes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/FileEvidenceDataTypesDTO" + } + }, + "malwareFamily": { + "type": "array", + "items": { + "type": "object" + } + }, + "malwareConfidence": { + "type": "string" + }, + "malicious": { + "type": "boolean" + }, + "deleted": { + "type": "boolean" + } + } + }, + "PublicFileEvidenceDTO": { + "type": "object", + "properties": { + "size": { + "type": "string" + }, + "filename": { + "type": "string" + }, + "path": { + "type": "string" + }, + "dataTypes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/FileEvidenceDataTypesDTO" + } + }, + "openToWorld": { + "type": "boolean" + }, + "deleted": { + "type": "boolean" + } + } + }, + "RiskDetectionAssetDTO": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "assetId": { + "type": "string" + }, + "cloudTags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "dspmTags": { + "type": "object", + "additionalProperties": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + } + }, + "dataTypes": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + }, + "assetLabels": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + }, + "service": { + "type": "string", + "enum": [ + "ATHENA", + "AURORA", + "AWS_BACKUP", + "DOCUMENTDB", + "DYNAMODB", + "DAX", + "EMR", + "EBS", + "EFS", + "ELASTICACHE", + "FSX", + "KINESIS_DELIVERY_STREAM", + "MEMORYDB", + "NEPTUNE", + "QLDB", + "RDS", + "REDSHIFT", + "S3", + "TIMESTREAM", + "OPENSEARCH", + "OPENSEARCH_SERVERLESS", + "COSMOS_DB", + "SYNAPSE", + "CACHE_FOR_REDIS", + "MARIA_DB", + "MYSQL_SERVER", + "POSTGRESQL_SERVER", + "SQL_SERVER", + "STORAGE_ACCOUNT", + "SQL_MANAGED_INSTANCE", + "ANF", + "CLOUD_STORAGE", + "CLOUD_SQL", + "BIG_QUERY", + "FILE_STORE", + "CLOUD_SPANNER", + "MEMORY_STORE", + "BIG_TABLE", + "FIRE_STORE", + "UNMANAGED_AWS_MYSQL", + "UNMANAGED_AWS_ORACLE_SERVER", + "UNMANAGED_AWS_MONGO_DB", + "UNMANAGED_AWS_POSTGRESQL", + "UNMANAGED_AWS_REDIS", + "UNMANAGED_AWS_SQLITE", + "UNMANAGED_AWS_MS_SQL", + "UNMANAGED_AWS_MARIA_DB", + "UNMANAGED_AWS_NEO4_J", + "UNMANAGED_AWS_ELASTIC", + "UNMANAGED_AWS_COCKROACH_DB", + "UNMANAGED_AWS_AEROSPIKE", + "UNMANAGED_AWS_SCYLLA_DB", + "UNMANAGED_AZURE_MYSQL", + "UNMANAGED_AZURE_ORACLE_SERVER", + "UNMANAGED_AZURE_MONGO_DB", + "UNMANAGED_AZURE_POSTGRESQL", + "UNMANAGED_AZURE_REDIS", + "UNMANAGED_AZURE_SQLITE", + "UNMANAGED_AZURE_MS_SQL", + "UNMANAGED_AZURE_MARIA_DB", + "UNMANAGED_AZURE_NEO4_J", + "UNMANAGED_AZURE_ELASTIC", + "UNMANAGED_AZURE_COCKROACH_DB", + "UNMANAGED_AZURE_AEROSPIKE", + "UNMANAGED_AZURE_SCYLLA_DB", + "UNMANAGED_GCP_MYSQL", + "UNMANAGED_GCP_ORACLE_SERVER", + "UNMANAGED_GCP_MONGO_DB", + "UNMANAGED_GCP_POSTGRESQL", + "UNMANAGED_GCP_REDIS", + "UNMANAGED_GCP_SQLITE", + "UNMANAGED_GCP_MS_SQL", + "UNMANAGED_GCP_MARIA_DB", + "UNMANAGED_GCP_NEO4_J", + "UNMANAGED_GCP_ELASTIC", + "UNMANAGED_GCP_COCKROACH_DB", + "UNMANAGED_GCP_AEROSPIKE", + "UNMANAGED_GCP_SCYLLA_DB", + "SNOWFLAKE_DB", + "FILE_SHARE", + "ONE_DRIVE", + "SHARE_POINT", + "AZURE_OPEN_AI_DEPLOYMENT", + "VERTEX_ENDPOINT", + "BEDROCK_PROVISIONED_THROUGHPUT", + "BEDROCK_AGENT", + "UNMANAGED_AI_AWS_FALCON", + "UNMANAGED_AI_AWS_LLAMA", + "UNMANAGED_AI_AWS_TRANSFORMERSLLAMA", + "UNMANAGED_AI_AWS_GEMMA", + "UNMANAGED_AI_AWS_GPT2", + "UNMANAGED_AI_AWS_MISTRAL", + "UNMANAGED_AI_AWS_PHI", + "UNMANAGED_AI_AWS_QWEN2", + "UNMANAGED_AI_AWS_ROBERTA", + "UNMANAGED_AI_AWS_JAMBA" + ] + } + } + }, + "RiskDetectionOfficialApiResponseDTO": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "ruleName": { + "type": "string" + }, + "severity": { + "type": "string", + "enum": [ + "LOW", + "MEDIUM", + "HIGH" + ] + }, + "asset": { + "$ref": "#/components/schemas/RiskDetectionAssetDTO" + }, + "status": { + "type": "string", + "enum": [ + "OPEN", + "CLOSED", + "UNIMPORTANT", + "WRONG", + "HANDLED", + "INVESTIGATING" + ] + }, + "projectId": { + "type": "string" + }, + "cloudProvider": { + "type": "string", + "enum": [ + "AWS", + "AZURE", + "GCP", + "SNOWFLAKE", + "FILE_SHARE", + "O365" + ] + }, + "cloudEnvironment": { + "type": "string", + "enum": [ + "UNKNOWN", + "DEVELOPMENT", + "STAGING", + "TESTING", + "PRODUCTION" + ] + }, + "firstDiscovered": { + "type": "string", + "format": "date-time" + }, + "complianceStandards": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "riskEvidence": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RiskEvidenceOfficialApiDTO" + } + } + } + }, + "RiskEvidenceOfficialApiDTO": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "error": { + "type": "string" + }, + "result": { + "oneOf": [ + { + "$ref": "#/components/schemas/AccessEvidenceResult" + }, + { + "$ref": "#/components/schemas/AiContentFilterEvidenceResult" + }, + { + "$ref": "#/components/schemas/AiDatasetPublicEvidenceResult" + }, + { + "$ref": "#/components/schemas/ChatHistoryEvidenceResult" + }, + { + "$ref": "#/components/schemas/ConfigEvidenceResult" + }, + { + "$ref": "#/components/schemas/DataFlowEvidenceResult" + }, + { + "$ref": "#/components/schemas/DataTypeEvidenceResult" + }, + { + "$ref": "#/components/schemas/FileEvidenceResult" + }, + { + "$ref": "#/components/schemas/FreshnessEvidenceResult" + }, + { + "$ref": "#/components/schemas/InferenceDataSourceIngestInForeignAccountEvidenceResult" + }, + { + "$ref": "#/components/schemas/LabelEvidenceResult" + }, + { + "$ref": "#/components/schemas/MalwareEvidenceResult" + }, + { + "$ref": "#/components/schemas/ShadowBackupEvidenceResult" + }, + { + "$ref": "#/components/schemas/SnapshotEvidenceResult" + } + ] + } + } + }, + "RiskEvidenceResult": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "FILE", + "SNAPSHOT", + "CONFIG", + "FRESHNESS", + "ACCESS", + "MALWARE", + "DATA_FLOW", + "SHADOW_BACKUP", + "DATA_TYPE", + "LABEL", + "AI_DATASET_PUBLIC", + "AI_CHAT_HISTORY", + "INFERENCE_DATA_SOURCE_INGEST_IN_FOREIGN_ACCOUNT", + "AI_CONTENT_FILTER" + ] + } + }, + "discriminator": { + "propertyName": "type" + } + }, + "ShadowBackupEvidenceResult": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/RiskEvidenceResult" + }, + { + "type": "object", + "properties": { + "files": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ShadowBackupFileEvidenceDTO" } - }, - "LabelDashboardDTO": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string" - }, - "description": { - "type": "string" - }, - "color": { - "type": "string" - }, - "prettyName": { - "type": "string" - } + }, + "filesCount": { + "type": "integer", + "format": "int32" + } + } + } + ] + }, + "ShadowBackupFileEvidenceDTO": { + "type": "object", + "properties": { + "size": { + "type": "string" + }, + "filename": { + "type": "string" + }, + "path": { + "type": "string" + }, + "dataTypes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/FileEvidenceDataTypesDTO" + } + }, + "shadowBackup": { + "type": "boolean" + }, + "deleted": { + "type": "boolean" + } + } + }, + "SnapshotEvidenceResult": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/RiskEvidenceResult" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "region": { + "type": "string" + }, + "service": { + "type": "string" + }, + "originalAssetId": { + "type": "string" + }, + "sharingScope": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" } + }, + "sizeInGB": { + "type": "integer", + "format": "int32" + }, + "createdTime": { + "type": "string" + }, + "projectId": { + "type": "string" + }, + "externalLink": { + "type": "string" + } + } + } + ] + }, + "EntitiesDTO": { + "type": "object", + "properties": { + "dataTypeName": { + "type": "string" + }, + "label": { + "type": "string" + }, + "records": { + "type": "integer", + "format": "int64" + }, + "publicRecords": { + "type": "integer", + "format": "int64" + }, + "assets": { + "type": "integer", + "format": "int64" + }, + "clouds": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "AWS", + "AZURE", + "GCP", + "SNOWFLAKE", + "FILE_SHARE", + "O365" + ] + } + }, + "regions": { + "type": "array", + "items": { + "type": "string" } + }, + "lastFound": { + "type": "string", + "format": "date-time" + }, + "recordsAtRisk": { + "$ref": "#/components/schemas/RecordsAtRisk" + } } - }, + }, + "RecordsAtRisk": { + "type": "object", + "properties": { + "high": { + "type": "integer", + "format": "int64" + }, + "medium": { + "type": "integer", + "format": "int64" + }, + "low": { + "type": "integer", + "format": "int64" + } + } + }, + "AssetDTO": { + "type": "object", + "properties": { + "firstDiscovered": { + "type": "string", + "format": "date-time" + }, + "projectId": { + "type": "string" + }, + "projectName": { + "type": "string" + }, + "name": { + "type": "string" + }, + "cloudProvider": { + "type": "string", + "enum": [ + "AWS", + "AZURE", + "GCP", + "SNOWFLAKE", + "FILE_SHARE", + "O365" + ] + }, + "cloudEnvironment": { + "type": "string", + "enum": [ + "UNKNOWN", + "DEVELOPMENT", + "STAGING", + "TESTING", + "PRODUCTION" + ] + }, + "serviceType": { + "type": "string", + "enum": [ + "ATHENA", + "AURORA", + "AWS_BACKUP", + "DOCUMENTDB", + "DYNAMODB", + "DAX", + "EMR", + "EBS", + "EFS", + "ELASTICACHE", + "FSX", + "KINESIS_DELIVERY_STREAM", + "MEMORYDB", + "NEPTUNE", + "QLDB", + "RDS", + "REDSHIFT", + "S3", + "TIMESTREAM", + "OPENSEARCH", + "OPENSEARCH_SERVERLESS", + "COSMOS_DB", + "SYNAPSE", + "CACHE_FOR_REDIS", + "MARIA_DB", + "MYSQL_SERVER", + "POSTGRESQL_SERVER", + "SQL_SERVER", + "STORAGE_ACCOUNT", + "SQL_MANAGED_INSTANCE", + "ANF", + "CLOUD_STORAGE", + "CLOUD_SQL", + "BIG_QUERY", + "FILE_STORE", + "CLOUD_SPANNER", + "MEMORY_STORE", + "BIG_TABLE", + "FIRE_STORE", + "UNMANAGED_AWS_MYSQL", + "UNMANAGED_AWS_ORACLE_SERVER", + "UNMANAGED_AWS_MONGO_DB", + "UNMANAGED_AWS_POSTGRESQL", + "UNMANAGED_AWS_REDIS", + "UNMANAGED_AWS_SQLITE", + "UNMANAGED_AWS_MS_SQL", + "UNMANAGED_AWS_MARIA_DB", + "UNMANAGED_AWS_NEO4_J", + "UNMANAGED_AWS_ELASTIC", + "UNMANAGED_AWS_COCKROACH_DB", + "UNMANAGED_AWS_AEROSPIKE", + "UNMANAGED_AWS_SCYLLA_DB", + "UNMANAGED_AZURE_MYSQL", + "UNMANAGED_AZURE_ORACLE_SERVER", + "UNMANAGED_AZURE_MONGO_DB", + "UNMANAGED_AZURE_POSTGRESQL", + "UNMANAGED_AZURE_REDIS", + "UNMANAGED_AZURE_SQLITE", + "UNMANAGED_AZURE_MS_SQL", + "UNMANAGED_AZURE_MARIA_DB", + "UNMANAGED_AZURE_NEO4_J", + "UNMANAGED_AZURE_ELASTIC", + "UNMANAGED_AZURE_COCKROACH_DB", + "UNMANAGED_AZURE_AEROSPIKE", + "UNMANAGED_AZURE_SCYLLA_DB", + "UNMANAGED_GCP_MYSQL", + "UNMANAGED_GCP_ORACLE_SERVER", + "UNMANAGED_GCP_MONGO_DB", + "UNMANAGED_GCP_POSTGRESQL", + "UNMANAGED_GCP_REDIS", + "UNMANAGED_GCP_SQLITE", + "UNMANAGED_GCP_MS_SQL", + "UNMANAGED_GCP_MARIA_DB", + "UNMANAGED_GCP_NEO4_J", + "UNMANAGED_GCP_ELASTIC", + "UNMANAGED_GCP_COCKROACH_DB", + "UNMANAGED_GCP_AEROSPIKE", + "UNMANAGED_GCP_SCYLLA_DB", + "SNOWFLAKE_DB", + "FILE_SHARE", + "ONE_DRIVE", + "SHARE_POINT", + "AZURE_OPEN_AI_DEPLOYMENT", + "VERTEX_ENDPOINT", + "BEDROCK_PROVISIONED_THROUGHPUT", + "BEDROCK_AGENT", + "UNMANAGED_AI_AWS_FALCON", + "UNMANAGED_AI_AWS_LLAMA", + "UNMANAGED_AI_AWS_TRANSFORMERSLLAMA", + "UNMANAGED_AI_AWS_GEMMA", + "UNMANAGED_AI_AWS_GPT2", + "UNMANAGED_AI_AWS_MISTRAL", + "UNMANAGED_AI_AWS_PHI", + "UNMANAGED_AI_AWS_QWEN2", + "UNMANAGED_AI_AWS_ROBERTA", + "UNMANAGED_AI_AWS_JAMBA" + ] + }, + "dataTypeGroups": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + }, + "dataTypes": { + "uniqueItems": true, + "type": "array", + "items": { + "$ref": "#/components/schemas/ClassificationEntityOfficialApiDto" + } + }, + "lifecycle": { + "type": "string", + "enum": [ + "RUNNING", + "STOPPED", + "DELETED" + ] + }, + "openRisksCount": { + "type": "integer", + "format": "int32" + }, + "openAlertsCount": { + "type": "integer", + "format": "int32" + }, + "encrypted": { + "type": "boolean" + }, + "openToWorld": { + "type": "boolean" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "assetDigTags": { + "uniqueItems": true, + "type": "array", + "items": { + "$ref": "#/components/schemas/AssetDigTagDTO" + } + }, + "id": { + "type": "string" + } + } + }, + "AssetDigTagDTO": { + "type": "object", + "properties": { + "digTagId": { + "type": "integer", + "format": "int64" + }, + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + } + }, + "ClassificationEntityOfficialApiDto": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "numberOfFindings": { + "type": "integer", + "format": "int64" + } + } + }, + "AlertDTO": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "detectionTime": { + "type": "string", + "format": "date-time" + }, + "policyName": { + "type": "string" + }, + "assetName": { + "type": "string" + }, + "assetLabels": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AssetLabelDashboardDTO" + } + }, + "cloudProvider": { + "type": "string", + "enum": [ + "AWS", + "AZURE", + "GCP", + "SNOWFLAKE", + "FILE_SHARE", + "O365" + ] + }, + "destinationProjects": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "projectName": { + "type": "string" + }, + "projectId": { + "type": "string" + }, + "cloudEnvironment": { + "type": "string", + "enum": [ + "UNKNOWN", + "DEVELOPMENT", + "STAGING", + "TESTING", + "PRODUCTION" + ] + }, + "policySeverity": { + "type": "string", + "enum": [ + "HIGH", + "MEDIUM", + "LOW" + ] + }, + "policyCategoryType": { + "type": "string", + "enum": [ + "FIRST_MOVE", + "ATTACK", + "COMPLIANCE", + "ASSET_AT_RISK", + "RECONNAISSANCE" + ] + }, + "status": { + "type": "string", + "enum": [ + "OPEN", + "UNIMPORTANT", + "WRONG", + "HANDLED", + "INVESTIGATING" + ] + }, + "eventActor": { + "type": "string" + }, + "eventUserAgent": { + "type": "string" + }, + "eventActionMedium": { + "type": "string", + "enum": [ + "CONSOLE", + "SDK", + "CLI", + "SYSTEM" + ] + }, + "eventSource": { + "type": "string" + }, + "policyFrameWorks": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + }, + "eventRawData": { + "type": "string" + }, + "assetId": { + "type": "string" + } + } + }, + "AssetLabelDashboardDTO": { + "type": "object", + "properties": { + "label": { + "$ref": "#/components/schemas/LabelDashboardDTO" + }, + "connectedBy": { + "type": "string", + "enum": [ + "SYSTEM", + "USER" + ] + } + } + }, + "LabelDashboardDTO": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "color": { + "type": "string" + }, + "prettyName": { + "type": "string" + } + } + } + } + }, "tags": [ { "name": "Alerts" From 7d1e6411937bf85602ef27a6f5f62746d879bae1 Mon Sep 17 00:00:00 2001 From: manukumar6 Date: Tue, 28 Jan 2025 09:09:30 +0530 Subject: [PATCH 2/3] update for DIGX-4469 --- openapi-specs/dspm/dspm.json | 8942 +++++++++++++++++----------------- 1 file changed, 4494 insertions(+), 4448 deletions(-) diff --git a/openapi-specs/dspm/dspm.json b/openapi-specs/dspm/dspm.json index aeeac59d6..d05e31308 100644 --- a/openapi-specs/dspm/dspm.json +++ b/openapi-specs/dspm/dspm.json @@ -1,4449 +1,4495 @@ -{ - "openapi": "3.0.1", - "info": { - "title": "Data Security Posture Management (DSPM) APIs", - "description": { - "$ref": "desc/intro.md" - }, - "version": "1.0.0" - }, - "servers": [ - { - "url": "https://api.dig.security", - "description": "Dig Security public API" - }, - { - "url": "PATH_TO_CONSOLE" - } - ], - "paths": { - "/v1/classification/asset-files/id": { - "post": { - "tags": [ - "Classifications" - ], - "operationId": "post-classification-asset-files-id", - "parameters": [ - { - "name": "id", - "in": "query", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "required": false, - "schema": { - "type": "string", - "default": "1" - } - }, - { - "name": "size", - "in": "query", - "required": false, - "schema": { - "maximum": 150, - "type": "integer", - "default": 20 - } - }, - { - "name": "dig-api-key", - "in": "header", - "description": "Dig token header", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ListFilesFilterBodyRequest" - } - } - } - }, - "responses": { - "200": { - "description": "Returns list of asset files", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DigFileThirdPartyBundle" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DigFileThirdPartyBundle" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DigFileThirdPartyBundle" - } - } - } - } - }, - "summary": "Get Asset file details by Id", - "description": { - "$ref": "desc/classification/asset_files_id_post.md" - } - } - }, - "/v1/classification/asset-fields/id": { - "post": { - "tags": [ - "Classifications" - ], - "operationId": "post-classification-asset-fields-id", - "parameters": [ - { - "name": "id", - "in": "query", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "required": false, - "schema": { - "type": "string", - "default": "1" - } - }, - { - "name": "size", - "in": "query", - "required": false, - "schema": { - "maximum": 150, - "type": "integer", - "default": 20 - } - }, - { - "name": "dig-api-key", - "in": "header", - "description": "Dig token header", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ListFieldsFilterBodyRequest" - } - } - } - }, - "responses": { - "200": { - "description": "Returns list of asset fields", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DBContents" - } - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DBContents" - } - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DBContents" - } - } - } - } - } - }, - "summary": "Get Asset fields details by Id", - "description": { - "$ref": "desc/classification/asset_fields_id_post.md" - } - } - }, - "/v1/risk-findings/id/{id}/status/{status}": { - "patch": { - "tags": [ - "Risks" - ], - "operationId": "patch-risk-findings-id-id-status-status", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "in": "path", - "required": true, - "schema": { - "type": "string", - "enum": [ - "OPEN", - "CLOSED", - "UNIMPORTANT", - "WRONG", - "HANDLED", - "INVESTIGATING" - ] - } - }, - { - "name": "dig-api-key", - "in": "header", - "description": "Dig token header", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdateRiskDetectionResponseDTO" - } - } - } - } - }, - "summary": "Update Risk Finding Status", - "description": { - "$ref": "desc/risk-findings/risk-findings_id_status_patch.md" - } - } - }, - "/v1/alerts/id/{id}/status/{status}": { - "patch": { - "tags": [ - "Alerts" - ], - "operationId": "patch-alerts-id-id-status-status", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "status", - "in": "path", - "required": true, - "schema": { - "type": "string", - "enum": [ - "OPEN", - "UNIMPORTANT", - "WRONG", - "HANDLED", - "INVESTIGATING" - ] - } - }, - { - "name": "dig-api-key", - "in": "header", - "description": "Dig token header", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdateAlertStatusResponseDTO" - } - } - } - } - }, - "summary": "Update Alert Status", - "description": { - "$ref": "desc/alerts/alerts_id_status_patch.md" - } - } - }, - "/v1/risk-findings": { - "get": { - "tags": [ - "Risks" - ], - "operationId": "get-risk-findings", - "parameters": [ - { - "name": "ruleName.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - { - "name": "ruleName.equals", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "dspmTagKey.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - { - "name": "dspmTagKey.equals", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "dspmTagValue.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - { - "name": "dspmTagValue.equals", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "projectId.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - { - "name": "projectId.equals", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "cloudProvider.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "AWS", - "AZURE", - "GCP", - "SNOWFLAKE", - "FILE_SHARE", - "O365" - ] - } - } - }, - { - "name": "cloudProvider.equals", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "AWS", - "AZURE", - "GCP", - "SNOWFLAKE", - "FILE_SHARE", - "O365" - ] - } - }, - { - "name": "affects.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "SECURITY", - "COMPLIANCE", - "GOVERNANCE", - "SECURITY_AND_COMPLIANCE", - "SECURITY_AND_GOVERNANCE", - "COMPLIANCE_AND_GOVERNANCE", - "SECURITY_AND_COMPLIANCE_AND_GOVERNANCE" - ] - } - } - }, - { - "name": "affects.equals", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "SECURITY", - "COMPLIANCE", - "GOVERNANCE", - "SECURITY_AND_COMPLIANCE", - "SECURITY_AND_GOVERNANCE", - "COMPLIANCE_AND_GOVERNANCE", - "SECURITY_AND_COMPLIANCE_AND_GOVERNANCE" - ] - } - }, - { - "name": "status.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "OPEN", - "CLOSED", - "UNIMPORTANT", - "WRONG", - "HANDLED", - "INVESTIGATING" - ] - } - } - }, - { - "name": "status.equals", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "OPEN", - "CLOSED", - "UNIMPORTANT", - "WRONG", - "HANDLED", - "INVESTIGATING" - ] - } - }, - { - "name": "severity.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "LOW", - "MEDIUM", - "HIGH" - ] - } - } - }, - { - "name": "severity.equals", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "LOW", - "MEDIUM", - "HIGH" - ] - } - }, - { - "name": "sort", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - { - "name": "page", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "size", - "in": "query", - "required": false, - "schema": { - "maximum": 50, - "type": "integer", - "default": 20 - } - }, - { - "name": "dig-api-key", - "in": "header", - "description": "Dig token header", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Returns a list of risk findings", - "headers": { - "X-Total-Count": { - "description": "The total number of items in the page", - "style": "simple", - "schema": { - "type": "integer" - } - } - }, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RiskDetectionsDTO" - } - } - } - } - } - }, - "summary": "Get a list of Risk findings", - "description": { - "$ref": "desc/risk-findings/get.md" - } - } - }, - "/v1/risk-findings/id/{id}": { - "get": { - "tags": [ - "Risks" - ], - "operationId": "get-risk-findings-id-id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "dig-api-key", - "in": "header", - "description": "Dig token header", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RiskDetectionOfficialApiResponseDTO" - } - } - } - } - }, - "summary": "Get a Risk finding by Id", - "description": { - "$ref": "desc/risk-findings/id_get.md" - } - } - }, - "/v1/labels": { - "get": { - "tags": [ - "Labels" - ], - "operationId": "get-labels", - "parameters": [ - { - "name": "dig-api-key", - "in": "header", - "description": "Dig token header", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Returns list of label names based on company", - "content": { - "application/json": { - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - }, - "summary": "Get a list of Labels", - "description": { - "$ref": "desc/labels/get.md" - } - } - }, - "/v1/data-type-findings": { - "get": { - "tags": [ - "Data Type Findings" - ], - "operationId": "get-data-type-findings", - "parameters": [ - { - "name": "region.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - { - "name": "region.equals", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "projectId.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - { - "name": "projectId.equals", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "cloudProvider.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "AWS", - "AZURE", - "GCP", - "SNOWFLAKE", - "FILE_SHARE", - "O365" - ] - } - } - }, - { - "name": "cloudProvider.equals", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "AWS", - "AZURE", - "GCP", - "SNOWFLAKE", - "FILE_SHARE", - "O365" - ] - } - }, - { - "name": "serviceType.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ATHENA", - "AURORA", - "AWS_BACKUP", - "DOCUMENTDB", - "DYNAMODB", - "DAX", - "EMR", - "EBS", - "EFS", - "ELASTICACHE", - "FSX", - "KINESIS_DELIVERY_STREAM", - "MEMORYDB", - "NEPTUNE", - "QLDB", - "RDS", - "REDSHIFT", - "S3", - "TIMESTREAM", - "OPENSEARCH", - "OPENSEARCH_SERVERLESS", - "COSMOS_DB", - "SYNAPSE", - "CACHE_FOR_REDIS", - "MARIA_DB", - "MYSQL_SERVER", - "POSTGRESQL_SERVER", - "SQL_SERVER", - "STORAGE_ACCOUNT", - "SQL_MANAGED_INSTANCE", - "ANF", - "CLOUD_STORAGE", - "CLOUD_SQL", - "BIG_QUERY", - "FILE_STORE", - "CLOUD_SPANNER", - "MEMORY_STORE", - "BIG_TABLE", - "FIRE_STORE", - "UNMANAGED_AWS_MYSQL", - "UNMANAGED_AWS_ORACLE_SERVER", - "UNMANAGED_AWS_MONGO_DB", - "UNMANAGED_AWS_POSTGRESQL", - "UNMANAGED_AWS_REDIS", - "UNMANAGED_AWS_SQLITE", - "UNMANAGED_AWS_MS_SQL", - "UNMANAGED_AWS_MARIA_DB", - "UNMANAGED_AWS_NEO4_J", - "UNMANAGED_AWS_ELASTIC", - "UNMANAGED_AWS_COCKROACH_DB", - "UNMANAGED_AWS_AEROSPIKE", - "UNMANAGED_AWS_SCYLLA_DB", - "UNMANAGED_AZURE_MYSQL", - "UNMANAGED_AZURE_ORACLE_SERVER", - "UNMANAGED_AZURE_MONGO_DB", - "UNMANAGED_AZURE_POSTGRESQL", - "UNMANAGED_AZURE_REDIS", - "UNMANAGED_AZURE_SQLITE", - "UNMANAGED_AZURE_MS_SQL", - "UNMANAGED_AZURE_MARIA_DB", - "UNMANAGED_AZURE_NEO4_J", - "UNMANAGED_AZURE_ELASTIC", - "UNMANAGED_AZURE_COCKROACH_DB", - "UNMANAGED_AZURE_AEROSPIKE", - "UNMANAGED_AZURE_SCYLLA_DB", - "UNMANAGED_GCP_MYSQL", - "UNMANAGED_GCP_ORACLE_SERVER", - "UNMANAGED_GCP_MONGO_DB", - "UNMANAGED_GCP_POSTGRESQL", - "UNMANAGED_GCP_REDIS", - "UNMANAGED_GCP_SQLITE", - "UNMANAGED_GCP_MS_SQL", - "UNMANAGED_GCP_MARIA_DB", - "UNMANAGED_GCP_NEO4_J", - "UNMANAGED_GCP_ELASTIC", - "UNMANAGED_GCP_COCKROACH_DB", - "UNMANAGED_GCP_AEROSPIKE", - "UNMANAGED_GCP_SCYLLA_DB", - "SNOWFLAKE_DB", - "FILE_SHARE", - "ONE_DRIVE", - "SHARE_POINT", - "AZURE_OPEN_AI_DEPLOYMENT", - "VERTEX_ENDPOINT", - "BEDROCK_PROVISIONED_THROUGHPUT", - "BEDROCK_AGENT", - "UNMANAGED_AI_AWS_FALCON", - "UNMANAGED_AI_AWS_LLAMA", - "UNMANAGED_AI_AWS_TRANSFORMERSLLAMA", - "UNMANAGED_AI_AWS_GEMMA", - "UNMANAGED_AI_AWS_GPT2", - "UNMANAGED_AI_AWS_MISTRAL", - "UNMANAGED_AI_AWS_PHI", - "UNMANAGED_AI_AWS_QWEN2", - "UNMANAGED_AI_AWS_ROBERTA", - "UNMANAGED_AI_AWS_JAMBA" - ] - } - } - }, - { - "name": "serviceType.equals", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "ATHENA", - "AURORA", - "AWS_BACKUP", - "DOCUMENTDB", - "DYNAMODB", - "DAX", - "EMR", - "EBS", - "EFS", - "ELASTICACHE", - "FSX", - "KINESIS_DELIVERY_STREAM", - "MEMORYDB", - "NEPTUNE", - "QLDB", - "RDS", - "REDSHIFT", - "S3", - "TIMESTREAM", - "OPENSEARCH", - "OPENSEARCH_SERVERLESS", - "COSMOS_DB", - "SYNAPSE", - "CACHE_FOR_REDIS", - "MARIA_DB", - "MYSQL_SERVER", - "POSTGRESQL_SERVER", - "SQL_SERVER", - "STORAGE_ACCOUNT", - "SQL_MANAGED_INSTANCE", - "ANF", - "CLOUD_STORAGE", - "CLOUD_SQL", - "BIG_QUERY", - "FILE_STORE", - "CLOUD_SPANNER", - "MEMORY_STORE", - "BIG_TABLE", - "FIRE_STORE", - "UNMANAGED_AWS_MYSQL", - "UNMANAGED_AWS_ORACLE_SERVER", - "UNMANAGED_AWS_MONGO_DB", - "UNMANAGED_AWS_POSTGRESQL", - "UNMANAGED_AWS_REDIS", - "UNMANAGED_AWS_SQLITE", - "UNMANAGED_AWS_MS_SQL", - "UNMANAGED_AWS_MARIA_DB", - "UNMANAGED_AWS_NEO4_J", - "UNMANAGED_AWS_ELASTIC", - "UNMANAGED_AWS_COCKROACH_DB", - "UNMANAGED_AWS_AEROSPIKE", - "UNMANAGED_AWS_SCYLLA_DB", - "UNMANAGED_AZURE_MYSQL", - "UNMANAGED_AZURE_ORACLE_SERVER", - "UNMANAGED_AZURE_MONGO_DB", - "UNMANAGED_AZURE_POSTGRESQL", - "UNMANAGED_AZURE_REDIS", - "UNMANAGED_AZURE_SQLITE", - "UNMANAGED_AZURE_MS_SQL", - "UNMANAGED_AZURE_MARIA_DB", - "UNMANAGED_AZURE_NEO4_J", - "UNMANAGED_AZURE_ELASTIC", - "UNMANAGED_AZURE_COCKROACH_DB", - "UNMANAGED_AZURE_AEROSPIKE", - "UNMANAGED_AZURE_SCYLLA_DB", - "UNMANAGED_GCP_MYSQL", - "UNMANAGED_GCP_ORACLE_SERVER", - "UNMANAGED_GCP_MONGO_DB", - "UNMANAGED_GCP_POSTGRESQL", - "UNMANAGED_GCP_REDIS", - "UNMANAGED_GCP_SQLITE", - "UNMANAGED_GCP_MS_SQL", - "UNMANAGED_GCP_MARIA_DB", - "UNMANAGED_GCP_NEO4_J", - "UNMANAGED_GCP_ELASTIC", - "UNMANAGED_GCP_COCKROACH_DB", - "UNMANAGED_GCP_AEROSPIKE", - "UNMANAGED_GCP_SCYLLA_DB", - "SNOWFLAKE_DB", - "FILE_SHARE", - "ONE_DRIVE", - "SHARE_POINT", - "AZURE_OPEN_AI_DEPLOYMENT", - "VERTEX_ENDPOINT", - "BEDROCK_PROVISIONED_THROUGHPUT", - "BEDROCK_AGENT", - "UNMANAGED_AI_AWS_FALCON", - "UNMANAGED_AI_AWS_LLAMA", - "UNMANAGED_AI_AWS_TRANSFORMERSLLAMA", - "UNMANAGED_AI_AWS_GEMMA", - "UNMANAGED_AI_AWS_GPT2", - "UNMANAGED_AI_AWS_MISTRAL", - "UNMANAGED_AI_AWS_PHI", - "UNMANAGED_AI_AWS_QWEN2", - "UNMANAGED_AI_AWS_ROBERTA", - "UNMANAGED_AI_AWS_JAMBA" - ] - } - }, - { - "name": "lifecycle.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "RUNNING", - "STOPPED", - "DELETED" - ] - } - } - }, - { - "name": "lifecycle.equals", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "RUNNING", - "STOPPED", - "DELETED" - ] - } - }, - { - "name": "sort", - "in": "query", - "description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.", - "required": false, - "schema": { - "type": "string", - } - }, - { - "name": "page", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "size", - "in": "query", - "required": false, - "schema": { - "maximum": 50, - "type": "integer", - "default": 20 - } - }, - { - "name": "dig-api-key", - "in": "header", - "description": "Dig token header", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Returns company findings", - "headers": { - "X-Total-Count": { - "description": "The total number of items in the page", - "style": "simple", - "schema": { - "type": "integer" - } - } - }, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/EntitiesDTO" - } - } - } - } - } - }, - "summary": "Get a list of Data Type Findings", - "description": { - "$ref": "desc/data-type-findings/get.md" - } - } - }, - "/v1/classification/data-types": { - "get": { - "tags": [ - "Classifications" - ], - "operationId": "get-classification-data-types", - "parameters": [ - { - "name": "dig-api-key", - "in": "header", - "description": "Dig token header", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Returns list of data types for company", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - }, - "summary": "Get Data Types by Id", - "description": { - "$ref": "desc/classification/data_types_id_get.md" - } - } - }, - "/v1/assets": { - "get": { - "tags": [ - "Assets" - ], - "operationId": "get-assets", - "parameters": [ - { - "name": "region.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - { - "name": "region.equals", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "cloudProvider.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "AWS", - "AZURE", - "GCP", - "SNOWFLAKE", - "FILE_SHARE", - "O365" - ] - } - } - }, - { - "name": "cloudProvider.equals", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "AWS", - "AZURE", - "GCP", - "SNOWFLAKE", - "FILE_SHARE", - "O365" - ] - } - }, - { - "name": "serviceType.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ATHENA", - "AURORA", - "AWS_BACKUP", - "DOCUMENTDB", - "DYNAMODB", - "DAX", - "EMR", - "EBS", - "EFS", - "ELASTICACHE", - "FSX", - "KINESIS_DELIVERY_STREAM", - "MEMORYDB", - "NEPTUNE", - "QLDB", - "RDS", - "REDSHIFT", - "S3", - "TIMESTREAM", - "OPENSEARCH", - "OPENSEARCH_SERVERLESS", - "COSMOS_DB", - "SYNAPSE", - "CACHE_FOR_REDIS", - "MARIA_DB", - "MYSQL_SERVER", - "POSTGRESQL_SERVER", - "SQL_SERVER", - "STORAGE_ACCOUNT", - "SQL_MANAGED_INSTANCE", - "ANF", - "CLOUD_STORAGE", - "CLOUD_SQL", - "BIG_QUERY", - "FILE_STORE", - "CLOUD_SPANNER", - "MEMORY_STORE", - "BIG_TABLE", - "FIRE_STORE", - "UNMANAGED_AWS_MYSQL", - "UNMANAGED_AWS_ORACLE_SERVER", - "UNMANAGED_AWS_MONGO_DB", - "UNMANAGED_AWS_POSTGRESQL", - "UNMANAGED_AWS_REDIS", - "UNMANAGED_AWS_SQLITE", - "UNMANAGED_AWS_MS_SQL", - "UNMANAGED_AWS_MARIA_DB", - "UNMANAGED_AWS_NEO4_J", - "UNMANAGED_AWS_ELASTIC", - "UNMANAGED_AWS_COCKROACH_DB", - "UNMANAGED_AWS_AEROSPIKE", - "UNMANAGED_AWS_SCYLLA_DB", - "UNMANAGED_AZURE_MYSQL", - "UNMANAGED_AZURE_ORACLE_SERVER", - "UNMANAGED_AZURE_MONGO_DB", - "UNMANAGED_AZURE_POSTGRESQL", - "UNMANAGED_AZURE_REDIS", - "UNMANAGED_AZURE_SQLITE", - "UNMANAGED_AZURE_MS_SQL", - "UNMANAGED_AZURE_MARIA_DB", - "UNMANAGED_AZURE_NEO4_J", - "UNMANAGED_AZURE_ELASTIC", - "UNMANAGED_AZURE_COCKROACH_DB", - "UNMANAGED_AZURE_AEROSPIKE", - "UNMANAGED_AZURE_SCYLLA_DB", - "UNMANAGED_GCP_MYSQL", - "UNMANAGED_GCP_ORACLE_SERVER", - "UNMANAGED_GCP_MONGO_DB", - "UNMANAGED_GCP_POSTGRESQL", - "UNMANAGED_GCP_REDIS", - "UNMANAGED_GCP_SQLITE", - "UNMANAGED_GCP_MS_SQL", - "UNMANAGED_GCP_MARIA_DB", - "UNMANAGED_GCP_NEO4_J", - "UNMANAGED_GCP_ELASTIC", - "UNMANAGED_GCP_COCKROACH_DB", - "UNMANAGED_GCP_AEROSPIKE", - "UNMANAGED_GCP_SCYLLA_DB", - "SNOWFLAKE_DB", - "FILE_SHARE", - "ONE_DRIVE", - "SHARE_POINT", - "AZURE_OPEN_AI_DEPLOYMENT", - "VERTEX_ENDPOINT", - "BEDROCK_PROVISIONED_THROUGHPUT", - "BEDROCK_AGENT", - "UNMANAGED_AI_AWS_FALCON", - "UNMANAGED_AI_AWS_LLAMA", - "UNMANAGED_AI_AWS_TRANSFORMERSLLAMA", - "UNMANAGED_AI_AWS_GEMMA", - "UNMANAGED_AI_AWS_GPT2", - "UNMANAGED_AI_AWS_MISTRAL", - "UNMANAGED_AI_AWS_PHI", - "UNMANAGED_AI_AWS_QWEN2", - "UNMANAGED_AI_AWS_ROBERTA", - "UNMANAGED_AI_AWS_JAMBA" - ] - } - } - }, - { - "name": "serviceType.equals", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "ATHENA", - "AURORA", - "AWS_BACKUP", - "DOCUMENTDB", - "DYNAMODB", - "DAX", - "EMR", - "EBS", - "EFS", - "ELASTICACHE", - "FSX", - "KINESIS_DELIVERY_STREAM", - "MEMORYDB", - "NEPTUNE", - "QLDB", - "RDS", - "REDSHIFT", - "S3", - "TIMESTREAM", - "OPENSEARCH", - "OPENSEARCH_SERVERLESS", - "COSMOS_DB", - "SYNAPSE", - "CACHE_FOR_REDIS", - "MARIA_DB", - "MYSQL_SERVER", - "POSTGRESQL_SERVER", - "SQL_SERVER", - "STORAGE_ACCOUNT", - "SQL_MANAGED_INSTANCE", - "ANF", - "CLOUD_STORAGE", - "CLOUD_SQL", - "BIG_QUERY", - "FILE_STORE", - "CLOUD_SPANNER", - "MEMORY_STORE", - "BIG_TABLE", - "FIRE_STORE", - "UNMANAGED_AWS_MYSQL", - "UNMANAGED_AWS_ORACLE_SERVER", - "UNMANAGED_AWS_MONGO_DB", - "UNMANAGED_AWS_POSTGRESQL", - "UNMANAGED_AWS_REDIS", - "UNMANAGED_AWS_SQLITE", - "UNMANAGED_AWS_MS_SQL", - "UNMANAGED_AWS_MARIA_DB", - "UNMANAGED_AWS_NEO4_J", - "UNMANAGED_AWS_ELASTIC", - "UNMANAGED_AWS_COCKROACH_DB", - "UNMANAGED_AWS_AEROSPIKE", - "UNMANAGED_AWS_SCYLLA_DB", - "UNMANAGED_AZURE_MYSQL", - "UNMANAGED_AZURE_ORACLE_SERVER", - "UNMANAGED_AZURE_MONGO_DB", - "UNMANAGED_AZURE_POSTGRESQL", - "UNMANAGED_AZURE_REDIS", - "UNMANAGED_AZURE_SQLITE", - "UNMANAGED_AZURE_MS_SQL", - "UNMANAGED_AZURE_MARIA_DB", - "UNMANAGED_AZURE_NEO4_J", - "UNMANAGED_AZURE_ELASTIC", - "UNMANAGED_AZURE_COCKROACH_DB", - "UNMANAGED_AZURE_AEROSPIKE", - "UNMANAGED_AZURE_SCYLLA_DB", - "UNMANAGED_GCP_MYSQL", - "UNMANAGED_GCP_ORACLE_SERVER", - "UNMANAGED_GCP_MONGO_DB", - "UNMANAGED_GCP_POSTGRESQL", - "UNMANAGED_GCP_REDIS", - "UNMANAGED_GCP_SQLITE", - "UNMANAGED_GCP_MS_SQL", - "UNMANAGED_GCP_MARIA_DB", - "UNMANAGED_GCP_NEO4_J", - "UNMANAGED_GCP_ELASTIC", - "UNMANAGED_GCP_COCKROACH_DB", - "UNMANAGED_GCP_AEROSPIKE", - "UNMANAGED_GCP_SCYLLA_DB", - "SNOWFLAKE_DB", - "FILE_SHARE", - "ONE_DRIVE", - "SHARE_POINT", - "AZURE_OPEN_AI_DEPLOYMENT", - "VERTEX_ENDPOINT", - "BEDROCK_PROVISIONED_THROUGHPUT", - "BEDROCK_AGENT", - "UNMANAGED_AI_AWS_FALCON", - "UNMANAGED_AI_AWS_LLAMA", - "UNMANAGED_AI_AWS_TRANSFORMERSLLAMA", - "UNMANAGED_AI_AWS_GEMMA", - "UNMANAGED_AI_AWS_GPT2", - "UNMANAGED_AI_AWS_MISTRAL", - "UNMANAGED_AI_AWS_PHI", - "UNMANAGED_AI_AWS_QWEN2", - "UNMANAGED_AI_AWS_ROBERTA", - "UNMANAGED_AI_AWS_JAMBA" - ] - } - }, - { - "name": "digTagKey.contains", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "digTagValue.contains", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "lifecycle.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "RUNNING", - "STOPPED", - "DELETED" - ] - } - } - }, - { - "name": "lifecycle.equals", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "RUNNING", - "STOPPED", - "DELETED" - ] - } - }, - { - "name": "label.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - { - "name": "label.equals", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "sort", - "in": "query", - "description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.", - "required": false, - "schema": { - "type": "string", - "description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported." - } - }, - { - "name": "page", - "in": "query", - "required": false, - "schema": { - "type": "string", - "default": "0" - } - }, - { - "name": "size", - "in": "query", - "required": false, - "schema": { - "maximum": 50, - "type": "integer", - "default": 20 - } - }, - { - "name": "dig-api-key", - "in": "header", - "description": "Dig token header", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Returns a list of assets", - "headers": { - "X-Total-Count": { - "description": "The total number of items in the page", - "style": "simple", - "schema": { - "type": "integer" - } - } - }, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AssetDTO" - } - } - } - } - } - }, - "summary": "Get Assets", - "description": { - "$ref": "desc/assets/get.md" - } - } - }, - "/v1/assets/id": { - "get": { - "tags": [ - "Assets" - ], - "operationId": "get-assets-id", - "parameters": [ - { - "name": "id", - "in": "query", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "dig-api-key", - "in": "header", - "description": "Dig token header", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AssetDTO" - } - } - } - } - }, - "summary": "Get Asset by Id", - "description": { - "$ref": "desc/assets/id_get.md" - } - } - }, - "/v1/alerts": { - "get": { - "tags": [ - "Alerts" - ], - "operationId": "get-alerts", - "parameters": [ - { - "name": "detectionTime.equals", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "name": "detectionTime.greaterThanOrEqual", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "name": "detectionTime.greaterThan", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "name": "detectionTime.lessThanOrEqual", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "name": "detectionTime.lessThan", - "in": "query", - "required": false, - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "name": "policyName.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - { - "name": "policyName.equals", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "assetName.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - { - "name": "assetName.equals", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "cloudProvider.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "AWS", - "AZURE", - "GCP", - "SNOWFLAKE", - "FILE_SHARE", - "O365" - ] - } - } - }, - { - "name": "cloudProvider.equals", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "AWS", - "AZURE", - "GCP", - "SNOWFLAKE", - "FILE_SHARE", - "O365" - ] - } - }, - { - "name": "destinationProjectVendorName.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - }, - { - "name": "destinationProjectVendorName.equals", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "cloudEnvironment.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "UNKNOWN", - "DEVELOPMENT", - "STAGING", - "TESTING", - "PRODUCTION" - ] - } - } - }, - { - "name": "cloudEnvironment.equals", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "UNKNOWN", - "DEVELOPMENT", - "STAGING", - "TESTING", - "PRODUCTION" - ] - } - }, - { - "name": "policySeverity.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "HIGH", - "MEDIUM", - "LOW" - ] - } - } - }, - { - "name": "policySeverity.equals", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "HIGH", - "MEDIUM", - "LOW" - ] - } - }, - { - "name": "categoryType.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "FIRST_MOVE", - "ATTACK", - "COMPLIANCE", - "ASSET_AT_RISK", - "RECONNAISSANCE" - ] - } - } - }, - { - "name": "categoryType.equals", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "FIRST_MOVE", - "ATTACK", - "COMPLIANCE", - "ASSET_AT_RISK", - "RECONNAISSANCE" - ] - } - }, - { - "name": "status.in", - "in": "query", - "required": false, - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "OPEN", - "UNIMPORTANT", - "WRONG", - "HANDLED", - "INVESTIGATING" - ] - } - } - }, - { - "name": "status.equals", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "OPEN", - "UNIMPORTANT", - "WRONG", - "HANDLED", - "INVESTIGATING" - ] - } - }, - { - "name": "sort", - "in": "query", - "description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.", - "required": false, - "schema": { - "type": "string", - "description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported." - } - }, - { - "name": "page", - "in": "query", - "required": false, - "schema": { - "type": "string", - "default": "0" - } - }, - { - "name": "size", - "in": "query", - "required": false, - "schema": { - "maximum": 50, - "type": "integer", - "default": 20 - } - }, - { - "name": "dig-api-key", - "in": "header", - "description": "Dig token header", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Returns a list of alerts", - "headers": { - "X-Total-Count": { - "description": "The total number of items in the page", - "style": "simple", - "schema": { - "type": "integer" - } - } - }, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AlertDTO" - } - } - } - } - } - }, - "summary": "Get Alerts by Id", - "description": { - "$ref": "desc/alerts/get.md" - } - } - } - }, - "components": { - "schemas": { - "DataTypeFilter": { - "type": "object", - "properties": { - "allIn": { - "type": "array", - "items": { - "type": "string" - } - }, - "anyIn": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "FileExtensionFilter": { - "type": "object", - "properties": { - "equals": { - "type": "string" - } - } - }, - "FileNameFilter": { - "type": "object", - "properties": { - "equals": { - "type": "string" - } - } - }, - "FilePathFilter": { - "type": "object", - "properties": { - "contains": { - "type": "string" - } - } - }, - "FileTypeFilter": { - "type": "object", - "properties": { - "anyIn": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "AUDIO", - "TEXT", - "IMAGE", - "VIDEO", - "DOCUMENT", - "DATA_FORMAT", - "EXECUTABLE", - "CREDENTIAL", - "LOGS", - "SNAPSHOTS", - "CODE", - "COMPRESSED", - "OTHER" - ] - } - }, - "allIn": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "AUDIO", - "TEXT", - "IMAGE", - "VIDEO", - "DOCUMENT", - "DATA_FORMAT", - "EXECUTABLE", - "CREDENTIAL", - "LOGS", - "SNAPSHOTS", - "CODE", - "COMPRESSED", - "OTHER" - ] - } - } - } - }, - "IgnoredFilter": { - "type": "object", - "properties": { - "equals": { - "type": "boolean" - } - } - }, - "IsMaliciousFilter": { - "type": "object", - "properties": { - "equals": { - "type": "boolean" - } - } - }, - "LabelFilter": { - "type": "object", - "properties": { - "anyIn": { - "type": "array", - "items": { - "type": "string" - } - }, - "allIn": { - "type": "array", - "items": { - "type": "string" - } - }, - "hasAny": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "ListFilesFilterBodyRequest": { - "required": [ - "dataType", - "fileExtension", - "fileName", - "filePath", - "fileType", - "ignored", - "isMalicious", - "label", - "public", - "shadowBackup" - ], - "type": "object", - "properties": { - "dataType": { - "$ref": "#/components/schemas/DataTypeFilter" - }, - "label": { - "$ref": "#/components/schemas/LabelFilter" - }, - "fileName": { - "$ref": "#/components/schemas/FileNameFilter" - }, - "fileExtension": { - "$ref": "#/components/schemas/FileExtensionFilter" - }, - "filePath": { - "$ref": "#/components/schemas/FilePathFilter" - }, - "fileType": { - "$ref": "#/components/schemas/FileTypeFilter" - }, - "public": { - "$ref": "#/components/schemas/PublicFilter" - }, - "isMalicious": { - "$ref": "#/components/schemas/IsMaliciousFilter" - }, - "shadowBackup": { - "$ref": "#/components/schemas/ShadowBackup" - }, - "ignored": { - "$ref": "#/components/schemas/IgnoredFilter" - } - } - }, - "PublicFilter": { - "type": "object", - "properties": { - "equals": { - "type": "boolean" - } - } - }, - "ShadowBackup": { - "type": "object", - "properties": { - "equals": { - "type": "boolean" - } - } - }, - "DigFileDataTypeAPI": { - "required": [ - "count", - "label", - "name", - "valueDetails" - ], - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "label": { - "type": "string" - }, - "count": { - "type": "integer", - "format": "int64" - }, - "valueDetails": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ValueDetails" - } - } - } - }, - "DigFileThirdPartyAPI": { - "required": [ - "dataTypes", - "filename", - "isDeleted", - "isMalicious", - "labels", - "openToWorld", - "path", - "size", - "type" - ], - "type": "object", - "properties": { - "filename": { - "type": "string" - }, - "path": { - "type": "string" - }, - "type": { - "type": "string" - }, - "size": { - "type": "string" - }, - "openToWorld": { - "type": "boolean" - }, - "isDeleted": { - "type": "boolean" - }, - "isMalicious": { - "type": "boolean" - }, - "dataTypes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DigFileDataTypeAPI" - } - }, - "labels": { - "type": "array", - "items": { - "type": "string" - } - }, - "isDbDump": { - "type": "boolean" - } - } - }, - "DigFileThirdPartyBundle": { - "required": [ - "files", - "filesCount" - ], - "type": "object", - "properties": { - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DigFileThirdPartyAPI" - } - }, - "filesCount": { - "type": "integer", - "format": "int64" - } - } - }, - "ValueDetails": { - "required": [ - "masked_value" - ], - "type": "object", - "properties": { - "masked_value": { - "type": "string" - }, - "line": { - "type": "integer", - "format": "int64" - } - } - }, - "DataTypeAnyInFilter": { - "type": "object", - "properties": { - "anyIn": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "FieldLabelFilter": { - "type": "object", - "properties": { - "equals": { - "type": "string" - } - } - }, - "FieldNameFilter": { - "type": "object", - "properties": { - "contains": { - "type": "string" - } - } - }, - "FieldPathFilter": { - "type": "object", - "properties": { - "contains": { - "type": "string" - } - } - }, - "FieldTypeFilter": { - "type": "object", - "properties": { - "contains": { - "type": "string" - }, - "equals": { - "type": "string" - } - } - }, - "ListFieldsFilterBodyRequest": { - "required": [ - "dataType", - "fieldName", - "fieldPath", - "fieldType", - "label" - ], - "type": "object", - "properties": { - "dataType": { - "$ref": "#/components/schemas/DataTypeAnyInFilter" - }, - "label": { - "$ref": "#/components/schemas/FieldLabelFilter" - }, - "fieldType": { - "$ref": "#/components/schemas/FieldTypeFilter" - }, - "fieldPath": { - "$ref": "#/components/schemas/FieldPathFilter" - }, - "fieldName": { - "$ref": "#/components/schemas/FieldNameFilter" - } - } - }, - "ContentTypeWithDataTypePercentage": { - "required": [ - "hitPercentage", - "label", - "name" - ], - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "label": { - "type": "string" - }, - "hitPercentage": { - "type": "integer", - "format": "int64" - }, - "maskedValues": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ValueDetails" - } - } - } - }, - "DBContents": { - "required": [ - "fields" - ], - "type": "object", - "properties": { - "fields": { - "type": "array", - "items": { - "$ref": "#/components/schemas/StructuredSemiStructuredField" - } - } - } - }, - "StructuredSemiStructuredField": { - "required": [ - "name" - ], - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "dataTypes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ContentTypeWithDataTypePercentage" - } - }, - "path": { - "type": "string" - }, - "tableName": { - "type": "string" - }, - "tableSize": { - "type": "string" - }, - "databaseName": { - "type": "string" - }, - "collectionName": { - "type": "string" - }, - "type": { - "type": "string" - }, - "schemaName": { - "type": "string" - } - } - }, - "UpdateRiskDetectionResponseDTO": { - "type": "object", - "properties": { - "riskFindingId": { - "type": "string" - }, - "oldStatus": { - "type": "string", - "enum": [ - "OPEN", - "CLOSED", - "UNIMPORTANT", - "WRONG", - "HANDLED", - "INVESTIGATING" - ] - }, - "newStatus": { - "type": "string", - "enum": [ - "OPEN", - "CLOSED", - "UNIMPORTANT", - "WRONG", - "HANDLED", - "INVESTIGATING" - ] - } - } - }, - "UpdateAlertStatusResponseDTO": { - "type": "object", - "properties": { - "alertId": { - "type": "integer", - "format": "int64" - }, - "oldStatus": { - "type": "string", - "enum": [ - "OPEN", - "UNIMPORTANT", - "WRONG", - "HANDLED", - "INVESTIGATING" - ] - }, - "newStatus": { - "type": "string", - "enum": [ - "OPEN", - "UNIMPORTANT", - "WRONG", - "HANDLED", - "INVESTIGATING" - ] - } - } - }, - "RiskDetectionsAssetDTO": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "assetId": { - "type": "string" - }, - "service": { - "type": "string", - "enum": [ - "ATHENA", - "AURORA", - "AWS_BACKUP", - "DOCUMENTDB", - "DYNAMODB", - "DAX", - "EMR", - "EBS", - "EFS", - "ELASTICACHE", - "FSX", - "KINESIS_DELIVERY_STREAM", - "MEMORYDB", - "NEPTUNE", - "QLDB", - "RDS", - "REDSHIFT", - "S3", - "TIMESTREAM", - "OPENSEARCH", - "OPENSEARCH_SERVERLESS", - "COSMOS_DB", - "SYNAPSE", - "CACHE_FOR_REDIS", - "MARIA_DB", - "MYSQL_SERVER", - "POSTGRESQL_SERVER", - "SQL_SERVER", - "STORAGE_ACCOUNT", - "SQL_MANAGED_INSTANCE", - "ANF", - "CLOUD_STORAGE", - "CLOUD_SQL", - "BIG_QUERY", - "FILE_STORE", - "CLOUD_SPANNER", - "MEMORY_STORE", - "BIG_TABLE", - "FIRE_STORE", - "UNMANAGED_AWS_MYSQL", - "UNMANAGED_AWS_ORACLE_SERVER", - "UNMANAGED_AWS_MONGO_DB", - "UNMANAGED_AWS_POSTGRESQL", - "UNMANAGED_AWS_REDIS", - "UNMANAGED_AWS_SQLITE", - "UNMANAGED_AWS_MS_SQL", - "UNMANAGED_AWS_MARIA_DB", - "UNMANAGED_AWS_NEO4_J", - "UNMANAGED_AWS_ELASTIC", - "UNMANAGED_AWS_COCKROACH_DB", - "UNMANAGED_AWS_AEROSPIKE", - "UNMANAGED_AWS_SCYLLA_DB", - "UNMANAGED_AZURE_MYSQL", - "UNMANAGED_AZURE_ORACLE_SERVER", - "UNMANAGED_AZURE_MONGO_DB", - "UNMANAGED_AZURE_POSTGRESQL", - "UNMANAGED_AZURE_REDIS", - "UNMANAGED_AZURE_SQLITE", - "UNMANAGED_AZURE_MS_SQL", - "UNMANAGED_AZURE_MARIA_DB", - "UNMANAGED_AZURE_NEO4_J", - "UNMANAGED_AZURE_ELASTIC", - "UNMANAGED_AZURE_COCKROACH_DB", - "UNMANAGED_AZURE_AEROSPIKE", - "UNMANAGED_AZURE_SCYLLA_DB", - "UNMANAGED_GCP_MYSQL", - "UNMANAGED_GCP_ORACLE_SERVER", - "UNMANAGED_GCP_MONGO_DB", - "UNMANAGED_GCP_POSTGRESQL", - "UNMANAGED_GCP_REDIS", - "UNMANAGED_GCP_SQLITE", - "UNMANAGED_GCP_MS_SQL", - "UNMANAGED_GCP_MARIA_DB", - "UNMANAGED_GCP_NEO4_J", - "UNMANAGED_GCP_ELASTIC", - "UNMANAGED_GCP_COCKROACH_DB", - "UNMANAGED_GCP_AEROSPIKE", - "UNMANAGED_GCP_SCYLLA_DB", - "SNOWFLAKE_DB", - "FILE_SHARE", - "ONE_DRIVE", - "SHARE_POINT", - "AZURE_OPEN_AI_DEPLOYMENT", - "VERTEX_ENDPOINT", - "BEDROCK_PROVISIONED_THROUGHPUT", - "BEDROCK_AGENT", - "UNMANAGED_AI_AWS_FALCON", - "UNMANAGED_AI_AWS_LLAMA", - "UNMANAGED_AI_AWS_TRANSFORMERSLLAMA", - "UNMANAGED_AI_AWS_GEMMA", - "UNMANAGED_AI_AWS_GPT2", - "UNMANAGED_AI_AWS_MISTRAL", - "UNMANAGED_AI_AWS_PHI", - "UNMANAGED_AI_AWS_QWEN2", - "UNMANAGED_AI_AWS_ROBERTA", - "UNMANAGED_AI_AWS_JAMBA" - ] - } - } - }, - "RiskDetectionsDTO": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "ruleName": { - "type": "string" - }, - "severity": { - "type": "string", - "enum": [ - "LOW", - "MEDIUM", - "HIGH" - ] - }, - "asset": { - "$ref": "#/components/schemas/RiskDetectionsAssetDTO" - }, - "status": { - "type": "string", - "enum": [ - "OPEN", - "CLOSED", - "UNIMPORTANT", - "WRONG", - "HANDLED", - "INVESTIGATING" - ] - }, - "projectId": { - "type": "string" - }, - "cloudProvider": { - "type": "string", - "enum": [ - "AWS", - "AZURE", - "GCP", - "SNOWFLAKE", - "FILE_SHARE", - "O365" - ] - }, - "cloudEnvironment": { - "type": "string", - "enum": [ - "UNKNOWN", - "DEVELOPMENT", - "STAGING", - "TESTING", - "PRODUCTION" - ] - }, - "firstDiscovered": { - "type": "string", - "format": "date-time" - }, - "complianceStandards": { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - }, - "AccessEvidenceDTO": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "project": { - "type": "string" - }, - "cloudAccountInformation": { - "$ref": "#/components/schemas/CloudAccountInformationDTO" - }, - "entityType": { - "type": "string" - }, - "name": { - "type": "string" - }, - "riskIndicators": { - "uniqueItems": true, - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "AccessEvidenceResult": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/RiskEvidenceResult" - }, - { - "type": "object", - "properties": { - "permittedEntities": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AccessEvidenceDTO" - } - } - } - } - ] - }, - "AiChatHistoryDetailsEvidenceDTO": { - "type": "object", - "properties": { - "region": { - "type": "string" - }, - "project": { - "type": "string" - }, - "projectName": { - "type": "string" - }, - "cloudEnvironment": { - "type": "string", - "enum": [ - "UNKNOWN", - "DEVELOPMENT", - "STAGING", - "TESTING", - "PRODUCTION" - ] - }, - "cloudProvider": { - "type": "string", - "enum": [ - "AWS", - "AZURE", - "GCP", - "SNOWFLAKE", - "FILE_SHARE", - "O365" - ] - } - } - }, - "AiContentFilterDataDashboardDTO": { - "type": "object", - "properties": { - "contentFilterType": { - "type": "string" - }, - "securityInputBlocked": { - "type": "boolean" - }, - "category": { - "type": "string", - "enum": [ - "SECURITY", - "CONTENT" - ] - }, - "inputLevel": { - "type": "string", - "enum": [ - "HIGH", - "MEDIUM", - "LOW", - "NONE" - ] - }, - "outputLevel": { - "type": "string", - "enum": [ - "HIGH", - "MEDIUM", - "LOW", - "NONE" - ] - } - } - }, - "AiContentFilterEvidenceResult": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/RiskEvidenceResult" - }, - { - "type": "object", - "properties": { - "aiContentFilters": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AiContentFilterDataDashboardDTO" - } - } - } - } - ] - }, - "AiDatasetPublicEvidenceResult": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/RiskEvidenceResult" - }, - { - "type": "object", - "properties": { - "datasetAsset": { - "$ref": "#/components/schemas/AssetEvidenceResultDTO" - } - } - } - ] - }, - "AssetEvidenceResultDTO": { - "type": "object", - "properties": { - "assetId": { - "type": "integer", - "format": "int64" - }, - "assetName": { - "type": "string" - }, - "projectId": { - "type": "string" - }, - "projectName": { - "type": "string" - }, - "assetRegion": { - "type": "string" - }, - "family": { - "type": "string", - "enum": [ - "ANALYTICS", - "DB", - "STORAGE", - "AI" - ] - }, - "deploymentType": { - "type": "string", - "enum": [ - "MANAGED", - "UNMANAGED", - "DBAAS", - "ONPREM", - "SAAS" - ] - }, - "serviceType": { - "type": "string", - "enum": [ - "ATHENA", - "AURORA", - "AWS_BACKUP", - "DOCUMENTDB", - "DYNAMODB", - "DAX", - "EMR", - "EBS", - "EFS", - "ELASTICACHE", - "FSX", - "KINESIS_DELIVERY_STREAM", - "MEMORYDB", - "NEPTUNE", - "QLDB", - "RDS", - "REDSHIFT", - "S3", - "TIMESTREAM", - "OPENSEARCH", - "OPENSEARCH_SERVERLESS", - "COSMOS_DB", - "SYNAPSE", - "CACHE_FOR_REDIS", - "MARIA_DB", - "MYSQL_SERVER", - "POSTGRESQL_SERVER", - "SQL_SERVER", - "STORAGE_ACCOUNT", - "SQL_MANAGED_INSTANCE", - "ANF", - "CLOUD_STORAGE", - "CLOUD_SQL", - "BIG_QUERY", - "FILE_STORE", - "CLOUD_SPANNER", - "MEMORY_STORE", - "BIG_TABLE", - "FIRE_STORE", - "UNMANAGED_AWS_MYSQL", - "UNMANAGED_AWS_ORACLE_SERVER", - "UNMANAGED_AWS_MONGO_DB", - "UNMANAGED_AWS_POSTGRESQL", - "UNMANAGED_AWS_REDIS", - "UNMANAGED_AWS_SQLITE", - "UNMANAGED_AWS_MS_SQL", - "UNMANAGED_AWS_MARIA_DB", - "UNMANAGED_AWS_NEO4_J", - "UNMANAGED_AWS_ELASTIC", - "UNMANAGED_AWS_COCKROACH_DB", - "UNMANAGED_AWS_AEROSPIKE", - "UNMANAGED_AWS_SCYLLA_DB", - "UNMANAGED_AZURE_MYSQL", - "UNMANAGED_AZURE_ORACLE_SERVER", - "UNMANAGED_AZURE_MONGO_DB", - "UNMANAGED_AZURE_POSTGRESQL", - "UNMANAGED_AZURE_REDIS", - "UNMANAGED_AZURE_SQLITE", - "UNMANAGED_AZURE_MS_SQL", - "UNMANAGED_AZURE_MARIA_DB", - "UNMANAGED_AZURE_NEO4_J", - "UNMANAGED_AZURE_ELASTIC", - "UNMANAGED_AZURE_COCKROACH_DB", - "UNMANAGED_AZURE_AEROSPIKE", - "UNMANAGED_AZURE_SCYLLA_DB", - "UNMANAGED_GCP_MYSQL", - "UNMANAGED_GCP_ORACLE_SERVER", - "UNMANAGED_GCP_MONGO_DB", - "UNMANAGED_GCP_POSTGRESQL", - "UNMANAGED_GCP_REDIS", - "UNMANAGED_GCP_SQLITE", - "UNMANAGED_GCP_MS_SQL", - "UNMANAGED_GCP_MARIA_DB", - "UNMANAGED_GCP_NEO4_J", - "UNMANAGED_GCP_ELASTIC", - "UNMANAGED_GCP_COCKROACH_DB", - "UNMANAGED_GCP_AEROSPIKE", - "UNMANAGED_GCP_SCYLLA_DB", - "SNOWFLAKE_DB", - "FILE_SHARE", - "ONE_DRIVE", - "SHARE_POINT", - "AZURE_OPEN_AI_DEPLOYMENT", - "VERTEX_ENDPOINT", - "BEDROCK_PROVISIONED_THROUGHPUT", - "BEDROCK_AGENT", - "UNMANAGED_AI_AWS_FALCON", - "UNMANAGED_AI_AWS_LLAMA", - "UNMANAGED_AI_AWS_TRANSFORMERSLLAMA", - "UNMANAGED_AI_AWS_GEMMA", - "UNMANAGED_AI_AWS_GPT2", - "UNMANAGED_AI_AWS_MISTRAL", - "UNMANAGED_AI_AWS_PHI", - "UNMANAGED_AI_AWS_QWEN2", - "UNMANAGED_AI_AWS_ROBERTA", - "UNMANAGED_AI_AWS_JAMBA" - ] - }, - "snapshotServiceType": { - "type": "string", - "enum": [ - "SNAPSHOT_RDS_INSTANCE", - "SNAPSHOT_FILE_STORE", - "SNAPSHOT_CLOUD_SPANNER", - "SNAPSHOT_BIG_TABLE" - ] - }, - "cloudEnvironment": { - "type": "string", - "enum": [ - "UNKNOWN", - "DEVELOPMENT", - "STAGING", - "TESTING", - "PRODUCTION" - ] - }, - "cloud": { - "type": "string", - "enum": [ - "AWS", - "AZURE", - "GCP", - "SNOWFLAKE", - "FILE_SHARE", - "O365" - ] - }, - "assetTags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "assetDspmTags": { - "type": "object", - "additionalProperties": { - "uniqueItems": true, - "type": "array", - "items": { - "type": "string" - } - } - }, - "assetLabels": { - "uniqueItems": true, - "type": "array", - "items": { - "type": "string" - } - }, - "assetDataTypes": { - "type": "object", - "additionalProperties": { - "type": "integer", - "format": "int64" - } - } - } - }, - "ChatHistoryEvidenceResult": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/RiskEvidenceResult" - }, - { - "type": "object", - "properties": { - "assets": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AssetEvidenceResultDTO" - } - }, - "chatHistoryDetails": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AiChatHistoryDetailsEvidenceDTO" - } - }, - "serviceType": { - "type": "string", - "enum": [ - "ATHENA", - "AURORA", - "AWS_BACKUP", - "DOCUMENTDB", - "DYNAMODB", - "DAX", - "EMR", - "EBS", - "EFS", - "ELASTICACHE", - "FSX", - "KINESIS_DELIVERY_STREAM", - "MEMORYDB", - "NEPTUNE", - "QLDB", - "RDS", - "REDSHIFT", - "S3", - "TIMESTREAM", - "OPENSEARCH", - "OPENSEARCH_SERVERLESS", - "COSMOS_DB", - "SYNAPSE", - "CACHE_FOR_REDIS", - "MARIA_DB", - "MYSQL_SERVER", - "POSTGRESQL_SERVER", - "SQL_SERVER", - "STORAGE_ACCOUNT", - "SQL_MANAGED_INSTANCE", - "ANF", - "CLOUD_STORAGE", - "CLOUD_SQL", - "BIG_QUERY", - "FILE_STORE", - "CLOUD_SPANNER", - "MEMORY_STORE", - "BIG_TABLE", - "FIRE_STORE", - "UNMANAGED_AWS_MYSQL", - "UNMANAGED_AWS_ORACLE_SERVER", - "UNMANAGED_AWS_MONGO_DB", - "UNMANAGED_AWS_POSTGRESQL", - "UNMANAGED_AWS_REDIS", - "UNMANAGED_AWS_SQLITE", - "UNMANAGED_AWS_MS_SQL", - "UNMANAGED_AWS_MARIA_DB", - "UNMANAGED_AWS_NEO4_J", - "UNMANAGED_AWS_ELASTIC", - "UNMANAGED_AWS_COCKROACH_DB", - "UNMANAGED_AWS_AEROSPIKE", - "UNMANAGED_AWS_SCYLLA_DB", - "UNMANAGED_AZURE_MYSQL", - "UNMANAGED_AZURE_ORACLE_SERVER", - "UNMANAGED_AZURE_MONGO_DB", - "UNMANAGED_AZURE_POSTGRESQL", - "UNMANAGED_AZURE_REDIS", - "UNMANAGED_AZURE_SQLITE", - "UNMANAGED_AZURE_MS_SQL", - "UNMANAGED_AZURE_MARIA_DB", - "UNMANAGED_AZURE_NEO4_J", - "UNMANAGED_AZURE_ELASTIC", - "UNMANAGED_AZURE_COCKROACH_DB", - "UNMANAGED_AZURE_AEROSPIKE", - "UNMANAGED_AZURE_SCYLLA_DB", - "UNMANAGED_GCP_MYSQL", - "UNMANAGED_GCP_ORACLE_SERVER", - "UNMANAGED_GCP_MONGO_DB", - "UNMANAGED_GCP_POSTGRESQL", - "UNMANAGED_GCP_REDIS", - "UNMANAGED_GCP_SQLITE", - "UNMANAGED_GCP_MS_SQL", - "UNMANAGED_GCP_MARIA_DB", - "UNMANAGED_GCP_NEO4_J", - "UNMANAGED_GCP_ELASTIC", - "UNMANAGED_GCP_COCKROACH_DB", - "UNMANAGED_GCP_AEROSPIKE", - "UNMANAGED_GCP_SCYLLA_DB", - "SNOWFLAKE_DB", - "FILE_SHARE", - "ONE_DRIVE", - "SHARE_POINT", - "AZURE_OPEN_AI_DEPLOYMENT", - "VERTEX_ENDPOINT", - "BEDROCK_PROVISIONED_THROUGHPUT", - "BEDROCK_AGENT", - "UNMANAGED_AI_AWS_FALCON", - "UNMANAGED_AI_AWS_LLAMA", - "UNMANAGED_AI_AWS_TRANSFORMERSLLAMA", - "UNMANAGED_AI_AWS_GEMMA", - "UNMANAGED_AI_AWS_GPT2", - "UNMANAGED_AI_AWS_MISTRAL", - "UNMANAGED_AI_AWS_PHI", - "UNMANAGED_AI_AWS_QWEN2", - "UNMANAGED_AI_AWS_ROBERTA", - "UNMANAGED_AI_AWS_JAMBA" - ] - } - } - } - ] - }, - "CloudAccountInformationDTO": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "projectId": { - "type": "string" - }, - "cloudProvider": { - "type": "string", - "enum": [ - "AWS", - "AZURE", - "GCP", - "SNOWFLAKE", - "FILE_SHARE", - "O365" - ] - }, - "cloudEnvironment": { - "type": "string", - "enum": [ - "UNKNOWN", - "DEVELOPMENT", - "STAGING", - "TESTING", - "PRODUCTION" - ] - }, - "verifiedVendor": { - "type": "boolean" - }, - "foreign": { - "type": "boolean" - } - } - }, - "ConfigEvidenceResult": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/RiskEvidenceResult" - }, - { - "type": "object", - "properties": { - "configurationOptions": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - } - ] - }, - "DataFlowEvidenceResult": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/RiskEvidenceResult" - }, - { - "type": "object", - "properties": { - "flowInfo": { - "$ref": "#/components/schemas/FlowEvidenceDTO" - }, - "destinationAsset": { - "$ref": "#/components/schemas/DestinationEvidenceDTO" - } - } - } - ] - }, - "DataTypeEvidenceResult": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/RiskEvidenceResult" - }, - { - "type": "object", - "properties": { - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FileEvidenceDTO" - } - }, - "filesCount": { - "type": "integer", - "format": "int32" - } - } - } - ] - }, - "DestinationEvidenceDTO": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "projectId": { - "type": "string" - }, - "projectName": { - "type": "string" - }, - "cloudEnvironment": { - "type": "string", - "enum": [ - "UNKNOWN", - "DEVELOPMENT", - "STAGING", - "TESTING", - "PRODUCTION" - ] - }, - "cloudProvider": { - "type": "string", - "enum": [ - "AWS", - "AZURE", - "GCP", - "SNOWFLAKE", - "FILE_SHARE", - "O365" - ] - }, - "region": { - "type": "string" - }, - "serviceType": { - "type": "string", - "enum": [ - "ATHENA", - "AURORA", - "AWS_BACKUP", - "DOCUMENTDB", - "DYNAMODB", - "DAX", - "EMR", - "EBS", - "EFS", - "ELASTICACHE", - "FSX", - "KINESIS_DELIVERY_STREAM", - "MEMORYDB", - "NEPTUNE", - "QLDB", - "RDS", - "REDSHIFT", - "S3", - "TIMESTREAM", - "OPENSEARCH", - "OPENSEARCH_SERVERLESS", - "COSMOS_DB", - "SYNAPSE", - "CACHE_FOR_REDIS", - "MARIA_DB", - "MYSQL_SERVER", - "POSTGRESQL_SERVER", - "SQL_SERVER", - "STORAGE_ACCOUNT", - "SQL_MANAGED_INSTANCE", - "ANF", - "CLOUD_STORAGE", - "CLOUD_SQL", - "BIG_QUERY", - "FILE_STORE", - "CLOUD_SPANNER", - "MEMORY_STORE", - "BIG_TABLE", - "FIRE_STORE", - "UNMANAGED_AWS_MYSQL", - "UNMANAGED_AWS_ORACLE_SERVER", - "UNMANAGED_AWS_MONGO_DB", - "UNMANAGED_AWS_POSTGRESQL", - "UNMANAGED_AWS_REDIS", - "UNMANAGED_AWS_SQLITE", - "UNMANAGED_AWS_MS_SQL", - "UNMANAGED_AWS_MARIA_DB", - "UNMANAGED_AWS_NEO4_J", - "UNMANAGED_AWS_ELASTIC", - "UNMANAGED_AWS_COCKROACH_DB", - "UNMANAGED_AWS_AEROSPIKE", - "UNMANAGED_AWS_SCYLLA_DB", - "UNMANAGED_AZURE_MYSQL", - "UNMANAGED_AZURE_ORACLE_SERVER", - "UNMANAGED_AZURE_MONGO_DB", - "UNMANAGED_AZURE_POSTGRESQL", - "UNMANAGED_AZURE_REDIS", - "UNMANAGED_AZURE_SQLITE", - "UNMANAGED_AZURE_MS_SQL", - "UNMANAGED_AZURE_MARIA_DB", - "UNMANAGED_AZURE_NEO4_J", - "UNMANAGED_AZURE_ELASTIC", - "UNMANAGED_AZURE_COCKROACH_DB", - "UNMANAGED_AZURE_AEROSPIKE", - "UNMANAGED_AZURE_SCYLLA_DB", - "UNMANAGED_GCP_MYSQL", - "UNMANAGED_GCP_ORACLE_SERVER", - "UNMANAGED_GCP_MONGO_DB", - "UNMANAGED_GCP_POSTGRESQL", - "UNMANAGED_GCP_REDIS", - "UNMANAGED_GCP_SQLITE", - "UNMANAGED_GCP_MS_SQL", - "UNMANAGED_GCP_MARIA_DB", - "UNMANAGED_GCP_NEO4_J", - "UNMANAGED_GCP_ELASTIC", - "UNMANAGED_GCP_COCKROACH_DB", - "UNMANAGED_GCP_AEROSPIKE", - "UNMANAGED_GCP_SCYLLA_DB", - "SNOWFLAKE_DB", - "FILE_SHARE", - "ONE_DRIVE", - "SHARE_POINT", - "AZURE_OPEN_AI_DEPLOYMENT", - "VERTEX_ENDPOINT", - "BEDROCK_PROVISIONED_THROUGHPUT", - "BEDROCK_AGENT", - "UNMANAGED_AI_AWS_FALCON", - "UNMANAGED_AI_AWS_LLAMA", - "UNMANAGED_AI_AWS_TRANSFORMERSLLAMA", - "UNMANAGED_AI_AWS_GEMMA", - "UNMANAGED_AI_AWS_GPT2", - "UNMANAGED_AI_AWS_MISTRAL", - "UNMANAGED_AI_AWS_PHI", - "UNMANAGED_AI_AWS_QWEN2", - "UNMANAGED_AI_AWS_ROBERTA", - "UNMANAGED_AI_AWS_JAMBA" - ] - }, - "family": { - "type": "string", - "enum": [ - "ANALYTICS", - "DB", - "STORAGE", - "AI" - ] - }, - "deploymentType": { - "type": "string", - "enum": [ - "MANAGED", - "UNMANAGED", - "DBAAS", - "ONPREM", - "SAAS" - ] - }, - "assetId": { - "type": "integer", - "format": "int64" - }, - "assetTags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "assetDspmTags": { - "type": "object", - "additionalProperties": { - "uniqueItems": true, - "type": "array", - "items": { - "type": "string" - } - } - } - } - }, - "FileEvidenceDTO": { - "type": "object", - "properties": { - "size": { - "type": "string" - }, - "filename": { - "type": "string" - }, - "path": { - "type": "string" - }, - "dataTypes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FileEvidenceDataTypesDTO" - } - }, - "deleted": { - "type": "boolean" - } - } - }, - "FileEvidenceDataTypesDTO": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "label": { - "type": "string" - }, - "count": { - "type": "integer", - "format": "int32" - } - } - }, - "FileEvidenceResult": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/RiskEvidenceResult" - }, - { - "type": "object", - "properties": { - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PublicFileEvidenceDTO" - } - }, - "filesCount": { - "type": "integer", - "format": "int32" - } - } - } - ] - }, - "FlowEvidenceDTO": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "type": { - "type": "string", - "enum": [ - "REPLICATION_RULE", - "S3_REPLICATION_RULE", - "BIG_QUERY_REPLICATION", - "CLOUD_STORAGE_REPLICATION", - "STORAGE_ACCOUNT_REPLICATION_RULE" - ] - } - } - }, - "FreshnessEvidenceResult": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/RiskEvidenceResult" - } - ] - }, - "InferenceDataSourceIngestInForeignAccountEvidenceResult": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/RiskEvidenceResult" - }, - { - "type": "object", - "properties": { - "destinationAsset": { - "$ref": "#/components/schemas/DestinationEvidenceDTO" - } - } - } - ] - }, - "LabelEvidenceResult": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/RiskEvidenceResult" - }, - { - "type": "object", - "properties": { - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FileEvidenceDTO" - } - }, - "filesCount": { - "type": "integer", - "format": "int32" - } - } - } - ] - }, - "MalwareEvidenceResult": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/RiskEvidenceResult" - }, - { - "type": "object", - "properties": { - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MalwareFileEvidenceDTO" - } - }, - "filesCount": { - "type": "integer", - "format": "int32" - } - } - } - ] - }, - "MalwareFileEvidenceDTO": { - "type": "object", - "properties": { - "size": { - "type": "string" - }, - "filename": { - "type": "string" - }, - "path": { - "type": "string" - }, - "dataTypes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FileEvidenceDataTypesDTO" - } - }, - "malwareFamily": { - "type": "array", - "items": { - "type": "object" - } - }, - "malwareConfidence": { - "type": "string" - }, - "malicious": { - "type": "boolean" - }, - "deleted": { - "type": "boolean" - } - } - }, - "PublicFileEvidenceDTO": { - "type": "object", - "properties": { - "size": { - "type": "string" - }, - "filename": { - "type": "string" - }, - "path": { - "type": "string" - }, - "dataTypes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FileEvidenceDataTypesDTO" - } - }, - "openToWorld": { - "type": "boolean" - }, - "deleted": { - "type": "boolean" - } - } - }, - "RiskDetectionAssetDTO": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "assetId": { - "type": "string" - }, - "cloudTags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "dspmTags": { - "type": "object", - "additionalProperties": { - "uniqueItems": true, - "type": "array", - "items": { - "type": "string" - } - } - }, - "dataTypes": { - "uniqueItems": true, - "type": "array", - "items": { - "type": "string" - } - }, - "assetLabels": { - "uniqueItems": true, - "type": "array", - "items": { - "type": "string" - } - }, - "service": { - "type": "string", - "enum": [ - "ATHENA", - "AURORA", - "AWS_BACKUP", - "DOCUMENTDB", - "DYNAMODB", - "DAX", - "EMR", - "EBS", - "EFS", - "ELASTICACHE", - "FSX", - "KINESIS_DELIVERY_STREAM", - "MEMORYDB", - "NEPTUNE", - "QLDB", - "RDS", - "REDSHIFT", - "S3", - "TIMESTREAM", - "OPENSEARCH", - "OPENSEARCH_SERVERLESS", - "COSMOS_DB", - "SYNAPSE", - "CACHE_FOR_REDIS", - "MARIA_DB", - "MYSQL_SERVER", - "POSTGRESQL_SERVER", - "SQL_SERVER", - "STORAGE_ACCOUNT", - "SQL_MANAGED_INSTANCE", - "ANF", - "CLOUD_STORAGE", - "CLOUD_SQL", - "BIG_QUERY", - "FILE_STORE", - "CLOUD_SPANNER", - "MEMORY_STORE", - "BIG_TABLE", - "FIRE_STORE", - "UNMANAGED_AWS_MYSQL", - "UNMANAGED_AWS_ORACLE_SERVER", - "UNMANAGED_AWS_MONGO_DB", - "UNMANAGED_AWS_POSTGRESQL", - "UNMANAGED_AWS_REDIS", - "UNMANAGED_AWS_SQLITE", - "UNMANAGED_AWS_MS_SQL", - "UNMANAGED_AWS_MARIA_DB", - "UNMANAGED_AWS_NEO4_J", - "UNMANAGED_AWS_ELASTIC", - "UNMANAGED_AWS_COCKROACH_DB", - "UNMANAGED_AWS_AEROSPIKE", - "UNMANAGED_AWS_SCYLLA_DB", - "UNMANAGED_AZURE_MYSQL", - "UNMANAGED_AZURE_ORACLE_SERVER", - "UNMANAGED_AZURE_MONGO_DB", - "UNMANAGED_AZURE_POSTGRESQL", - "UNMANAGED_AZURE_REDIS", - "UNMANAGED_AZURE_SQLITE", - "UNMANAGED_AZURE_MS_SQL", - "UNMANAGED_AZURE_MARIA_DB", - "UNMANAGED_AZURE_NEO4_J", - "UNMANAGED_AZURE_ELASTIC", - "UNMANAGED_AZURE_COCKROACH_DB", - "UNMANAGED_AZURE_AEROSPIKE", - "UNMANAGED_AZURE_SCYLLA_DB", - "UNMANAGED_GCP_MYSQL", - "UNMANAGED_GCP_ORACLE_SERVER", - "UNMANAGED_GCP_MONGO_DB", - "UNMANAGED_GCP_POSTGRESQL", - "UNMANAGED_GCP_REDIS", - "UNMANAGED_GCP_SQLITE", - "UNMANAGED_GCP_MS_SQL", - "UNMANAGED_GCP_MARIA_DB", - "UNMANAGED_GCP_NEO4_J", - "UNMANAGED_GCP_ELASTIC", - "UNMANAGED_GCP_COCKROACH_DB", - "UNMANAGED_GCP_AEROSPIKE", - "UNMANAGED_GCP_SCYLLA_DB", - "SNOWFLAKE_DB", - "FILE_SHARE", - "ONE_DRIVE", - "SHARE_POINT", - "AZURE_OPEN_AI_DEPLOYMENT", - "VERTEX_ENDPOINT", - "BEDROCK_PROVISIONED_THROUGHPUT", - "BEDROCK_AGENT", - "UNMANAGED_AI_AWS_FALCON", - "UNMANAGED_AI_AWS_LLAMA", - "UNMANAGED_AI_AWS_TRANSFORMERSLLAMA", - "UNMANAGED_AI_AWS_GEMMA", - "UNMANAGED_AI_AWS_GPT2", - "UNMANAGED_AI_AWS_MISTRAL", - "UNMANAGED_AI_AWS_PHI", - "UNMANAGED_AI_AWS_QWEN2", - "UNMANAGED_AI_AWS_ROBERTA", - "UNMANAGED_AI_AWS_JAMBA" - ] - } - } - }, - "RiskDetectionOfficialApiResponseDTO": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "ruleName": { - "type": "string" - }, - "severity": { - "type": "string", - "enum": [ - "LOW", - "MEDIUM", - "HIGH" - ] - }, - "asset": { - "$ref": "#/components/schemas/RiskDetectionAssetDTO" - }, - "status": { - "type": "string", - "enum": [ - "OPEN", - "CLOSED", - "UNIMPORTANT", - "WRONG", - "HANDLED", - "INVESTIGATING" - ] - }, - "projectId": { - "type": "string" - }, - "cloudProvider": { - "type": "string", - "enum": [ - "AWS", - "AZURE", - "GCP", - "SNOWFLAKE", - "FILE_SHARE", - "O365" - ] - }, - "cloudEnvironment": { - "type": "string", - "enum": [ - "UNKNOWN", - "DEVELOPMENT", - "STAGING", - "TESTING", - "PRODUCTION" - ] - }, - "firstDiscovered": { - "type": "string", - "format": "date-time" - }, - "complianceStandards": { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "riskEvidence": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RiskEvidenceOfficialApiDTO" - } - } - } - }, - "RiskEvidenceOfficialApiDTO": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "error": { - "type": "string" - }, - "result": { - "oneOf": [ - { - "$ref": "#/components/schemas/AccessEvidenceResult" - }, - { - "$ref": "#/components/schemas/AiContentFilterEvidenceResult" - }, - { - "$ref": "#/components/schemas/AiDatasetPublicEvidenceResult" - }, - { - "$ref": "#/components/schemas/ChatHistoryEvidenceResult" - }, - { - "$ref": "#/components/schemas/ConfigEvidenceResult" - }, - { - "$ref": "#/components/schemas/DataFlowEvidenceResult" - }, - { - "$ref": "#/components/schemas/DataTypeEvidenceResult" - }, - { - "$ref": "#/components/schemas/FileEvidenceResult" - }, - { - "$ref": "#/components/schemas/FreshnessEvidenceResult" - }, - { - "$ref": "#/components/schemas/InferenceDataSourceIngestInForeignAccountEvidenceResult" - }, - { - "$ref": "#/components/schemas/LabelEvidenceResult" - }, - { - "$ref": "#/components/schemas/MalwareEvidenceResult" - }, - { - "$ref": "#/components/schemas/ShadowBackupEvidenceResult" - }, - { - "$ref": "#/components/schemas/SnapshotEvidenceResult" - } - ] - } - } - }, - "RiskEvidenceResult": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "FILE", - "SNAPSHOT", - "CONFIG", - "FRESHNESS", - "ACCESS", - "MALWARE", - "DATA_FLOW", - "SHADOW_BACKUP", - "DATA_TYPE", - "LABEL", - "AI_DATASET_PUBLIC", - "AI_CHAT_HISTORY", - "INFERENCE_DATA_SOURCE_INGEST_IN_FOREIGN_ACCOUNT", - "AI_CONTENT_FILTER" - ] - } - }, - "discriminator": { - "propertyName": "type" - } - }, - "ShadowBackupEvidenceResult": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/RiskEvidenceResult" - }, - { - "type": "object", - "properties": { - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ShadowBackupFileEvidenceDTO" - } - }, - "filesCount": { - "type": "integer", - "format": "int32" - } - } - } - ] - }, - "ShadowBackupFileEvidenceDTO": { - "type": "object", - "properties": { - "size": { - "type": "string" - }, - "filename": { - "type": "string" - }, - "path": { - "type": "string" - }, - "dataTypes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FileEvidenceDataTypesDTO" - } - }, - "shadowBackup": { - "type": "boolean" - }, - "deleted": { - "type": "boolean" - } - } - }, - "SnapshotEvidenceResult": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/RiskEvidenceResult" - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "region": { - "type": "string" - }, - "service": { - "type": "string" - }, - "originalAssetId": { - "type": "string" - }, - "sharingScope": { - "uniqueItems": true, - "type": "array", - "items": { - "type": "string" - } - }, - "sizeInGB": { - "type": "integer", - "format": "int32" - }, - "createdTime": { - "type": "string" - }, - "projectId": { - "type": "string" - }, - "externalLink": { - "type": "string" - } - } - } - ] - }, - "EntitiesDTO": { - "type": "object", - "properties": { - "dataTypeName": { - "type": "string" - }, - "label": { - "type": "string" - }, - "records": { - "type": "integer", - "format": "int64" - }, - "publicRecords": { - "type": "integer", - "format": "int64" - }, - "assets": { - "type": "integer", - "format": "int64" - }, - "clouds": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "AWS", - "AZURE", - "GCP", - "SNOWFLAKE", - "FILE_SHARE", - "O365" - ] - } - }, - "regions": { - "type": "array", - "items": { - "type": "string" - } - }, - "lastFound": { - "type": "string", - "format": "date-time" - }, - "recordsAtRisk": { - "$ref": "#/components/schemas/RecordsAtRisk" - } - } - }, - "RecordsAtRisk": { - "type": "object", - "properties": { - "high": { - "type": "integer", - "format": "int64" - }, - "medium": { - "type": "integer", - "format": "int64" - }, - "low": { - "type": "integer", - "format": "int64" - } - } - }, - "AssetDTO": { - "type": "object", - "properties": { - "firstDiscovered": { - "type": "string", - "format": "date-time" - }, - "projectId": { - "type": "string" - }, - "projectName": { - "type": "string" - }, - "name": { - "type": "string" - }, - "cloudProvider": { - "type": "string", - "enum": [ - "AWS", - "AZURE", - "GCP", - "SNOWFLAKE", - "FILE_SHARE", - "O365" - ] - }, - "cloudEnvironment": { - "type": "string", - "enum": [ - "UNKNOWN", - "DEVELOPMENT", - "STAGING", - "TESTING", - "PRODUCTION" - ] - }, - "serviceType": { - "type": "string", - "enum": [ - "ATHENA", - "AURORA", - "AWS_BACKUP", - "DOCUMENTDB", - "DYNAMODB", - "DAX", - "EMR", - "EBS", - "EFS", - "ELASTICACHE", - "FSX", - "KINESIS_DELIVERY_STREAM", - "MEMORYDB", - "NEPTUNE", - "QLDB", - "RDS", - "REDSHIFT", - "S3", - "TIMESTREAM", - "OPENSEARCH", - "OPENSEARCH_SERVERLESS", - "COSMOS_DB", - "SYNAPSE", - "CACHE_FOR_REDIS", - "MARIA_DB", - "MYSQL_SERVER", - "POSTGRESQL_SERVER", - "SQL_SERVER", - "STORAGE_ACCOUNT", - "SQL_MANAGED_INSTANCE", - "ANF", - "CLOUD_STORAGE", - "CLOUD_SQL", - "BIG_QUERY", - "FILE_STORE", - "CLOUD_SPANNER", - "MEMORY_STORE", - "BIG_TABLE", - "FIRE_STORE", - "UNMANAGED_AWS_MYSQL", - "UNMANAGED_AWS_ORACLE_SERVER", - "UNMANAGED_AWS_MONGO_DB", - "UNMANAGED_AWS_POSTGRESQL", - "UNMANAGED_AWS_REDIS", - "UNMANAGED_AWS_SQLITE", - "UNMANAGED_AWS_MS_SQL", - "UNMANAGED_AWS_MARIA_DB", - "UNMANAGED_AWS_NEO4_J", - "UNMANAGED_AWS_ELASTIC", - "UNMANAGED_AWS_COCKROACH_DB", - "UNMANAGED_AWS_AEROSPIKE", - "UNMANAGED_AWS_SCYLLA_DB", - "UNMANAGED_AZURE_MYSQL", - "UNMANAGED_AZURE_ORACLE_SERVER", - "UNMANAGED_AZURE_MONGO_DB", - "UNMANAGED_AZURE_POSTGRESQL", - "UNMANAGED_AZURE_REDIS", - "UNMANAGED_AZURE_SQLITE", - "UNMANAGED_AZURE_MS_SQL", - "UNMANAGED_AZURE_MARIA_DB", - "UNMANAGED_AZURE_NEO4_J", - "UNMANAGED_AZURE_ELASTIC", - "UNMANAGED_AZURE_COCKROACH_DB", - "UNMANAGED_AZURE_AEROSPIKE", - "UNMANAGED_AZURE_SCYLLA_DB", - "UNMANAGED_GCP_MYSQL", - "UNMANAGED_GCP_ORACLE_SERVER", - "UNMANAGED_GCP_MONGO_DB", - "UNMANAGED_GCP_POSTGRESQL", - "UNMANAGED_GCP_REDIS", - "UNMANAGED_GCP_SQLITE", - "UNMANAGED_GCP_MS_SQL", - "UNMANAGED_GCP_MARIA_DB", - "UNMANAGED_GCP_NEO4_J", - "UNMANAGED_GCP_ELASTIC", - "UNMANAGED_GCP_COCKROACH_DB", - "UNMANAGED_GCP_AEROSPIKE", - "UNMANAGED_GCP_SCYLLA_DB", - "SNOWFLAKE_DB", - "FILE_SHARE", - "ONE_DRIVE", - "SHARE_POINT", - "AZURE_OPEN_AI_DEPLOYMENT", - "VERTEX_ENDPOINT", - "BEDROCK_PROVISIONED_THROUGHPUT", - "BEDROCK_AGENT", - "UNMANAGED_AI_AWS_FALCON", - "UNMANAGED_AI_AWS_LLAMA", - "UNMANAGED_AI_AWS_TRANSFORMERSLLAMA", - "UNMANAGED_AI_AWS_GEMMA", - "UNMANAGED_AI_AWS_GPT2", - "UNMANAGED_AI_AWS_MISTRAL", - "UNMANAGED_AI_AWS_PHI", - "UNMANAGED_AI_AWS_QWEN2", - "UNMANAGED_AI_AWS_ROBERTA", - "UNMANAGED_AI_AWS_JAMBA" - ] - }, - "dataTypeGroups": { - "uniqueItems": true, - "type": "array", - "items": { - "type": "string" - } - }, - "dataTypes": { - "uniqueItems": true, - "type": "array", - "items": { - "$ref": "#/components/schemas/ClassificationEntityOfficialApiDto" - } - }, - "lifecycle": { - "type": "string", - "enum": [ - "RUNNING", - "STOPPED", - "DELETED" - ] - }, - "openRisksCount": { - "type": "integer", - "format": "int32" - }, - "openAlertsCount": { - "type": "integer", - "format": "int32" - }, - "encrypted": { - "type": "boolean" - }, - "openToWorld": { - "type": "boolean" - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "assetDigTags": { - "uniqueItems": true, - "type": "array", - "items": { - "$ref": "#/components/schemas/AssetDigTagDTO" - } - }, - "id": { - "type": "string" - } - } - }, - "AssetDigTagDTO": { - "type": "object", - "properties": { - "digTagId": { - "type": "integer", - "format": "int64" - }, - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - } - }, - "ClassificationEntityOfficialApiDto": { - "type": "object", - "properties": { - "type": { - "type": "string" - }, - "numberOfFindings": { - "type": "integer", - "format": "int64" - } - } - }, - "AlertDTO": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "detectionTime": { - "type": "string", - "format": "date-time" - }, - "policyName": { - "type": "string" - }, - "assetName": { - "type": "string" - }, - "assetLabels": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AssetLabelDashboardDTO" - } - }, - "cloudProvider": { - "type": "string", - "enum": [ - "AWS", - "AZURE", - "GCP", - "SNOWFLAKE", - "FILE_SHARE", - "O365" - ] - }, - "destinationProjects": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "projectName": { - "type": "string" - }, - "projectId": { - "type": "string" - }, - "cloudEnvironment": { - "type": "string", - "enum": [ - "UNKNOWN", - "DEVELOPMENT", - "STAGING", - "TESTING", - "PRODUCTION" - ] - }, - "policySeverity": { - "type": "string", - "enum": [ - "HIGH", - "MEDIUM", - "LOW" - ] - }, - "policyCategoryType": { - "type": "string", - "enum": [ - "FIRST_MOVE", - "ATTACK", - "COMPLIANCE", - "ASSET_AT_RISK", - "RECONNAISSANCE" - ] - }, - "status": { - "type": "string", - "enum": [ - "OPEN", - "UNIMPORTANT", - "WRONG", - "HANDLED", - "INVESTIGATING" - ] - }, - "eventActor": { - "type": "string" - }, - "eventUserAgent": { - "type": "string" - }, - "eventActionMedium": { - "type": "string", - "enum": [ - "CONSOLE", - "SDK", - "CLI", - "SYSTEM" - ] - }, - "eventSource": { - "type": "string" - }, - "policyFrameWorks": { - "uniqueItems": true, - "type": "array", - "items": { - "type": "string" - } - }, - "eventRawData": { - "type": "string" - }, - "assetId": { - "type": "string" - } - } - }, - "AssetLabelDashboardDTO": { - "type": "object", - "properties": { - "label": { - "$ref": "#/components/schemas/LabelDashboardDTO" - }, - "connectedBy": { - "type": "string", - "enum": [ - "SYSTEM", - "USER" - ] - } - } - }, - "LabelDashboardDTO": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string" - }, - "description": { - "type": "string" - }, - "color": { - "type": "string" - }, - "prettyName": { - "type": "string" - } - } - } - } - }, - "tags": [ - { - "name": "Alerts" - }, - { - "name": "Assets" - }, - { - "name": "Classifications" - }, - { - "name": "Data Type Findings" - }, - { - "name": "Labels" - }, - { - "name": "Risks" - } - ] +{ + "openapi": "3.0.1", + "info": { + "title": "Data Security Posture Management (DSPM) APIs", + "description": { + "$ref": "desc/intro.md" + }, + "version": "1.0.0" + }, + "servers": [ + { + "url": "https://api.dig.security", + "description": "Dig Security public API" + }, + { + "url": "PATH_TO_CONSOLE" + } + ], + "paths": { + "/v1/classification/asset-files/id": { + "post": { + "tags": [ + "Classifications" + ], + "operationId": "post-classification-asset-files-id", + "parameters": [ + { + "name": "id", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "page", + "in": "query", + "required": false, + "schema": { + "type": "string", + "default": "1" + } + }, + { + "name": "size", + "in": "query", + "required": false, + "schema": { + "maximum": 150, + "type": "integer", + "default": 20 + } + }, + { + "name": "dig-api-key", + "in": "header", + "description": "Dig token header", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ListFilesFilterBodyRequest" + } + } + } + }, + "responses": { + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DigFileThirdPartyBundle" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DigFileThirdPartyBundle" + } + } + } + }, + "200": { + "description": "Returns list of asset files", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DigFileThirdPartyBundle" + } + } + } + } + }, + "summary": "Get Asset file details by Id", + "description": { + "$ref": "desc/classification/asset_files_id_post.md" + } + } + }, + "/v1/classification/asset-fields/id": { + "post": { + "tags": [ + "Classifications" + ], + "operationId": "post-classification-asset-fields-id", + "parameters": [ + { + "name": "id", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "page", + "in": "query", + "required": false, + "schema": { + "type": "string", + "default": "1" + } + }, + { + "name": "size", + "in": "query", + "required": false, + "schema": { + "maximum": 150, + "type": "integer", + "default": 20 + } + }, + { + "name": "dig-api-key", + "in": "header", + "description": "Dig token header", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ListFieldsFilterBodyRequest" + } + } + } + }, + "responses": { + "200": { + "description": "Returns list of asset fields", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/DBContents" + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/DBContents" + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/DBContents" + } + } + } + } + } + }, + "summary": "Get Asset fields details by Id", + "description": { + "$ref": "desc/classification/asset_fields_id_post.md" + } + } + }, + "/v1/risk-findings/id/{id}/status/{status}": { + "patch": { + "tags": [ + "Risks" + ], + "operationId": "patch-risk-findings-id-id-status-status", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "status", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "OPEN", + "CLOSED", + "UNIMPORTANT", + "WRONG", + "HANDLED", + "INVESTIGATING" + ] + } + }, + { + "name": "dig-api-key", + "in": "header", + "description": "Dig token header", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateRiskDetectionResponseDTO" + } + } + } + } + }, + "summary": "Update Risk Finding Status", + "description": { + "$ref": "desc/risk-findings/risk-findings_id_status_patch.md" + } + } + }, + "/v1/alerts/id/{id}/status/{status}": { + "patch": { + "tags": [ + "Alerts" + ], + "operationId": "patch-alerts-id-id-status-status", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "status", + "in": "path", + "required": true, + "schema": { + "type": "string", + "enum": [ + "OPEN", + "UNIMPORTANT", + "WRONG", + "HANDLED", + "INVESTIGATING" + ] + } + }, + { + "name": "dig-api-key", + "in": "header", + "description": "Dig token header", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateAlertStatusResponseDTO" + } + } + } + } + }, + "summary": "Update Alert Status", + "description": { + "$ref": "desc/alerts/alerts_id_status_patch.md" + } + } + }, + "/v1/risk-findings": { + "get": { + "tags": [ + "Risks" + ], + "operationId": "get-risk-findings", + "parameters": [ + { + "name": "ruleName.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + { + "name": "ruleName.equals", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "dspmTagKey.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + { + "name": "dspmTagKey.equals", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "dspmTagValue.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + { + "name": "dspmTagValue.equals", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "projectId.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + { + "name": "projectId.equals", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "cloudProvider.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "AWS", + "AZURE", + "GCP", + "SNOWFLAKE", + "FILE_SHARE", + "O365" + ] + } + } + }, + { + "name": "cloudProvider.equals", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "AWS", + "AZURE", + "GCP", + "SNOWFLAKE", + "FILE_SHARE", + "O365" + ] + } + }, + { + "name": "affects.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "SECURITY", + "COMPLIANCE", + "GOVERNANCE", + "SECURITY_AND_COMPLIANCE", + "SECURITY_AND_GOVERNANCE", + "COMPLIANCE_AND_GOVERNANCE", + "SECURITY_AND_COMPLIANCE_AND_GOVERNANCE" + ] + } + } + }, + { + "name": "affects.equals", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "SECURITY", + "COMPLIANCE", + "GOVERNANCE", + "SECURITY_AND_COMPLIANCE", + "SECURITY_AND_GOVERNANCE", + "COMPLIANCE_AND_GOVERNANCE", + "SECURITY_AND_COMPLIANCE_AND_GOVERNANCE" + ] + } + }, + { + "name": "status.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "OPEN", + "CLOSED", + "UNIMPORTANT", + "WRONG", + "HANDLED", + "INVESTIGATING" + ] + } + } + }, + { + "name": "status.equals", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "OPEN", + "CLOSED", + "UNIMPORTANT", + "WRONG", + "HANDLED", + "INVESTIGATING" + ] + } + }, + { + "name": "severity.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "LOW", + "MEDIUM", + "HIGH" + ] + } + } + }, + { + "name": "severity.equals", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "LOW", + "MEDIUM", + "HIGH" + ] + } + }, + { + "name": "sort", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + { + "name": "page", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "size", + "in": "query", + "required": false, + "schema": { + "maximum": 50, + "type": "integer", + "default": 20 + } + }, + { + "name": "dig-api-key", + "in": "header", + "description": "Dig token header", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Returns a list of risk findings", + "headers": { + "X-Total-Count": { + "description": "The total number of items in the page", + "style": "simple", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RiskDetectionsDTO" + } + } + } + } + } + }, + "summary": "Get a list of Risk findings", + "description": { + "$ref": "desc/risk-findings/get.md" + } + } + }, + "/v1/risk-findings/id/{id}": { + "get": { + "tags": [ + "Risks" + ], + "operationId": "get-risk-findings-id-id", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "dig-api-key", + "in": "header", + "description": "Dig token header", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RiskDetectionOfficialApiResponseDTO" + } + } + } + } + }, + "summary": "Get a Risk finding by Id", + "description": { + "$ref": "desc/risk-findings/id_get.md" + } + } + }, + "/v1/labels": { + "get": { + "tags": [ + "Labels" + ], + "operationId": "get-labels", + "parameters": [ + { + "name": "dig-api-key", + "in": "header", + "description": "Dig token header", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Returns list of label names based on company", + "content": { + "application/json": { + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "summary": "Get a list of Labels", + "description": { + "$ref": "desc/labels/get.md" + } + } + }, + "/v1/data-type-findings": { + "get": { + "tags": [ + "Data Type Findings" + ], + "operationId": "get-data-type-findings", + "parameters": [ + { + "name": "region.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + { + "name": "region.equals", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "projectId.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + { + "name": "projectId.equals", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "cloudProvider.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "AWS", + "AZURE", + "GCP", + "SNOWFLAKE", + "FILE_SHARE", + "O365" + ] + } + } + }, + { + "name": "cloudProvider.equals", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "AWS", + "AZURE", + "GCP", + "SNOWFLAKE", + "FILE_SHARE", + "O365" + ] + } + }, + { + "name": "serviceType.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ATHENA", + "AURORA", + "AWS_BACKUP", + "DOCUMENTDB", + "DYNAMODB", + "DAX", + "EMR", + "EBS", + "EFS", + "ELASTICACHE", + "FSX", + "KINESIS_DELIVERY_STREAM", + "MEMORYDB", + "NEPTUNE", + "QLDB", + "RDS", + "REDSHIFT", + "S3", + "TIMESTREAM", + "OPENSEARCH", + "OPENSEARCH_SERVERLESS", + "COSMOS_DB", + "SYNAPSE", + "CACHE_FOR_REDIS", + "MARIA_DB", + "MYSQL_SERVER", + "POSTGRESQL_SERVER", + "SQL_SERVER", + "STORAGE_ACCOUNT", + "SQL_MANAGED_INSTANCE", + "ANF", + "CLOUD_STORAGE", + "CLOUD_SQL", + "BIG_QUERY", + "FILE_STORE", + "CLOUD_SPANNER", + "MEMORY_STORE", + "BIG_TABLE", + "FIRE_STORE", + "UNMANAGED_AWS_MYSQL", + "UNMANAGED_AWS_ORACLE_SERVER", + "UNMANAGED_AWS_MONGO_DB", + "UNMANAGED_AWS_POSTGRESQL", + "UNMANAGED_AWS_REDIS", + "UNMANAGED_AWS_SQLITE", + "UNMANAGED_AWS_MS_SQL", + "UNMANAGED_AWS_MARIA_DB", + "UNMANAGED_AWS_NEO4_J", + "UNMANAGED_AWS_ELASTIC", + "UNMANAGED_AWS_COCKROACH_DB", + "UNMANAGED_AWS_AEROSPIKE", + "UNMANAGED_AWS_SCYLLA_DB", + "UNMANAGED_AZURE_MYSQL", + "UNMANAGED_AZURE_ORACLE_SERVER", + "UNMANAGED_AZURE_MONGO_DB", + "UNMANAGED_AZURE_POSTGRESQL", + "UNMANAGED_AZURE_REDIS", + "UNMANAGED_AZURE_SQLITE", + "UNMANAGED_AZURE_MS_SQL", + "UNMANAGED_AZURE_MARIA_DB", + "UNMANAGED_AZURE_NEO4_J", + "UNMANAGED_AZURE_ELASTIC", + "UNMANAGED_AZURE_COCKROACH_DB", + "UNMANAGED_AZURE_AEROSPIKE", + "UNMANAGED_AZURE_SCYLLA_DB", + "UNMANAGED_GCP_MYSQL", + "UNMANAGED_GCP_ORACLE_SERVER", + "UNMANAGED_GCP_MONGO_DB", + "UNMANAGED_GCP_POSTGRESQL", + "UNMANAGED_GCP_REDIS", + "UNMANAGED_GCP_SQLITE", + "UNMANAGED_GCP_MS_SQL", + "UNMANAGED_GCP_MARIA_DB", + "UNMANAGED_GCP_NEO4_J", + "UNMANAGED_GCP_ELASTIC", + "UNMANAGED_GCP_COCKROACH_DB", + "UNMANAGED_GCP_AEROSPIKE", + "UNMANAGED_GCP_SCYLLA_DB", + "SNOWFLAKE_DB", + "FILE_SHARE", + "ONE_DRIVE", + "SHARE_POINT", + "AZURE_OPEN_AI_DEPLOYMENT", + "VERTEX_ENDPOINT", + "BEDROCK_PROVISIONED_THROUGHPUT", + "BEDROCK_AGENT", + "UNMANAGED_AI_AWS_FALCON", + "UNMANAGED_AI_AWS_LLAMA", + "UNMANAGED_AI_AWS_TRANSFORMERSLLAMA", + "UNMANAGED_AI_AWS_GEMMA", + "UNMANAGED_AI_AWS_GPT2", + "UNMANAGED_AI_AWS_MISTRAL", + "UNMANAGED_AI_AWS_PHI", + "UNMANAGED_AI_AWS_QWEN2", + "UNMANAGED_AI_AWS_ROBERTA", + "UNMANAGED_AI_AWS_JAMBA" + ] + } + } + }, + { + "name": "serviceType.equals", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "ATHENA", + "AURORA", + "AWS_BACKUP", + "DOCUMENTDB", + "DYNAMODB", + "DAX", + "EMR", + "EBS", + "EFS", + "ELASTICACHE", + "FSX", + "KINESIS_DELIVERY_STREAM", + "MEMORYDB", + "NEPTUNE", + "QLDB", + "RDS", + "REDSHIFT", + "S3", + "TIMESTREAM", + "OPENSEARCH", + "OPENSEARCH_SERVERLESS", + "COSMOS_DB", + "SYNAPSE", + "CACHE_FOR_REDIS", + "MARIA_DB", + "MYSQL_SERVER", + "POSTGRESQL_SERVER", + "SQL_SERVER", + "STORAGE_ACCOUNT", + "SQL_MANAGED_INSTANCE", + "ANF", + "CLOUD_STORAGE", + "CLOUD_SQL", + "BIG_QUERY", + "FILE_STORE", + "CLOUD_SPANNER", + "MEMORY_STORE", + "BIG_TABLE", + "FIRE_STORE", + "UNMANAGED_AWS_MYSQL", + "UNMANAGED_AWS_ORACLE_SERVER", + "UNMANAGED_AWS_MONGO_DB", + "UNMANAGED_AWS_POSTGRESQL", + "UNMANAGED_AWS_REDIS", + "UNMANAGED_AWS_SQLITE", + "UNMANAGED_AWS_MS_SQL", + "UNMANAGED_AWS_MARIA_DB", + "UNMANAGED_AWS_NEO4_J", + "UNMANAGED_AWS_ELASTIC", + "UNMANAGED_AWS_COCKROACH_DB", + "UNMANAGED_AWS_AEROSPIKE", + "UNMANAGED_AWS_SCYLLA_DB", + "UNMANAGED_AZURE_MYSQL", + "UNMANAGED_AZURE_ORACLE_SERVER", + "UNMANAGED_AZURE_MONGO_DB", + "UNMANAGED_AZURE_POSTGRESQL", + "UNMANAGED_AZURE_REDIS", + "UNMANAGED_AZURE_SQLITE", + "UNMANAGED_AZURE_MS_SQL", + "UNMANAGED_AZURE_MARIA_DB", + "UNMANAGED_AZURE_NEO4_J", + "UNMANAGED_AZURE_ELASTIC", + "UNMANAGED_AZURE_COCKROACH_DB", + "UNMANAGED_AZURE_AEROSPIKE", + "UNMANAGED_AZURE_SCYLLA_DB", + "UNMANAGED_GCP_MYSQL", + "UNMANAGED_GCP_ORACLE_SERVER", + "UNMANAGED_GCP_MONGO_DB", + "UNMANAGED_GCP_POSTGRESQL", + "UNMANAGED_GCP_REDIS", + "UNMANAGED_GCP_SQLITE", + "UNMANAGED_GCP_MS_SQL", + "UNMANAGED_GCP_MARIA_DB", + "UNMANAGED_GCP_NEO4_J", + "UNMANAGED_GCP_ELASTIC", + "UNMANAGED_GCP_COCKROACH_DB", + "UNMANAGED_GCP_AEROSPIKE", + "UNMANAGED_GCP_SCYLLA_DB", + "SNOWFLAKE_DB", + "FILE_SHARE", + "ONE_DRIVE", + "SHARE_POINT", + "AZURE_OPEN_AI_DEPLOYMENT", + "VERTEX_ENDPOINT", + "BEDROCK_PROVISIONED_THROUGHPUT", + "BEDROCK_AGENT", + "UNMANAGED_AI_AWS_FALCON", + "UNMANAGED_AI_AWS_LLAMA", + "UNMANAGED_AI_AWS_TRANSFORMERSLLAMA", + "UNMANAGED_AI_AWS_GEMMA", + "UNMANAGED_AI_AWS_GPT2", + "UNMANAGED_AI_AWS_MISTRAL", + "UNMANAGED_AI_AWS_PHI", + "UNMANAGED_AI_AWS_QWEN2", + "UNMANAGED_AI_AWS_ROBERTA", + "UNMANAGED_AI_AWS_JAMBA" + ] + } + }, + { + "name": "lifecycle.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "RUNNING", + "STOPPED", + "DELETED" + ] + } + } + }, + { + "name": "lifecycle.equals", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "RUNNING", + "STOPPED", + "DELETED" + ] + } + }, + { + "name": "sort", + "in": "query", + "description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.", + "required": false, + "schema": { + "type": "string", + + } + }, + { + "name": "page", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "size", + "in": "query", + "required": false, + "schema": { + "maximum": 50, + "type": "integer", + "default": 20 + } + }, + { + "name": "dig-api-key", + "in": "header", + "description": "Dig token header", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Returns company findings", + "headers": { + "X-Total-Count": { + "description": "The total number of items in the page", + "style": "simple", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/EntitiesDTO" + } + } + } + } + } + }, + "summary": "Get a list of Data Type Findings", + "description": { + "$ref": "desc/data-type-findings/get.md" + } + } + }, + "/v1/classification/data-types": { + "get": { + "tags": [ + "Classifications" + ], + "operationId": "get-classification-data-types", + "parameters": [ + { + "name": "dig-api-key", + "in": "header", + "description": "Dig token header", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Returns list of data types for company", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "summary": "Get Data Types by Id", + "description": { + "$ref": "desc/classification/data_types_id_get.md" + } + } + }, + "/v1/assets": { + "get": { + "tags": [ + "Assets" + ], + "operationId": "get-assets", + "parameters": [ + { + "name": "firstDetectedOn.equals", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "date-time" + } + }, + { + "name": "firstDetectedOn.greaterThanOrEqual", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "date-time" + } + }, + { + "name": "firstDetectedOn.greaterThan", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "date-time" + } + }, + { + "name": "firstDetectedOn.lessThanOrEqual", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "date-time" + } + }, + { + "name": "firstDetectedOn.lessThan", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "date-time" + } + }, + { + "name": "region.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + { + "name": "region.equals", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "cloudProvider.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "AWS", + "AZURE", + "GCP", + "SNOWFLAKE", + "FILE_SHARE", + "O365" + ] + } + } + }, + { + "name": "cloudProvider.equals", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "AWS", + "AZURE", + "GCP", + "SNOWFLAKE", + "FILE_SHARE", + "O365" + ] + } + }, + { + "name": "serviceType.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ATHENA", + "AURORA", + "AWS_BACKUP", + "DOCUMENTDB", + "DYNAMODB", + "DAX", + "EMR", + "EBS", + "EFS", + "ELASTICACHE", + "FSX", + "KINESIS_DELIVERY_STREAM", + "MEMORYDB", + "NEPTUNE", + "QLDB", + "RDS", + "REDSHIFT", + "S3", + "TIMESTREAM", + "OPENSEARCH", + "OPENSEARCH_SERVERLESS", + "COSMOS_DB", + "SYNAPSE", + "CACHE_FOR_REDIS", + "MARIA_DB", + "MYSQL_SERVER", + "POSTGRESQL_SERVER", + "SQL_SERVER", + "STORAGE_ACCOUNT", + "SQL_MANAGED_INSTANCE", + "ANF", + "CLOUD_STORAGE", + "CLOUD_SQL", + "BIG_QUERY", + "FILE_STORE", + "CLOUD_SPANNER", + "MEMORY_STORE", + "BIG_TABLE", + "FIRE_STORE", + "UNMANAGED_AWS_MYSQL", + "UNMANAGED_AWS_ORACLE_SERVER", + "UNMANAGED_AWS_MONGO_DB", + "UNMANAGED_AWS_POSTGRESQL", + "UNMANAGED_AWS_REDIS", + "UNMANAGED_AWS_SQLITE", + "UNMANAGED_AWS_MS_SQL", + "UNMANAGED_AWS_MARIA_DB", + "UNMANAGED_AWS_NEO4_J", + "UNMANAGED_AWS_ELASTIC", + "UNMANAGED_AWS_COCKROACH_DB", + "UNMANAGED_AWS_AEROSPIKE", + "UNMANAGED_AWS_SCYLLA_DB", + "UNMANAGED_AZURE_MYSQL", + "UNMANAGED_AZURE_ORACLE_SERVER", + "UNMANAGED_AZURE_MONGO_DB", + "UNMANAGED_AZURE_POSTGRESQL", + "UNMANAGED_AZURE_REDIS", + "UNMANAGED_AZURE_SQLITE", + "UNMANAGED_AZURE_MS_SQL", + "UNMANAGED_AZURE_MARIA_DB", + "UNMANAGED_AZURE_NEO4_J", + "UNMANAGED_AZURE_ELASTIC", + "UNMANAGED_AZURE_COCKROACH_DB", + "UNMANAGED_AZURE_AEROSPIKE", + "UNMANAGED_AZURE_SCYLLA_DB", + "UNMANAGED_GCP_MYSQL", + "UNMANAGED_GCP_ORACLE_SERVER", + "UNMANAGED_GCP_MONGO_DB", + "UNMANAGED_GCP_POSTGRESQL", + "UNMANAGED_GCP_REDIS", + "UNMANAGED_GCP_SQLITE", + "UNMANAGED_GCP_MS_SQL", + "UNMANAGED_GCP_MARIA_DB", + "UNMANAGED_GCP_NEO4_J", + "UNMANAGED_GCP_ELASTIC", + "UNMANAGED_GCP_COCKROACH_DB", + "UNMANAGED_GCP_AEROSPIKE", + "UNMANAGED_GCP_SCYLLA_DB", + "SNOWFLAKE_DB", + "FILE_SHARE", + "ONE_DRIVE", + "SHARE_POINT", + "AZURE_OPEN_AI_DEPLOYMENT", + "VERTEX_ENDPOINT", + "BEDROCK_PROVISIONED_THROUGHPUT", + "BEDROCK_AGENT", + "UNMANAGED_AI_AWS_FALCON", + "UNMANAGED_AI_AWS_LLAMA", + "UNMANAGED_AI_AWS_TRANSFORMERSLLAMA", + "UNMANAGED_AI_AWS_GEMMA", + "UNMANAGED_AI_AWS_GPT2", + "UNMANAGED_AI_AWS_MISTRAL", + "UNMANAGED_AI_AWS_PHI", + "UNMANAGED_AI_AWS_QWEN2", + "UNMANAGED_AI_AWS_ROBERTA", + "UNMANAGED_AI_AWS_JAMBA" + ] + } + } + }, + { + "name": "serviceType.equals", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "ATHENA", + "AURORA", + "AWS_BACKUP", + "DOCUMENTDB", + "DYNAMODB", + "DAX", + "EMR", + "EBS", + "EFS", + "ELASTICACHE", + "FSX", + "KINESIS_DELIVERY_STREAM", + "MEMORYDB", + "NEPTUNE", + "QLDB", + "RDS", + "REDSHIFT", + "S3", + "TIMESTREAM", + "OPENSEARCH", + "OPENSEARCH_SERVERLESS", + "COSMOS_DB", + "SYNAPSE", + "CACHE_FOR_REDIS", + "MARIA_DB", + "MYSQL_SERVER", + "POSTGRESQL_SERVER", + "SQL_SERVER", + "STORAGE_ACCOUNT", + "SQL_MANAGED_INSTANCE", + "ANF", + "CLOUD_STORAGE", + "CLOUD_SQL", + "BIG_QUERY", + "FILE_STORE", + "CLOUD_SPANNER", + "MEMORY_STORE", + "BIG_TABLE", + "FIRE_STORE", + "UNMANAGED_AWS_MYSQL", + "UNMANAGED_AWS_ORACLE_SERVER", + "UNMANAGED_AWS_MONGO_DB", + "UNMANAGED_AWS_POSTGRESQL", + "UNMANAGED_AWS_REDIS", + "UNMANAGED_AWS_SQLITE", + "UNMANAGED_AWS_MS_SQL", + "UNMANAGED_AWS_MARIA_DB", + "UNMANAGED_AWS_NEO4_J", + "UNMANAGED_AWS_ELASTIC", + "UNMANAGED_AWS_COCKROACH_DB", + "UNMANAGED_AWS_AEROSPIKE", + "UNMANAGED_AWS_SCYLLA_DB", + "UNMANAGED_AZURE_MYSQL", + "UNMANAGED_AZURE_ORACLE_SERVER", + "UNMANAGED_AZURE_MONGO_DB", + "UNMANAGED_AZURE_POSTGRESQL", + "UNMANAGED_AZURE_REDIS", + "UNMANAGED_AZURE_SQLITE", + "UNMANAGED_AZURE_MS_SQL", + "UNMANAGED_AZURE_MARIA_DB", + "UNMANAGED_AZURE_NEO4_J", + "UNMANAGED_AZURE_ELASTIC", + "UNMANAGED_AZURE_COCKROACH_DB", + "UNMANAGED_AZURE_AEROSPIKE", + "UNMANAGED_AZURE_SCYLLA_DB", + "UNMANAGED_GCP_MYSQL", + "UNMANAGED_GCP_ORACLE_SERVER", + "UNMANAGED_GCP_MONGO_DB", + "UNMANAGED_GCP_POSTGRESQL", + "UNMANAGED_GCP_REDIS", + "UNMANAGED_GCP_SQLITE", + "UNMANAGED_GCP_MS_SQL", + "UNMANAGED_GCP_MARIA_DB", + "UNMANAGED_GCP_NEO4_J", + "UNMANAGED_GCP_ELASTIC", + "UNMANAGED_GCP_COCKROACH_DB", + "UNMANAGED_GCP_AEROSPIKE", + "UNMANAGED_GCP_SCYLLA_DB", + "SNOWFLAKE_DB", + "FILE_SHARE", + "ONE_DRIVE", + "SHARE_POINT", + "AZURE_OPEN_AI_DEPLOYMENT", + "VERTEX_ENDPOINT", + "BEDROCK_PROVISIONED_THROUGHPUT", + "BEDROCK_AGENT", + "UNMANAGED_AI_AWS_FALCON", + "UNMANAGED_AI_AWS_LLAMA", + "UNMANAGED_AI_AWS_TRANSFORMERSLLAMA", + "UNMANAGED_AI_AWS_GEMMA", + "UNMANAGED_AI_AWS_GPT2", + "UNMANAGED_AI_AWS_MISTRAL", + "UNMANAGED_AI_AWS_PHI", + "UNMANAGED_AI_AWS_QWEN2", + "UNMANAGED_AI_AWS_ROBERTA", + "UNMANAGED_AI_AWS_JAMBA" + ] + } + }, + { + "name": "digTagKey.contains", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "digTagValue.contains", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "lifecycle.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "RUNNING", + "STOPPED", + "DELETED" + ] + } + } + }, + { + "name": "lifecycle.equals", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "RUNNING", + "STOPPED", + "DELETED" + ] + } + }, + { + "name": "label.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + { + "name": "label.equals", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "sort", + "in": "query", + "description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.", + "required": false, + "schema": { + "type": "string", + "description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported." + } + }, + { + "name": "page", + "in": "query", + "required": false, + "schema": { + "type": "string", + "default": "0" + } + }, + { + "name": "size", + "in": "query", + "required": false, + "schema": { + "maximum": 50, + "type": "integer", + "default": 20 + } + }, + { + "name": "dig-api-key", + "in": "header", + "description": "Dig token header", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Returns a list of assets", + "headers": { + "X-Total-Count": { + "description": "The total number of items in the page", + "style": "simple", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AssetDTO" + } + } + } + } + } + }, + "summary": "Get Assets", + "description": { + "$ref": "desc/assets/get.md" + } + } + }, + "/v1/assets/id": { + "get": { + "tags": [ + "Assets" + ], + "operationId": "get-assets-id", + "parameters": [ + { + "name": "id", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "dig-api-key", + "in": "header", + "description": "Dig token header", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AssetDTO" + } + } + } + } + }, + "summary": "Get Asset by Id", + "description": { + "$ref": "desc/assets/id_get.md" + } + } + }, + "/v1/alerts": { + "get": { + "tags": [ + "Alerts" + ], + "operationId": "get-alerts", + "parameters": [ + { + "name": "detectionTime.equals", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "date-time" + } + }, + { + "name": "detectionTime.greaterThanOrEqual", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "date-time" + } + }, + { + "name": "detectionTime.greaterThan", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "date-time" + } + }, + { + "name": "detectionTime.lessThanOrEqual", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "date-time" + } + }, + { + "name": "detectionTime.lessThan", + "in": "query", + "required": false, + "schema": { + "type": "string", + "format": "date-time" + } + }, + { + "name": "policyName.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + { + "name": "policyName.equals", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "assetName.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + { + "name": "assetName.equals", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "cloudProvider.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "AWS", + "AZURE", + "GCP", + "SNOWFLAKE", + "FILE_SHARE", + "O365" + ] + } + } + }, + { + "name": "cloudProvider.equals", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "AWS", + "AZURE", + "GCP", + "SNOWFLAKE", + "FILE_SHARE", + "O365" + ] + } + }, + { + "name": "destinationProjectVendorName.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + { + "name": "destinationProjectVendorName.equals", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "cloudEnvironment.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "UNKNOWN", + "DEVELOPMENT", + "STAGING", + "TESTING", + "PRODUCTION" + ] + } + } + }, + { + "name": "cloudEnvironment.equals", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "UNKNOWN", + "DEVELOPMENT", + "STAGING", + "TESTING", + "PRODUCTION" + ] + } + }, + { + "name": "policySeverity.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "HIGH", + "MEDIUM", + "LOW" + ] + } + } + }, + { + "name": "policySeverity.equals", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "HIGH", + "MEDIUM", + "LOW" + ] + } + }, + { + "name": "categoryType.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "FIRST_MOVE", + "ATTACK", + "COMPLIANCE", + "ASSET_AT_RISK", + "RECONNAISSANCE" + ] + } + } + }, + { + "name": "categoryType.equals", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "FIRST_MOVE", + "ATTACK", + "COMPLIANCE", + "ASSET_AT_RISK", + "RECONNAISSANCE" + ] + } + }, + { + "name": "status.in", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "OPEN", + "UNIMPORTANT", + "WRONG", + "HANDLED", + "INVESTIGATING" + ] + } + } + }, + { + "name": "status.equals", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "OPEN", + "UNIMPORTANT", + "WRONG", + "HANDLED", + "INVESTIGATING" + ] + } + }, + { + "name": "sort", + "in": "query", + "description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.", + "required": false, + "schema": { + "type": "string", + "description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported." + } + }, + { + "name": "page", + "in": "query", + "required": false, + "schema": { + "type": "string", + "default": "0" + } + }, + { + "name": "size", + "in": "query", + "required": false, + "schema": { + "maximum": 50, + "type": "integer", + "default": 20 + } + }, + { + "name": "dig-api-key", + "in": "header", + "description": "Dig token header", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Returns a list of alerts", + "headers": { + "X-Total-Count": { + "description": "The total number of items in the page", + "style": "simple", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AlertDTO" + } + } + } + } + } + }, + "summary": "Get Alerts by Id", + "description": { + "$ref": "desc/alerts/get.md" + } + } + } + }, + "components": { + "schemas": { + "DataTypeFilter": { + "type": "object", + "properties": { + "allIn": { + "type": "array", + "items": { + "type": "string" + } + }, + "anyIn": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "FileExtensionFilter": { + "type": "object", + "properties": { + "equals": { + "type": "string" + } + } + }, + "FileNameFilter": { + "type": "object", + "properties": { + "equals": { + "type": "string" + } + } + }, + "FilePathFilter": { + "type": "object", + "properties": { + "contains": { + "type": "string" + } + } + }, + "FileTypeFilter": { + "type": "object", + "properties": { + "anyIn": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "AUDIO", + "TEXT", + "IMAGE", + "VIDEO", + "DOCUMENT", + "DATA_FORMAT", + "EXECUTABLE", + "CREDENTIAL", + "LOGS", + "SNAPSHOTS", + "CODE", + "COMPRESSED", + "OTHER" + ] + } + }, + "allIn": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "AUDIO", + "TEXT", + "IMAGE", + "VIDEO", + "DOCUMENT", + "DATA_FORMAT", + "EXECUTABLE", + "CREDENTIAL", + "LOGS", + "SNAPSHOTS", + "CODE", + "COMPRESSED", + "OTHER" + ] + } + } + } + }, + "IgnoredFilter": { + "type": "object", + "properties": { + "equals": { + "type": "boolean" + } + } + }, + "IsMaliciousFilter": { + "type": "object", + "properties": { + "equals": { + "type": "boolean" + } + } + }, + "LabelFilter": { + "type": "object", + "properties": { + "anyIn": { + "type": "array", + "items": { + "type": "string" + } + }, + "allIn": { + "type": "array", + "items": { + "type": "string" + } + }, + "hasAny": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "ListFilesFilterBodyRequest": { + "required": [ + "dataType", + "fileExtension", + "fileName", + "filePath", + "fileType", + "ignored", + "isMalicious", + "label", + "public", + "shadowBackup" + ], + "type": "object", + "properties": { + "dataType": { + "$ref": "#/components/schemas/DataTypeFilter" + }, + "label": { + "$ref": "#/components/schemas/LabelFilter" + }, + "fileName": { + "$ref": "#/components/schemas/FileNameFilter" + }, + "fileExtension": { + "$ref": "#/components/schemas/FileExtensionFilter" + }, + "filePath": { + "$ref": "#/components/schemas/FilePathFilter" + }, + "fileType": { + "$ref": "#/components/schemas/FileTypeFilter" + }, + "public": { + "$ref": "#/components/schemas/PublicFilter" + }, + "isMalicious": { + "$ref": "#/components/schemas/IsMaliciousFilter" + }, + "shadowBackup": { + "$ref": "#/components/schemas/ShadowBackup" + }, + "ignored": { + "$ref": "#/components/schemas/IgnoredFilter" + } + } + }, + "PublicFilter": { + "type": "object", + "properties": { + "equals": { + "type": "boolean" + } + } + }, + "ShadowBackup": { + "type": "object", + "properties": { + "equals": { + "type": "boolean" + } + } + }, + "DigFileDataTypeAPI": { + "required": [ + "count", + "label", + "name", + "valueDetails" + ], + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "label": { + "type": "string" + }, + "count": { + "type": "integer", + "format": "int64" + }, + "valueDetails": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ValueDetails" + } + } + } + }, + "DigFileThirdPartyAPI": { + "required": [ + "dataTypes", + "filename", + "isDeleted", + "isMalicious", + "labels", + "openToWorld", + "path", + "size", + "type" + ], + "type": "object", + "properties": { + "filename": { + "type": "string" + }, + "path": { + "type": "string" + }, + "type": { + "type": "string" + }, + "size": { + "type": "string" + }, + "openToWorld": { + "type": "boolean" + }, + "isDeleted": { + "type": "boolean" + }, + "isMalicious": { + "type": "boolean" + }, + "dataTypes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/DigFileDataTypeAPI" + } + }, + "labels": { + "type": "array", + "items": { + "type": "string" + } + }, + "isDbDump": { + "type": "boolean" + } + } + }, + "DigFileThirdPartyBundle": { + "required": [ + "files", + "filesCount" + ], + "type": "object", + "properties": { + "files": { + "type": "array", + "items": { + "$ref": "#/components/schemas/DigFileThirdPartyAPI" + } + }, + "filesCount": { + "type": "integer", + "format": "int64" + } + } + }, + "ValueDetails": { + "required": [ + "masked_value" + ], + "type": "object", + "properties": { + "masked_value": { + "type": "string" + }, + "line": { + "type": "integer", + "format": "int64" + } + } + }, + "DataTypeAnyInFilter": { + "type": "object", + "properties": { + "anyIn": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "FieldLabelFilter": { + "type": "object", + "properties": { + "equals": { + "type": "string" + } + } + }, + "FieldNameFilter": { + "type": "object", + "properties": { + "contains": { + "type": "string" + } + } + }, + "FieldPathFilter": { + "type": "object", + "properties": { + "contains": { + "type": "string" + } + } + }, + "FieldTypeFilter": { + "type": "object", + "properties": { + "contains": { + "type": "string" + }, + "equals": { + "type": "string" + } + } + }, + "ListFieldsFilterBodyRequest": { + "required": [ + "dataType", + "fieldName", + "fieldPath", + "fieldType", + "label" + ], + "type": "object", + "properties": { + "dataType": { + "$ref": "#/components/schemas/DataTypeAnyInFilter" + }, + "label": { + "$ref": "#/components/schemas/FieldLabelFilter" + }, + "fieldType": { + "$ref": "#/components/schemas/FieldTypeFilter" + }, + "fieldPath": { + "$ref": "#/components/schemas/FieldPathFilter" + }, + "fieldName": { + "$ref": "#/components/schemas/FieldNameFilter" + } + } + }, + "ContentTypeWithDataTypePercentage": { + "required": [ + "hitPercentage", + "label", + "name" + ], + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "label": { + "type": "string" + }, + "hitPercentage": { + "type": "integer", + "format": "int64" + }, + "maskedValues": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ValueDetails" + } + } + } + }, + "DBContents": { + "required": [ + "fields" + ], + "type": "object", + "properties": { + "fields": { + "type": "array", + "items": { + "$ref": "#/components/schemas/StructuredSemiStructuredField" + } + } + } + }, + "StructuredSemiStructuredField": { + "required": [ + "name" + ], + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "dataTypes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ContentTypeWithDataTypePercentage" + } + }, + "path": { + "type": "string" + }, + "tableName": { + "type": "string" + }, + "tableSize": { + "type": "string" + }, + "databaseName": { + "type": "string" + }, + "collectionName": { + "type": "string" + }, + "type": { + "type": "string" + }, + "schemaName": { + "type": "string" + } + } + }, + "UpdateRiskDetectionResponseDTO": { + "type": "object", + "properties": { + "riskFindingId": { + "type": "string" + }, + "oldStatus": { + "type": "string", + "enum": [ + "OPEN", + "CLOSED", + "UNIMPORTANT", + "WRONG", + "HANDLED", + "INVESTIGATING" + ] + }, + "newStatus": { + "type": "string", + "enum": [ + "OPEN", + "CLOSED", + "UNIMPORTANT", + "WRONG", + "HANDLED", + "INVESTIGATING" + ] + } + } + }, + "UpdateAlertStatusResponseDTO": { + "type": "object", + "properties": { + "alertId": { + "type": "integer", + "format": "int64" + }, + "oldStatus": { + "type": "string", + "enum": [ + "OPEN", + "UNIMPORTANT", + "WRONG", + "HANDLED", + "INVESTIGATING" + ] + }, + "newStatus": { + "type": "string", + "enum": [ + "OPEN", + "UNIMPORTANT", + "WRONG", + "HANDLED", + "INVESTIGATING" + ] + } + } + }, + "RiskDetectionsAssetDTO": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "assetId": { + "type": "string" + }, + "service": { + "type": "string", + "enum": [ + "ATHENA", + "AURORA", + "AWS_BACKUP", + "DOCUMENTDB", + "DYNAMODB", + "DAX", + "EMR", + "EBS", + "EFS", + "ELASTICACHE", + "FSX", + "KINESIS_DELIVERY_STREAM", + "MEMORYDB", + "NEPTUNE", + "QLDB", + "RDS", + "REDSHIFT", + "S3", + "TIMESTREAM", + "OPENSEARCH", + "OPENSEARCH_SERVERLESS", + "COSMOS_DB", + "SYNAPSE", + "CACHE_FOR_REDIS", + "MARIA_DB", + "MYSQL_SERVER", + "POSTGRESQL_SERVER", + "SQL_SERVER", + "STORAGE_ACCOUNT", + "SQL_MANAGED_INSTANCE", + "ANF", + "CLOUD_STORAGE", + "CLOUD_SQL", + "BIG_QUERY", + "FILE_STORE", + "CLOUD_SPANNER", + "MEMORY_STORE", + "BIG_TABLE", + "FIRE_STORE", + "UNMANAGED_AWS_MYSQL", + "UNMANAGED_AWS_ORACLE_SERVER", + "UNMANAGED_AWS_MONGO_DB", + "UNMANAGED_AWS_POSTGRESQL", + "UNMANAGED_AWS_REDIS", + "UNMANAGED_AWS_SQLITE", + "UNMANAGED_AWS_MS_SQL", + "UNMANAGED_AWS_MARIA_DB", + "UNMANAGED_AWS_NEO4_J", + "UNMANAGED_AWS_ELASTIC", + "UNMANAGED_AWS_COCKROACH_DB", + "UNMANAGED_AWS_AEROSPIKE", + "UNMANAGED_AWS_SCYLLA_DB", + "UNMANAGED_AZURE_MYSQL", + "UNMANAGED_AZURE_ORACLE_SERVER", + "UNMANAGED_AZURE_MONGO_DB", + "UNMANAGED_AZURE_POSTGRESQL", + "UNMANAGED_AZURE_REDIS", + "UNMANAGED_AZURE_SQLITE", + "UNMANAGED_AZURE_MS_SQL", + "UNMANAGED_AZURE_MARIA_DB", + "UNMANAGED_AZURE_NEO4_J", + "UNMANAGED_AZURE_ELASTIC", + "UNMANAGED_AZURE_COCKROACH_DB", + "UNMANAGED_AZURE_AEROSPIKE", + "UNMANAGED_AZURE_SCYLLA_DB", + "UNMANAGED_GCP_MYSQL", + "UNMANAGED_GCP_ORACLE_SERVER", + "UNMANAGED_GCP_MONGO_DB", + "UNMANAGED_GCP_POSTGRESQL", + "UNMANAGED_GCP_REDIS", + "UNMANAGED_GCP_SQLITE", + "UNMANAGED_GCP_MS_SQL", + "UNMANAGED_GCP_MARIA_DB", + "UNMANAGED_GCP_NEO4_J", + "UNMANAGED_GCP_ELASTIC", + "UNMANAGED_GCP_COCKROACH_DB", + "UNMANAGED_GCP_AEROSPIKE", + "UNMANAGED_GCP_SCYLLA_DB", + "SNOWFLAKE_DB", + "FILE_SHARE", + "ONE_DRIVE", + "SHARE_POINT", + "AZURE_OPEN_AI_DEPLOYMENT", + "VERTEX_ENDPOINT", + "BEDROCK_PROVISIONED_THROUGHPUT", + "BEDROCK_AGENT", + "UNMANAGED_AI_AWS_FALCON", + "UNMANAGED_AI_AWS_LLAMA", + "UNMANAGED_AI_AWS_TRANSFORMERSLLAMA", + "UNMANAGED_AI_AWS_GEMMA", + "UNMANAGED_AI_AWS_GPT2", + "UNMANAGED_AI_AWS_MISTRAL", + "UNMANAGED_AI_AWS_PHI", + "UNMANAGED_AI_AWS_QWEN2", + "UNMANAGED_AI_AWS_ROBERTA", + "UNMANAGED_AI_AWS_JAMBA" + ] + } + } + }, + "RiskDetectionsDTO": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "ruleName": { + "type": "string" + }, + "severity": { + "type": "string", + "enum": [ + "LOW", + "MEDIUM", + "HIGH" + ] + }, + "asset": { + "$ref": "#/components/schemas/RiskDetectionsAssetDTO" + }, + "status": { + "type": "string", + "enum": [ + "OPEN", + "CLOSED", + "UNIMPORTANT", + "WRONG", + "HANDLED", + "INVESTIGATING" + ] + }, + "projectId": { + "type": "string" + }, + "cloudProvider": { + "type": "string", + "enum": [ + "AWS", + "AZURE", + "GCP", + "SNOWFLAKE", + "FILE_SHARE", + "O365" + ] + }, + "cloudEnvironment": { + "type": "string", + "enum": [ + "UNKNOWN", + "DEVELOPMENT", + "STAGING", + "TESTING", + "PRODUCTION" + ] + }, + "firstDiscovered": { + "type": "string", + "format": "date-time" + }, + "complianceStandards": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "AccessEvidenceDTO": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "project": { + "type": "string" + }, + "cloudAccountInformation": { + "$ref": "#/components/schemas/CloudAccountInformationDTO" + }, + "entityType": { + "type": "string" + }, + "name": { + "type": "string" + }, + "riskIndicators": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "AccessEvidenceResult": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/RiskEvidenceResult" + }, + { + "type": "object", + "properties": { + "permittedEntities": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AccessEvidenceDTO" + } + } + } + } + ] + }, + "AiChatHistoryDetailsEvidenceDTO": { + "type": "object", + "properties": { + "region": { + "type": "string" + }, + "project": { + "type": "string" + }, + "projectName": { + "type": "string" + }, + "cloudEnvironment": { + "type": "string", + "enum": [ + "UNKNOWN", + "DEVELOPMENT", + "STAGING", + "TESTING", + "PRODUCTION" + ] + }, + "cloudProvider": { + "type": "string", + "enum": [ + "AWS", + "AZURE", + "GCP", + "SNOWFLAKE", + "FILE_SHARE", + "O365" + ] + } + } + }, + "AiContentFilterDataDashboardDTO": { + "type": "object", + "properties": { + "contentFilterType": { + "type": "string" + }, + "securityInputBlocked": { + "type": "boolean" + }, + "category": { + "type": "string", + "enum": [ + "SECURITY", + "CONTENT" + ] + }, + "inputLevel": { + "type": "string", + "enum": [ + "HIGH", + "MEDIUM", + "LOW", + "NONE" + ] + }, + "outputLevel": { + "type": "string", + "enum": [ + "HIGH", + "MEDIUM", + "LOW", + "NONE" + ] + } + } + }, + "AiContentFilterEvidenceResult": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/RiskEvidenceResult" + }, + { + "type": "object", + "properties": { + "aiContentFilters": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AiContentFilterDataDashboardDTO" + } + } + } + } + ] + }, + "AiDatasetPublicEvidenceResult": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/RiskEvidenceResult" + }, + { + "type": "object", + "properties": { + "datasetAsset": { + "$ref": "#/components/schemas/AssetEvidenceResultDTO" + } + } + } + ] + }, + "AssetEvidenceResultDTO": { + "type": "object", + "properties": { + "assetId": { + "type": "integer", + "format": "int64" + }, + "assetName": { + "type": "string" + }, + "projectId": { + "type": "string" + }, + "projectName": { + "type": "string" + }, + "assetRegion": { + "type": "string" + }, + "family": { + "type": "string", + "enum": [ + "ANALYTICS", + "DB", + "STORAGE", + "AI" + ] + }, + "deploymentType": { + "type": "string", + "enum": [ + "MANAGED", + "UNMANAGED", + "DBAAS", + "ONPREM", + "SAAS" + ] + }, + "serviceType": { + "type": "string", + "enum": [ + "ATHENA", + "AURORA", + "AWS_BACKUP", + "DOCUMENTDB", + "DYNAMODB", + "DAX", + "EMR", + "EBS", + "EFS", + "ELASTICACHE", + "FSX", + "KINESIS_DELIVERY_STREAM", + "MEMORYDB", + "NEPTUNE", + "QLDB", + "RDS", + "REDSHIFT", + "S3", + "TIMESTREAM", + "OPENSEARCH", + "OPENSEARCH_SERVERLESS", + "COSMOS_DB", + "SYNAPSE", + "CACHE_FOR_REDIS", + "MARIA_DB", + "MYSQL_SERVER", + "POSTGRESQL_SERVER", + "SQL_SERVER", + "STORAGE_ACCOUNT", + "SQL_MANAGED_INSTANCE", + "ANF", + "CLOUD_STORAGE", + "CLOUD_SQL", + "BIG_QUERY", + "FILE_STORE", + "CLOUD_SPANNER", + "MEMORY_STORE", + "BIG_TABLE", + "FIRE_STORE", + "UNMANAGED_AWS_MYSQL", + "UNMANAGED_AWS_ORACLE_SERVER", + "UNMANAGED_AWS_MONGO_DB", + "UNMANAGED_AWS_POSTGRESQL", + "UNMANAGED_AWS_REDIS", + "UNMANAGED_AWS_SQLITE", + "UNMANAGED_AWS_MS_SQL", + "UNMANAGED_AWS_MARIA_DB", + "UNMANAGED_AWS_NEO4_J", + "UNMANAGED_AWS_ELASTIC", + "UNMANAGED_AWS_COCKROACH_DB", + "UNMANAGED_AWS_AEROSPIKE", + "UNMANAGED_AWS_SCYLLA_DB", + "UNMANAGED_AZURE_MYSQL", + "UNMANAGED_AZURE_ORACLE_SERVER", + "UNMANAGED_AZURE_MONGO_DB", + "UNMANAGED_AZURE_POSTGRESQL", + "UNMANAGED_AZURE_REDIS", + "UNMANAGED_AZURE_SQLITE", + "UNMANAGED_AZURE_MS_SQL", + "UNMANAGED_AZURE_MARIA_DB", + "UNMANAGED_AZURE_NEO4_J", + "UNMANAGED_AZURE_ELASTIC", + "UNMANAGED_AZURE_COCKROACH_DB", + "UNMANAGED_AZURE_AEROSPIKE", + "UNMANAGED_AZURE_SCYLLA_DB", + "UNMANAGED_GCP_MYSQL", + "UNMANAGED_GCP_ORACLE_SERVER", + "UNMANAGED_GCP_MONGO_DB", + "UNMANAGED_GCP_POSTGRESQL", + "UNMANAGED_GCP_REDIS", + "UNMANAGED_GCP_SQLITE", + "UNMANAGED_GCP_MS_SQL", + "UNMANAGED_GCP_MARIA_DB", + "UNMANAGED_GCP_NEO4_J", + "UNMANAGED_GCP_ELASTIC", + "UNMANAGED_GCP_COCKROACH_DB", + "UNMANAGED_GCP_AEROSPIKE", + "UNMANAGED_GCP_SCYLLA_DB", + "SNOWFLAKE_DB", + "FILE_SHARE", + "ONE_DRIVE", + "SHARE_POINT", + "AZURE_OPEN_AI_DEPLOYMENT", + "VERTEX_ENDPOINT", + "BEDROCK_PROVISIONED_THROUGHPUT", + "BEDROCK_AGENT", + "UNMANAGED_AI_AWS_FALCON", + "UNMANAGED_AI_AWS_LLAMA", + "UNMANAGED_AI_AWS_TRANSFORMERSLLAMA", + "UNMANAGED_AI_AWS_GEMMA", + "UNMANAGED_AI_AWS_GPT2", + "UNMANAGED_AI_AWS_MISTRAL", + "UNMANAGED_AI_AWS_PHI", + "UNMANAGED_AI_AWS_QWEN2", + "UNMANAGED_AI_AWS_ROBERTA", + "UNMANAGED_AI_AWS_JAMBA" + ] + }, + "snapshotServiceType": { + "type": "string", + "enum": [ + "SNAPSHOT_RDS_INSTANCE", + "SNAPSHOT_FILE_STORE", + "SNAPSHOT_CLOUD_SPANNER", + "SNAPSHOT_BIG_TABLE" + ] + }, + "cloudEnvironment": { + "type": "string", + "enum": [ + "UNKNOWN", + "DEVELOPMENT", + "STAGING", + "TESTING", + "PRODUCTION" + ] + }, + "cloud": { + "type": "string", + "enum": [ + "AWS", + "AZURE", + "GCP", + "SNOWFLAKE", + "FILE_SHARE", + "O365" + ] + }, + "assetTags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "assetDspmTags": { + "type": "object", + "additionalProperties": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + } + }, + "assetLabels": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + }, + "assetDataTypes": { + "type": "object", + "additionalProperties": { + "type": "integer", + "format": "int64" + } + } + } + }, + "ChatHistoryEvidenceResult": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/RiskEvidenceResult" + }, + { + "type": "object", + "properties": { + "assets": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AssetEvidenceResultDTO" + } + }, + "chatHistoryDetails": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AiChatHistoryDetailsEvidenceDTO" + } + }, + "serviceType": { + "type": "string", + "enum": [ + "ATHENA", + "AURORA", + "AWS_BACKUP", + "DOCUMENTDB", + "DYNAMODB", + "DAX", + "EMR", + "EBS", + "EFS", + "ELASTICACHE", + "FSX", + "KINESIS_DELIVERY_STREAM", + "MEMORYDB", + "NEPTUNE", + "QLDB", + "RDS", + "REDSHIFT", + "S3", + "TIMESTREAM", + "OPENSEARCH", + "OPENSEARCH_SERVERLESS", + "COSMOS_DB", + "SYNAPSE", + "CACHE_FOR_REDIS", + "MARIA_DB", + "MYSQL_SERVER", + "POSTGRESQL_SERVER", + "SQL_SERVER", + "STORAGE_ACCOUNT", + "SQL_MANAGED_INSTANCE", + "ANF", + "CLOUD_STORAGE", + "CLOUD_SQL", + "BIG_QUERY", + "FILE_STORE", + "CLOUD_SPANNER", + "MEMORY_STORE", + "BIG_TABLE", + "FIRE_STORE", + "UNMANAGED_AWS_MYSQL", + "UNMANAGED_AWS_ORACLE_SERVER", + "UNMANAGED_AWS_MONGO_DB", + "UNMANAGED_AWS_POSTGRESQL", + "UNMANAGED_AWS_REDIS", + "UNMANAGED_AWS_SQLITE", + "UNMANAGED_AWS_MS_SQL", + "UNMANAGED_AWS_MARIA_DB", + "UNMANAGED_AWS_NEO4_J", + "UNMANAGED_AWS_ELASTIC", + "UNMANAGED_AWS_COCKROACH_DB", + "UNMANAGED_AWS_AEROSPIKE", + "UNMANAGED_AWS_SCYLLA_DB", + "UNMANAGED_AZURE_MYSQL", + "UNMANAGED_AZURE_ORACLE_SERVER", + "UNMANAGED_AZURE_MONGO_DB", + "UNMANAGED_AZURE_POSTGRESQL", + "UNMANAGED_AZURE_REDIS", + "UNMANAGED_AZURE_SQLITE", + "UNMANAGED_AZURE_MS_SQL", + "UNMANAGED_AZURE_MARIA_DB", + "UNMANAGED_AZURE_NEO4_J", + "UNMANAGED_AZURE_ELASTIC", + "UNMANAGED_AZURE_COCKROACH_DB", + "UNMANAGED_AZURE_AEROSPIKE", + "UNMANAGED_AZURE_SCYLLA_DB", + "UNMANAGED_GCP_MYSQL", + "UNMANAGED_GCP_ORACLE_SERVER", + "UNMANAGED_GCP_MONGO_DB", + "UNMANAGED_GCP_POSTGRESQL", + "UNMANAGED_GCP_REDIS", + "UNMANAGED_GCP_SQLITE", + "UNMANAGED_GCP_MS_SQL", + "UNMANAGED_GCP_MARIA_DB", + "UNMANAGED_GCP_NEO4_J", + "UNMANAGED_GCP_ELASTIC", + "UNMANAGED_GCP_COCKROACH_DB", + "UNMANAGED_GCP_AEROSPIKE", + "UNMANAGED_GCP_SCYLLA_DB", + "SNOWFLAKE_DB", + "FILE_SHARE", + "ONE_DRIVE", + "SHARE_POINT", + "AZURE_OPEN_AI_DEPLOYMENT", + "VERTEX_ENDPOINT", + "BEDROCK_PROVISIONED_THROUGHPUT", + "BEDROCK_AGENT", + "UNMANAGED_AI_AWS_FALCON", + "UNMANAGED_AI_AWS_LLAMA", + "UNMANAGED_AI_AWS_TRANSFORMERSLLAMA", + "UNMANAGED_AI_AWS_GEMMA", + "UNMANAGED_AI_AWS_GPT2", + "UNMANAGED_AI_AWS_MISTRAL", + "UNMANAGED_AI_AWS_PHI", + "UNMANAGED_AI_AWS_QWEN2", + "UNMANAGED_AI_AWS_ROBERTA", + "UNMANAGED_AI_AWS_JAMBA" + ] + } + } + } + ] + }, + "CloudAccountInformationDTO": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "projectId": { + "type": "string" + }, + "cloudProvider": { + "type": "string", + "enum": [ + "AWS", + "AZURE", + "GCP", + "SNOWFLAKE", + "FILE_SHARE", + "O365" + ] + }, + "cloudEnvironment": { + "type": "string", + "enum": [ + "UNKNOWN", + "DEVELOPMENT", + "STAGING", + "TESTING", + "PRODUCTION" + ] + }, + "verifiedVendor": { + "type": "boolean" + }, + "foreign": { + "type": "boolean" + } + } + }, + "ConfigEvidenceResult": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/RiskEvidenceResult" + }, + { + "type": "object", + "properties": { + "configurationOptions": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + } + ] + }, + "DataFlowEvidenceResult": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/RiskEvidenceResult" + }, + { + "type": "object", + "properties": { + "flowInfo": { + "$ref": "#/components/schemas/FlowEvidenceDTO" + }, + "destinationAsset": { + "$ref": "#/components/schemas/DestinationEvidenceDTO" + } + } + } + ] + }, + "DataTypeEvidenceResult": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/RiskEvidenceResult" + }, + { + "type": "object", + "properties": { + "files": { + "type": "array", + "items": { + "$ref": "#/components/schemas/FileEvidenceDTO" + } + }, + "filesCount": { + "type": "integer", + "format": "int32" + } + } + } + ] + }, + "DestinationEvidenceDTO": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "projectId": { + "type": "string" + }, + "projectName": { + "type": "string" + }, + "cloudEnvironment": { + "type": "string", + "enum": [ + "UNKNOWN", + "DEVELOPMENT", + "STAGING", + "TESTING", + "PRODUCTION" + ] + }, + "cloudProvider": { + "type": "string", + "enum": [ + "AWS", + "AZURE", + "GCP", + "SNOWFLAKE", + "FILE_SHARE", + "O365" + ] + }, + "region": { + "type": "string" + }, + "serviceType": { + "type": "string", + "enum": [ + "ATHENA", + "AURORA", + "AWS_BACKUP", + "DOCUMENTDB", + "DYNAMODB", + "DAX", + "EMR", + "EBS", + "EFS", + "ELASTICACHE", + "FSX", + "KINESIS_DELIVERY_STREAM", + "MEMORYDB", + "NEPTUNE", + "QLDB", + "RDS", + "REDSHIFT", + "S3", + "TIMESTREAM", + "OPENSEARCH", + "OPENSEARCH_SERVERLESS", + "COSMOS_DB", + "SYNAPSE", + "CACHE_FOR_REDIS", + "MARIA_DB", + "MYSQL_SERVER", + "POSTGRESQL_SERVER", + "SQL_SERVER", + "STORAGE_ACCOUNT", + "SQL_MANAGED_INSTANCE", + "ANF", + "CLOUD_STORAGE", + "CLOUD_SQL", + "BIG_QUERY", + "FILE_STORE", + "CLOUD_SPANNER", + "MEMORY_STORE", + "BIG_TABLE", + "FIRE_STORE", + "UNMANAGED_AWS_MYSQL", + "UNMANAGED_AWS_ORACLE_SERVER", + "UNMANAGED_AWS_MONGO_DB", + "UNMANAGED_AWS_POSTGRESQL", + "UNMANAGED_AWS_REDIS", + "UNMANAGED_AWS_SQLITE", + "UNMANAGED_AWS_MS_SQL", + "UNMANAGED_AWS_MARIA_DB", + "UNMANAGED_AWS_NEO4_J", + "UNMANAGED_AWS_ELASTIC", + "UNMANAGED_AWS_COCKROACH_DB", + "UNMANAGED_AWS_AEROSPIKE", + "UNMANAGED_AWS_SCYLLA_DB", + "UNMANAGED_AZURE_MYSQL", + "UNMANAGED_AZURE_ORACLE_SERVER", + "UNMANAGED_AZURE_MONGO_DB", + "UNMANAGED_AZURE_POSTGRESQL", + "UNMANAGED_AZURE_REDIS", + "UNMANAGED_AZURE_SQLITE", + "UNMANAGED_AZURE_MS_SQL", + "UNMANAGED_AZURE_MARIA_DB", + "UNMANAGED_AZURE_NEO4_J", + "UNMANAGED_AZURE_ELASTIC", + "UNMANAGED_AZURE_COCKROACH_DB", + "UNMANAGED_AZURE_AEROSPIKE", + "UNMANAGED_AZURE_SCYLLA_DB", + "UNMANAGED_GCP_MYSQL", + "UNMANAGED_GCP_ORACLE_SERVER", + "UNMANAGED_GCP_MONGO_DB", + "UNMANAGED_GCP_POSTGRESQL", + "UNMANAGED_GCP_REDIS", + "UNMANAGED_GCP_SQLITE", + "UNMANAGED_GCP_MS_SQL", + "UNMANAGED_GCP_MARIA_DB", + "UNMANAGED_GCP_NEO4_J", + "UNMANAGED_GCP_ELASTIC", + "UNMANAGED_GCP_COCKROACH_DB", + "UNMANAGED_GCP_AEROSPIKE", + "UNMANAGED_GCP_SCYLLA_DB", + "SNOWFLAKE_DB", + "FILE_SHARE", + "ONE_DRIVE", + "SHARE_POINT", + "AZURE_OPEN_AI_DEPLOYMENT", + "VERTEX_ENDPOINT", + "BEDROCK_PROVISIONED_THROUGHPUT", + "BEDROCK_AGENT", + "UNMANAGED_AI_AWS_FALCON", + "UNMANAGED_AI_AWS_LLAMA", + "UNMANAGED_AI_AWS_TRANSFORMERSLLAMA", + "UNMANAGED_AI_AWS_GEMMA", + "UNMANAGED_AI_AWS_GPT2", + "UNMANAGED_AI_AWS_MISTRAL", + "UNMANAGED_AI_AWS_PHI", + "UNMANAGED_AI_AWS_QWEN2", + "UNMANAGED_AI_AWS_ROBERTA", + "UNMANAGED_AI_AWS_JAMBA" + ] + }, + "family": { + "type": "string", + "enum": [ + "ANALYTICS", + "DB", + "STORAGE", + "AI" + ] + }, + "deploymentType": { + "type": "string", + "enum": [ + "MANAGED", + "UNMANAGED", + "DBAAS", + "ONPREM", + "SAAS" + ] + }, + "assetId": { + "type": "integer", + "format": "int64" + }, + "assetTags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "assetDspmTags": { + "type": "object", + "additionalProperties": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "FileEvidenceDTO": { + "type": "object", + "properties": { + "size": { + "type": "string" + }, + "filename": { + "type": "string" + }, + "path": { + "type": "string" + }, + "dataTypes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/FileEvidenceDataTypesDTO" + } + }, + "deleted": { + "type": "boolean" + } + } + }, + "FileEvidenceDataTypesDTO": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "label": { + "type": "string" + }, + "count": { + "type": "integer", + "format": "int32" + } + } + }, + "FileEvidenceResult": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/RiskEvidenceResult" + }, + { + "type": "object", + "properties": { + "files": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PublicFileEvidenceDTO" + } + }, + "filesCount": { + "type": "integer", + "format": "int32" + } + } + } + ] + }, + "FlowEvidenceDTO": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "REPLICATION_RULE", + "S3_REPLICATION_RULE", + "BIG_QUERY_REPLICATION", + "CLOUD_STORAGE_REPLICATION", + "STORAGE_ACCOUNT_REPLICATION_RULE" + ] + } + } + }, + "FreshnessEvidenceResult": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/RiskEvidenceResult" + } + ] + }, + "InferenceDataSourceIngestInForeignAccountEvidenceResult": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/RiskEvidenceResult" + }, + { + "type": "object", + "properties": { + "destinationAsset": { + "$ref": "#/components/schemas/DestinationEvidenceDTO" + } + } + } + ] + }, + "LabelEvidenceResult": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/RiskEvidenceResult" + }, + { + "type": "object", + "properties": { + "files": { + "type": "array", + "items": { + "$ref": "#/components/schemas/FileEvidenceDTO" + } + }, + "filesCount": { + "type": "integer", + "format": "int32" + } + } + } + ] + }, + "MalwareEvidenceResult": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/RiskEvidenceResult" + }, + { + "type": "object", + "properties": { + "files": { + "type": "array", + "items": { + "$ref": "#/components/schemas/MalwareFileEvidenceDTO" + } + }, + "filesCount": { + "type": "integer", + "format": "int32" + } + } + } + ] + }, + "MalwareFileEvidenceDTO": { + "type": "object", + "properties": { + "size": { + "type": "string" + }, + "filename": { + "type": "string" + }, + "path": { + "type": "string" + }, + "dataTypes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/FileEvidenceDataTypesDTO" + } + }, + "malwareFamily": { + "type": "array", + "items": { + "type": "object" + } + }, + "malwareConfidence": { + "type": "string" + }, + "malicious": { + "type": "boolean" + }, + "deleted": { + "type": "boolean" + } + } + }, + "PublicFileEvidenceDTO": { + "type": "object", + "properties": { + "size": { + "type": "string" + }, + "filename": { + "type": "string" + }, + "path": { + "type": "string" + }, + "dataTypes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/FileEvidenceDataTypesDTO" + } + }, + "openToWorld": { + "type": "boolean" + }, + "deleted": { + "type": "boolean" + } + } + }, + "RiskDetectionAssetDTO": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "assetId": { + "type": "string" + }, + "cloudTags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "dspmTags": { + "type": "object", + "additionalProperties": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + } + }, + "dataTypes": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + }, + "assetLabels": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + }, + "service": { + "type": "string", + "enum": [ + "ATHENA", + "AURORA", + "AWS_BACKUP", + "DOCUMENTDB", + "DYNAMODB", + "DAX", + "EMR", + "EBS", + "EFS", + "ELASTICACHE", + "FSX", + "KINESIS_DELIVERY_STREAM", + "MEMORYDB", + "NEPTUNE", + "QLDB", + "RDS", + "REDSHIFT", + "S3", + "TIMESTREAM", + "OPENSEARCH", + "OPENSEARCH_SERVERLESS", + "COSMOS_DB", + "SYNAPSE", + "CACHE_FOR_REDIS", + "MARIA_DB", + "MYSQL_SERVER", + "POSTGRESQL_SERVER", + "SQL_SERVER", + "STORAGE_ACCOUNT", + "SQL_MANAGED_INSTANCE", + "ANF", + "CLOUD_STORAGE", + "CLOUD_SQL", + "BIG_QUERY", + "FILE_STORE", + "CLOUD_SPANNER", + "MEMORY_STORE", + "BIG_TABLE", + "FIRE_STORE", + "UNMANAGED_AWS_MYSQL", + "UNMANAGED_AWS_ORACLE_SERVER", + "UNMANAGED_AWS_MONGO_DB", + "UNMANAGED_AWS_POSTGRESQL", + "UNMANAGED_AWS_REDIS", + "UNMANAGED_AWS_SQLITE", + "UNMANAGED_AWS_MS_SQL", + "UNMANAGED_AWS_MARIA_DB", + "UNMANAGED_AWS_NEO4_J", + "UNMANAGED_AWS_ELASTIC", + "UNMANAGED_AWS_COCKROACH_DB", + "UNMANAGED_AWS_AEROSPIKE", + "UNMANAGED_AWS_SCYLLA_DB", + "UNMANAGED_AZURE_MYSQL", + "UNMANAGED_AZURE_ORACLE_SERVER", + "UNMANAGED_AZURE_MONGO_DB", + "UNMANAGED_AZURE_POSTGRESQL", + "UNMANAGED_AZURE_REDIS", + "UNMANAGED_AZURE_SQLITE", + "UNMANAGED_AZURE_MS_SQL", + "UNMANAGED_AZURE_MARIA_DB", + "UNMANAGED_AZURE_NEO4_J", + "UNMANAGED_AZURE_ELASTIC", + "UNMANAGED_AZURE_COCKROACH_DB", + "UNMANAGED_AZURE_AEROSPIKE", + "UNMANAGED_AZURE_SCYLLA_DB", + "UNMANAGED_GCP_MYSQL", + "UNMANAGED_GCP_ORACLE_SERVER", + "UNMANAGED_GCP_MONGO_DB", + "UNMANAGED_GCP_POSTGRESQL", + "UNMANAGED_GCP_REDIS", + "UNMANAGED_GCP_SQLITE", + "UNMANAGED_GCP_MS_SQL", + "UNMANAGED_GCP_MARIA_DB", + "UNMANAGED_GCP_NEO4_J", + "UNMANAGED_GCP_ELASTIC", + "UNMANAGED_GCP_COCKROACH_DB", + "UNMANAGED_GCP_AEROSPIKE", + "UNMANAGED_GCP_SCYLLA_DB", + "SNOWFLAKE_DB", + "FILE_SHARE", + "ONE_DRIVE", + "SHARE_POINT", + "AZURE_OPEN_AI_DEPLOYMENT", + "VERTEX_ENDPOINT", + "BEDROCK_PROVISIONED_THROUGHPUT", + "BEDROCK_AGENT", + "UNMANAGED_AI_AWS_FALCON", + "UNMANAGED_AI_AWS_LLAMA", + "UNMANAGED_AI_AWS_TRANSFORMERSLLAMA", + "UNMANAGED_AI_AWS_GEMMA", + "UNMANAGED_AI_AWS_GPT2", + "UNMANAGED_AI_AWS_MISTRAL", + "UNMANAGED_AI_AWS_PHI", + "UNMANAGED_AI_AWS_QWEN2", + "UNMANAGED_AI_AWS_ROBERTA", + "UNMANAGED_AI_AWS_JAMBA" + ] + } + } + }, + "RiskDetectionOfficialApiResponseDTO": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "ruleName": { + "type": "string" + }, + "severity": { + "type": "string", + "enum": [ + "LOW", + "MEDIUM", + "HIGH" + ] + }, + "asset": { + "$ref": "#/components/schemas/RiskDetectionAssetDTO" + }, + "status": { + "type": "string", + "enum": [ + "OPEN", + "CLOSED", + "UNIMPORTANT", + "WRONG", + "HANDLED", + "INVESTIGATING" + ] + }, + "projectId": { + "type": "string" + }, + "cloudProvider": { + "type": "string", + "enum": [ + "AWS", + "AZURE", + "GCP", + "SNOWFLAKE", + "FILE_SHARE", + "O365" + ] + }, + "cloudEnvironment": { + "type": "string", + "enum": [ + "UNKNOWN", + "DEVELOPMENT", + "STAGING", + "TESTING", + "PRODUCTION" + ] + }, + "firstDiscovered": { + "type": "string", + "format": "date-time" + }, + "complianceStandards": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "riskEvidence": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RiskEvidenceOfficialApiDTO" + } + } + } + }, + "RiskEvidenceOfficialApiDTO": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "error": { + "type": "string" + }, + "result": { + "oneOf": [ + { + "$ref": "#/components/schemas/AccessEvidenceResult" + }, + { + "$ref": "#/components/schemas/AiContentFilterEvidenceResult" + }, + { + "$ref": "#/components/schemas/AiDatasetPublicEvidenceResult" + }, + { + "$ref": "#/components/schemas/ChatHistoryEvidenceResult" + }, + { + "$ref": "#/components/schemas/ConfigEvidenceResult" + }, + { + "$ref": "#/components/schemas/DataFlowEvidenceResult" + }, + { + "$ref": "#/components/schemas/DataTypeEvidenceResult" + }, + { + "$ref": "#/components/schemas/FileEvidenceResult" + }, + { + "$ref": "#/components/schemas/FreshnessEvidenceResult" + }, + { + "$ref": "#/components/schemas/InferenceDataSourceIngestInForeignAccountEvidenceResult" + }, + { + "$ref": "#/components/schemas/LabelEvidenceResult" + }, + { + "$ref": "#/components/schemas/MalwareEvidenceResult" + }, + { + "$ref": "#/components/schemas/ShadowBackupEvidenceResult" + }, + { + "$ref": "#/components/schemas/SnapshotEvidenceResult" + } + ] + } + } + }, + "RiskEvidenceResult": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "FILE", + "SNAPSHOT", + "CONFIG", + "FRESHNESS", + "ACCESS", + "MALWARE", + "DATA_FLOW", + "SHADOW_BACKUP", + "DATA_TYPE", + "LABEL", + "AI_DATASET_PUBLIC", + "AI_CHAT_HISTORY", + "INFERENCE_DATA_SOURCE_INGEST_IN_FOREIGN_ACCOUNT", + "AI_CONTENT_FILTER" + ] + } + }, + "discriminator": { + "propertyName": "type" + } + }, + "ShadowBackupEvidenceResult": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/RiskEvidenceResult" + }, + { + "type": "object", + "properties": { + "files": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ShadowBackupFileEvidenceDTO" + } + }, + "filesCount": { + "type": "integer", + "format": "int32" + } + } + } + ] + }, + "ShadowBackupFileEvidenceDTO": { + "type": "object", + "properties": { + "size": { + "type": "string" + }, + "filename": { + "type": "string" + }, + "path": { + "type": "string" + }, + "dataTypes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/FileEvidenceDataTypesDTO" + } + }, + "shadowBackup": { + "type": "boolean" + }, + "deleted": { + "type": "boolean" + } + } + }, + "SnapshotEvidenceResult": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/RiskEvidenceResult" + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "region": { + "type": "string" + }, + "service": { + "type": "string" + }, + "originalAssetId": { + "type": "string" + }, + "sharingScope": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + }, + "sizeInGB": { + "type": "integer", + "format": "int32" + }, + "createdTime": { + "type": "string" + }, + "projectId": { + "type": "string" + }, + "externalLink": { + "type": "string" + } + } + } + ] + }, + "EntitiesDTO": { + "type": "object", + "properties": { + "dataTypeName": { + "type": "string" + }, + "label": { + "type": "string" + }, + "records": { + "type": "integer", + "format": "int64" + }, + "publicRecords": { + "type": "integer", + "format": "int64" + }, + "assets": { + "type": "integer", + "format": "int64" + }, + "clouds": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "AWS", + "AZURE", + "GCP", + "SNOWFLAKE", + "FILE_SHARE", + "O365" + ] + } + }, + "regions": { + "type": "array", + "items": { + "type": "string" + } + }, + "lastFound": { + "type": "string", + "format": "date-time" + }, + "recordsAtRisk": { + "$ref": "#/components/schemas/RecordsAtRisk" + } + } + }, + "RecordsAtRisk": { + "type": "object", + "properties": { + "high": { + "type": "integer", + "format": "int64" + }, + "medium": { + "type": "integer", + "format": "int64" + }, + "low": { + "type": "integer", + "format": "int64" + } + } + }, + "AssetDTO": { + "type": "object", + "properties": { + "firstDiscovered": { + "type": "string", + "format": "date-time" + }, + "projectId": { + "type": "string" + }, + "projectName": { + "type": "string" + }, + "name": { + "type": "string" + }, + "cloudProvider": { + "type": "string", + "enum": [ + "AWS", + "AZURE", + "GCP", + "SNOWFLAKE", + "FILE_SHARE", + "O365" + ] + }, + "cloudEnvironment": { + "type": "string", + "enum": [ + "UNKNOWN", + "DEVELOPMENT", + "STAGING", + "TESTING", + "PRODUCTION" + ] + }, + "serviceType": { + "type": "string", + "enum": [ + "ATHENA", + "AURORA", + "AWS_BACKUP", + "DOCUMENTDB", + "DYNAMODB", + "DAX", + "EMR", + "EBS", + "EFS", + "ELASTICACHE", + "FSX", + "KINESIS_DELIVERY_STREAM", + "MEMORYDB", + "NEPTUNE", + "QLDB", + "RDS", + "REDSHIFT", + "S3", + "TIMESTREAM", + "OPENSEARCH", + "OPENSEARCH_SERVERLESS", + "COSMOS_DB", + "SYNAPSE", + "CACHE_FOR_REDIS", + "MARIA_DB", + "MYSQL_SERVER", + "POSTGRESQL_SERVER", + "SQL_SERVER", + "STORAGE_ACCOUNT", + "SQL_MANAGED_INSTANCE", + "ANF", + "CLOUD_STORAGE", + "CLOUD_SQL", + "BIG_QUERY", + "FILE_STORE", + "CLOUD_SPANNER", + "MEMORY_STORE", + "BIG_TABLE", + "FIRE_STORE", + "UNMANAGED_AWS_MYSQL", + "UNMANAGED_AWS_ORACLE_SERVER", + "UNMANAGED_AWS_MONGO_DB", + "UNMANAGED_AWS_POSTGRESQL", + "UNMANAGED_AWS_REDIS", + "UNMANAGED_AWS_SQLITE", + "UNMANAGED_AWS_MS_SQL", + "UNMANAGED_AWS_MARIA_DB", + "UNMANAGED_AWS_NEO4_J", + "UNMANAGED_AWS_ELASTIC", + "UNMANAGED_AWS_COCKROACH_DB", + "UNMANAGED_AWS_AEROSPIKE", + "UNMANAGED_AWS_SCYLLA_DB", + "UNMANAGED_AZURE_MYSQL", + "UNMANAGED_AZURE_ORACLE_SERVER", + "UNMANAGED_AZURE_MONGO_DB", + "UNMANAGED_AZURE_POSTGRESQL", + "UNMANAGED_AZURE_REDIS", + "UNMANAGED_AZURE_SQLITE", + "UNMANAGED_AZURE_MS_SQL", + "UNMANAGED_AZURE_MARIA_DB", + "UNMANAGED_AZURE_NEO4_J", + "UNMANAGED_AZURE_ELASTIC", + "UNMANAGED_AZURE_COCKROACH_DB", + "UNMANAGED_AZURE_AEROSPIKE", + "UNMANAGED_AZURE_SCYLLA_DB", + "UNMANAGED_GCP_MYSQL", + "UNMANAGED_GCP_ORACLE_SERVER", + "UNMANAGED_GCP_MONGO_DB", + "UNMANAGED_GCP_POSTGRESQL", + "UNMANAGED_GCP_REDIS", + "UNMANAGED_GCP_SQLITE", + "UNMANAGED_GCP_MS_SQL", + "UNMANAGED_GCP_MARIA_DB", + "UNMANAGED_GCP_NEO4_J", + "UNMANAGED_GCP_ELASTIC", + "UNMANAGED_GCP_COCKROACH_DB", + "UNMANAGED_GCP_AEROSPIKE", + "UNMANAGED_GCP_SCYLLA_DB", + "SNOWFLAKE_DB", + "FILE_SHARE", + "ONE_DRIVE", + "SHARE_POINT", + "AZURE_OPEN_AI_DEPLOYMENT", + "VERTEX_ENDPOINT", + "BEDROCK_PROVISIONED_THROUGHPUT", + "BEDROCK_AGENT", + "UNMANAGED_AI_AWS_FALCON", + "UNMANAGED_AI_AWS_LLAMA", + "UNMANAGED_AI_AWS_TRANSFORMERSLLAMA", + "UNMANAGED_AI_AWS_GEMMA", + "UNMANAGED_AI_AWS_GPT2", + "UNMANAGED_AI_AWS_MISTRAL", + "UNMANAGED_AI_AWS_PHI", + "UNMANAGED_AI_AWS_QWEN2", + "UNMANAGED_AI_AWS_ROBERTA", + "UNMANAGED_AI_AWS_JAMBA" + ] + }, + "dataTypeGroups": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + }, + "dataTypes": { + "uniqueItems": true, + "type": "array", + "items": { + "$ref": "#/components/schemas/ClassificationEntityOfficialApiDto" + } + }, + "lifecycle": { + "type": "string", + "enum": [ + "RUNNING", + "STOPPED", + "DELETED" + ] + }, + "openRisksCount": { + "type": "integer", + "format": "int32" + }, + "openAlertsCount": { + "type": "integer", + "format": "int32" + }, + "encrypted": { + "type": "boolean" + }, + "openToWorld": { + "type": "boolean" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "assetDigTags": { + "uniqueItems": true, + "type": "array", + "items": { + "$ref": "#/components/schemas/AssetDigTagDTO" + } + }, + "id": { + "type": "string" + } + } + }, + "AssetDigTagDTO": { + "type": "object", + "properties": { + "digTagId": { + "type": "integer", + "format": "int64" + }, + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + } + }, + "ClassificationEntityOfficialApiDto": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "numberOfFindings": { + "type": "integer", + "format": "int64" + } + } + }, + "AlertDTO": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "detectionTime": { + "type": "string", + "format": "date-time" + }, + "policyName": { + "type": "string" + }, + "assetName": { + "type": "string" + }, + "assetLabels": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AssetLabelDashboardDTO" + } + }, + "cloudProvider": { + "type": "string", + "enum": [ + "AWS", + "AZURE", + "GCP", + "SNOWFLAKE", + "FILE_SHARE", + "O365" + ] + }, + "destinationProjects": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "projectName": { + "type": "string" + }, + "projectId": { + "type": "string" + }, + "cloudEnvironment": { + "type": "string", + "enum": [ + "UNKNOWN", + "DEVELOPMENT", + "STAGING", + "TESTING", + "PRODUCTION" + ] + }, + "policySeverity": { + "type": "string", + "enum": [ + "HIGH", + "MEDIUM", + "LOW" + ] + }, + "policyCategoryType": { + "type": "string", + "enum": [ + "FIRST_MOVE", + "ATTACK", + "COMPLIANCE", + "ASSET_AT_RISK", + "RECONNAISSANCE" + ] + }, + "status": { + "type": "string", + "enum": [ + "OPEN", + "UNIMPORTANT", + "WRONG", + "HANDLED", + "INVESTIGATING" + ] + }, + "eventActor": { + "type": "string" + }, + "eventUserAgent": { + "type": "string" + }, + "eventActionMedium": { + "type": "string", + "enum": [ + "CONSOLE", + "SDK", + "CLI", + "SYSTEM" + ] + }, + "eventSource": { + "type": "string" + }, + "policyFrameWorks": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + }, + "eventRawData": { + "type": "string" + }, + "assetId": { + "type": "string" + } + } + }, + "AssetLabelDashboardDTO": { + "type": "object", + "properties": { + "label": { + "$ref": "#/components/schemas/LabelDashboardDTO" + }, + "connectedBy": { + "type": "string", + "enum": [ + "SYSTEM", + "USER" + ] + } + } + }, + "LabelDashboardDTO": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "color": { + "type": "string" + }, + "prettyName": { + "type": "string" + } + } + } + } + }, + "tags": [ + { + "name": "Alerts" + }, + { + "name": "Assets" + }, + { + "name": "Classifications" + }, + { + "name": "Data Type Findings" + }, + { + "name": "Labels" + }, + { + "name": "Risks" + } + ] } \ No newline at end of file From 59d75e9cf0bc2c0afb81a7a07a3cdbf4e6f503f9 Mon Sep 17 00:00:00 2001 From: manukumar6 <108253187+manukumar6@users.noreply.github.com> Date: Wed, 29 Jan 2025 19:30:19 +0530 Subject: [PATCH 3/3] Update dspm.json Signed-off-by: manukumar6 <108253187+manukumar6@users.noreply.github.com> --- openapi-specs/dspm/dspm.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/openapi-specs/dspm/dspm.json b/openapi-specs/dspm/dspm.json index d05e31308..9787a0347 100644 --- a/openapi-specs/dspm/dspm.json +++ b/openapi-specs/dspm/dspm.json @@ -590,7 +590,7 @@ "description": "Returns a list of risk findings", "headers": { "X-Total-Count": { - "description": "The total number of items in the page", + "description": "The total count of items matching the filters.", "style": "simple", "schema": { "type": "integer" @@ -1065,7 +1065,7 @@ "description": "Returns company findings", "headers": { "X-Total-Count": { - "description": "The total number of items in the page", + "description": "The total count of items matching the filters.", "style": "simple", "schema": { "type": "integer" @@ -1557,7 +1557,7 @@ "description": "Returns a list of assets", "headers": { "X-Total-Count": { - "description": "The total number of items in the page", + "description": "The total count of items matching the filters.", "style": "simple", "schema": { "type": "integer" @@ -1941,7 +1941,7 @@ "description": "Returns a list of alerts", "headers": { "X-Total-Count": { - "description": "The total number of items in the page", + "description": "The total count of items matching the filters.", "style": "simple", "schema": { "type": "integer" @@ -4492,4 +4492,4 @@ "name": "Risks" } ] -} \ No newline at end of file +}