> ## Documentation Index > Fetch the complete documentation index at: https://support.fortanix.com/llms.txt > Use this file to discover all available pages before exploring further. # Get a scan inventory object > Get a scan inventory object ## OpenAPI ````json GET /api/v1/discovery/scans/{scan_id}/scan_inventory_objects/{scan_inventory_object_id} { "openapi": "3.0.0", "info": { "description": "**API of the Fortanix Unified Data and AI Security Platform**\n\nThe API client *must* follow HTTP redirects, including 308 redirects. Many HTTP libraries (such as Python Requests, JavaScript fetch) do this by default. With cURL, you must pass `--location`.\n", "title": "Armor API", "version": "0.1.0" }, "servers": [ { "url": "https://api.armor.fortanix.com" } ], "tags": [ { "description": "APIs regarding creating or ending a session.", "name": "Authentication" }, { "description": "APIs regarding obtaining details about the connection.", "name": "DiscoveryConnection" }, { "description": "APIs regarding obtaining details about the policies.", "name": "DiscoveryPolicies" }, { "description": "APIs regarding obtaining details about the scans.", "name": "DiscoveryScan" }, { "description": "APIs regarding obtaining the reports related to AWS.", "name": "DiscoveryAwsReports" }, { "description": "APIs regarding obtaining the reports related to Azure.", "name": "DiscoveryAzureReports" }, { "description": "APIs regarding obtaining the reports for Services.", "name": "DiscoveryServicesReports" }, { "description": "APIs regarding obtaining the PQC reports.", "name": "DiscoveryPqcReports" }, { "description": "APIs regarding obtaining the reports related to DSM.", "name": "DiscoveryDsmReports" }, { "description": "APIs regarding obtaining the details about the inventory objects.", "name": "DiscoveryInventory" }, { "description": "APIs regarding obtaining the reports related to On-Prem infrastructure.", "name": "DiscoveryOnPremReports" }, { "description": "APIs regarding obtaining the details about the inventory objects associated to a scan.", "name": "DiscoveryScanInventory" } ], "paths": { "/api/v1/discovery/scans/{scan_id}/scan_inventory_objects/{scan_inventory_object_id}": { "get": { "description": "Get a scan inventory object", "operationId": "GetScanInventoryObject", "parameters": [ { "in": "path", "name": "scan_id", "required": true, "schema": { "format": "uuid", "type": "string" } }, { "in": "path", "name": "scan_inventory_object_id", "required": true, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "2XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DiscoveryScanInventoryObject" } } }, "description": "Success result" } }, "security": [ { "Oauth2ClientCredentials": [] } ], "summary": "Get a scan inventory object", "tags": [ "DiscoveryScanInventory" ] } } }, "components": { "schemas": { "DiscoveryScanInventoryObject": { "allOf": [ { "description": "ScanInventoryObject -- represents an external computational resource info fetched during a scan", "properties": { "acct_id": { "format": "uuid", "type": "string" }, "details": { "$ref": "#/components/schemas/DiscoveryScanInventoryObjectDetails" }, "group_id": { "format": "uuid", "type": "string" }, "id": { "format": "uuid", "type": "string" }, "inventory_object": { "$ref": "#/components/schemas/DiscoveryInventoryObject" }, "scan_id": { "format": "uuid", "type": "string" }, "scanned_at": { "example": "20170509T070912Z", "pattern": "^\\d{4}\\d{2}\\d{2}T\\d{2}\\d{2}\\d{2}Z$", "type": "string" } }, "required": [ "acct_id", "details", "group_id", "id", "scan_id", "scanned_at" ], "type": "object" } ] }, "DiscoveryScanInventoryObjectDetails": { "discriminator": { "mapping": { "aws": "DiscoveryScanInventoryObjectDetailsVariantAws", "azure": "DiscoveryScanInventoryObjectDetailsVariantAzure", "dsm": "DiscoveryScanInventoryObjectDetailsVariantDsm", "on_prem": "DiscoveryScanInventoryObjectDetailsVariantOnPrem" }, "propertyName": "$type" }, "oneOf": [ { "$ref": "#/components/schemas/DiscoveryScanInventoryObjectDetailsVariantAws" }, { "$ref": "#/components/schemas/DiscoveryScanInventoryObjectDetailsVariantAzure" }, { "$ref": "#/components/schemas/DiscoveryScanInventoryObjectDetailsVariantOnPrem" }, { "$ref": "#/components/schemas/DiscoveryScanInventoryObjectDetailsVariantDsm" } ] }, "DiscoveryInventoryObject": { "allOf": [ { "description": "InventoryObject -- represents the user provided information to be added to an external computational resource [ScanInventoryObject]", "properties": { "acct_id": { "description": "KI account extension id", "format": "uuid", "type": "string" }, "connection_id": { "description": "KI account's connection id", "format": "uuid", "type": "string" }, "external_id": { "$ref": "#/components/schemas/DiscoveryInventoryObjectExternalId" }, "group_id": { "description": "KI group extension id", "format": "uuid", "type": "string" }, "id": { "description": "generated by KI. remains static throughout lifetime of account", "format": "uuid", "type": "string" }, "last_scan_inventory_object": { "$ref": "#/components/schemas/DiscoveryScanInventoryObjectReference" }, "object_info": { "$ref": "#/components/schemas/DiscoveryInventoryObjectInfo" } }, "required": [ "acct_id", "connection_id", "external_id", "group_id", "id", "last_scan_inventory_object", "object_info" ], "type": "object" } ] }, "DiscoveryScanInventoryObjectDetailsVariantAws": { "allOf": [ { "properties": { "$type": { "enum": [ "aws" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAwsObject" } ] }, "DiscoveryScanInventoryObjectDetailsVariantAzure": { "allOf": [ { "properties": { "$type": { "enum": [ "azure" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAzureObject" } ] }, "DiscoveryScanInventoryObjectDetailsVariantOnPrem": { "allOf": [ { "properties": { "$type": { "enum": [ "on_prem" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryOnPremObject" } ] }, "DiscoveryScanInventoryObjectDetailsVariantDsm": { "allOf": [ { "properties": { "$type": { "enum": [ "dsm" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryDsmObject" } ] }, "DiscoveryInventoryObjectExternalId": { "description": "an enum that maps to unique identifier provided by Cloud/Onprem", "discriminator": { "mapping": { "aws": "DiscoveryInventoryObjectExternalIdVariantAws", "azure": "DiscoveryInventoryObjectExternalIdVariantAzure", "dsm": "DiscoveryInventoryObjectExternalIdVariantDsm", "on_prem": "DiscoveryInventoryObjectExternalIdVariantOnPrem", "on_prem_fs": "DiscoveryInventoryObjectExternalIdVariantOnPremFs" }, "propertyName": "$type" }, "oneOf": [ { "$ref": "#/components/schemas/DiscoveryInventoryObjectExternalIdVariantAws" }, { "$ref": "#/components/schemas/DiscoveryInventoryObjectExternalIdVariantAzure" }, { "$ref": "#/components/schemas/DiscoveryInventoryObjectExternalIdVariantDsm" }, { "$ref": "#/components/schemas/DiscoveryInventoryObjectExternalIdVariantOnPrem" }, { "$ref": "#/components/schemas/DiscoveryInventoryObjectExternalIdVariantOnPremFs" } ] }, "DiscoveryScanInventoryObjectReference": { "allOf": [ { "properties": { "id": { "format": "uuid", "type": "string" }, "scan_id": { "format": "uuid", "type": "string" } }, "required": [ "id", "scan_id" ], "type": "object" } ] }, "DiscoveryInventoryObjectInfo": { "allOf": [ { "properties": { "ownership_details": { "$ref": "#/components/schemas/DiscoveryInventoryObjectOwnershipDetails" } }, "type": "object" } ] }, "DiscoveryAwsObject": { "allOf": [ { "properties": { "account": { "$ref": "#/components/schemas/DiscoveryAwsAccount" }, "arn": { "type": "string" }, "details": { "$ref": "#/components/schemas/DiscoveryAwsObjectDetails" }, "region": { "$ref": "#/components/schemas/DiscoveryAwsRegion" } }, "required": [ "arn", "region", "account", "details" ], "type": "object" } ] }, "DiscoveryAzureObject": { "allOf": [ { "properties": { "details": { "$ref": "#/components/schemas/DiscoveryAzureObjectDetails" }, "region": { "$ref": "#/components/schemas/DiscoveryAzureRegion" }, "resource_group": { "$ref": "#/components/schemas/DiscoveryAzureResourceGroup" }, "resource_id": { "type": "string" }, "subscription": { "$ref": "#/components/schemas/DiscoveryAzureSubscription" } }, "required": [ "resource_id", "region", "subscription", "resource_group", "details" ], "type": "object" } ] }, "DiscoveryOnPremObject": { "allOf": [ { "properties": { "details": { "$ref": "#/components/schemas/DiscoveryOnPremObjectDetails" }, "resource_host_details": { "$ref": "#/components/schemas/DiscoveryOnPremResourceHostDetails" }, "resource_id": { "type": "string" } }, "required": [ "resource_id", "resource_host_details", "details" ], "type": "object" } ] }, "DiscoveryDsmObject": { "allOf": [ { "properties": { "details": { "$ref": "#/components/schemas/DiscoveryDsmObjectDetails" }, "dsm_account_id": { "format": "uuid", "type": "string" } }, "required": [ "dsm_account_id", "details" ], "type": "object" } ] }, "DiscoveryInventoryObjectExternalIdVariantAws": { "allOf": [ { "properties": { "$type": { "enum": [ "aws" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryInventoryObjectExternalIdAws" } ] }, "DiscoveryInventoryObjectExternalIdVariantAzure": { "allOf": [ { "properties": { "$type": { "enum": [ "azure" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryInventoryObjectExternalIdAzure" } ] }, "DiscoveryInventoryObjectExternalIdVariantDsm": { "allOf": [ { "properties": { "$type": { "enum": [ "dsm" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryInventoryObjectExternalIdDsm" } ] }, "DiscoveryInventoryObjectExternalIdVariantOnPrem": { "allOf": [ { "properties": { "$type": { "enum": [ "on_prem" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryInventoryObjectExternalIdOnPrem" } ] }, "DiscoveryInventoryObjectExternalIdVariantOnPremFs": { "allOf": [ { "properties": { "$type": { "enum": [ "on_prem_fs" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryInventoryObjectExternalIdOnPremFs" } ] }, "DiscoveryInventoryObjectOwnershipDetails": { "allOf": [ { "properties": { "description": { "nullable": true, "type": "string" }, "primary_owner": { "$ref": "#/components/schemas/DiscoveryInventoryObjectOwner" }, "secondary_owner": { "$ref": "#/components/schemas/DiscoveryInventoryObjectOwner" } }, "required": [ "primary_owner" ], "type": "object" } ] }, "DiscoveryAwsAccount": { "allOf": [ { "properties": { "details": { "$ref": "#/components/schemas/DiscoveryAwsAccountDetails" }, "id": { "type": "string" } }, "required": [ "id" ], "type": "object" } ] }, "DiscoveryAwsObjectDetails": { "discriminator": { "mapping": { "acm": "DiscoveryAwsObjectDetailsVariantAcm", "dynamo_db": "DiscoveryAwsObjectDetailsVariantDynamoDb", "ebs": "DiscoveryAwsObjectDetailsVariantEbs", "efs": "DiscoveryAwsObjectDetailsVariantEfs", "eks": "DiscoveryAwsObjectDetailsVariantEks", "kms": "DiscoveryAwsObjectDetailsVariantKms", "rds": "DiscoveryAwsObjectDetailsVariantRds", "redshift": "DiscoveryAwsObjectDetailsVariantRedshift", "s3": "DiscoveryAwsObjectDetailsVariantS3" }, "propertyName": "$type" }, "oneOf": [ { "$ref": "#/components/schemas/DiscoveryAwsObjectDetailsVariantAcm" }, { "$ref": "#/components/schemas/DiscoveryAwsObjectDetailsVariantEbs" }, { "$ref": "#/components/schemas/DiscoveryAwsObjectDetailsVariantKms" }, { "$ref": "#/components/schemas/DiscoveryAwsObjectDetailsVariantS3" }, { "$ref": "#/components/schemas/DiscoveryAwsObjectDetailsVariantRds" }, { "$ref": "#/components/schemas/DiscoveryAwsObjectDetailsVariantDynamoDb" }, { "$ref": "#/components/schemas/DiscoveryAwsObjectDetailsVariantEks" }, { "$ref": "#/components/schemas/DiscoveryAwsObjectDetailsVariantEfs" }, { "$ref": "#/components/schemas/DiscoveryAwsObjectDetailsVariantRedshift" } ] }, "DiscoveryAwsRegion": { "description": "Reference: https://docs.aws.amazon.com/general/latest/gr/rande.html", "enum": [ "us-east-2", "us-east-1", "us-west-1", "us-west-2", "af-south-1", "ap-east-1", "ap-south-2", "ap-southeast-3", "ap-southeast-4", "ap-south-1", "ap-northeast-3", "ap-northeast-2", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ca-central-1", "ca-west-1", "eu-central-1", "eu-west-1", "eu-west-2", "eu-south-1", "eu-west-3", "eu-south-2", "eu-north-1", "eu-central-2", "il-central-1", "me-south-1", "me-central-1", "sa-east-1", "us-gov-east-1", "us-gov-west-1" ], "type": "string" }, "DiscoveryAzureObjectDetails": { "discriminator": { "mapping": { "container_group": "DiscoveryAzureObjectDetailsVariantContainerGroup", "database": "DiscoveryAzureObjectDetailsVariantDatabase", "kv_key_version": "DiscoveryAzureObjectDetailsVariantKvKeyVersion", "managed_cluster": "DiscoveryAzureObjectDetailsVariantManagedCluster", "managed_disk": "DiscoveryAzureObjectDetailsVariantManagedDisk", "storage_account": "DiscoveryAzureObjectDetailsVariantStorageAccount", "storage_account_blob": "DiscoveryAzureObjectDetailsVariantStorageAccountBlob" }, "propertyName": "$type" }, "oneOf": [ { "$ref": "#/components/schemas/DiscoveryAzureObjectDetailsVariantDatabase" }, { "$ref": "#/components/schemas/DiscoveryAzureObjectDetailsVariantKvKeyVersion" }, { "$ref": "#/components/schemas/DiscoveryAzureObjectDetailsVariantStorageAccount" }, { "$ref": "#/components/schemas/DiscoveryAzureObjectDetailsVariantContainerGroup" }, { "$ref": "#/components/schemas/DiscoveryAzureObjectDetailsVariantManagedDisk" }, { "$ref": "#/components/schemas/DiscoveryAzureObjectDetailsVariantManagedCluster" }, { "$ref": "#/components/schemas/DiscoveryAzureObjectDetailsVariantStorageAccountBlob" } ] }, "DiscoveryAzureRegion": { "enum": [ "asia", "asia_pacific", "australia", "australia_central", "australia_central2", "australia_east", "australia_south_east", "brazil", "brazil_south", "brazil_south_east", "brazil_us", "canada", "canada_central", "canada_east", "central_india", "central_us", "central_us_euap", "central_us_stage", "east_asia", "east_asia_stage", "east_us", "east_us_stage", "east_us_stg", "east_us2", "east_us2_stage", "east_us2_euap", "europe", "france", "france_central", "france_south", "germany", "germany_north", "germany_west_central", "global", "india", "israel", "israel_central", "italy", "italy_north", "japan", "japan_east", "japan_west", "jio_india_central", "jio_india_west", "korea", "korea_central", "korea_south", "new_zealand", "north_central_us", "north_central_us_stage", "north_europe", "norway", "norway_east", "norway_west", "poland", "poland_central", "qatar", "qatar_central", "singapore", "south_africa", "south_africa_north", "south_africa_west", "south_central_us", "south_central_us_stage", "south_east_asia", "south_east_asia_stage", "south_india", "sweden", "sweden_central", "switzerland", "switzerland_north", "switzerland_west", "uae", "uae_central", "uae_north", "uk", "uk_south", "uk_west", "united_states", "united_states_euap", "west_central_us", "west_europe", "west_india", "west_us", "west_us_stage", "west_us2", "west_us2_stage", "west_us3", "other" ], "type": "string" }, "DiscoveryAzureResourceGroup": { "allOf": [ { "properties": { "name": { "type": "string" } }, "required": [ "name" ], "type": "object" } ] }, "DiscoveryAzureSubscription": { "allOf": [ { "properties": { "id": { "format": "uuid", "type": "string" }, "name": { "type": "string" }, "tenant_id": { "format": "uuid", "type": "string" } }, "required": [ "id", "name", "tenant_id" ], "type": "object" } ] }, "DiscoveryOnPremObjectDetails": { "discriminator": { "mapping": { "filesystem": "DiscoveryOnPremObjectDetailsVariantFilesystem", "on_prem_key": "DiscoveryOnPremObjectDetailsVariantOnPremKey", "on_prem_ms_sql_database": "DiscoveryOnPremObjectDetailsVariantOnPremMsSqlDatabase", "on_prem_oracle_database": "DiscoveryOnPremObjectDetailsVariantOnPremOracleDatabase", "on_prem_source_code_component": "DiscoveryOnPremObjectDetailsVariantOnPremSourceCodeComponent", "on_prem_source_code_repo": "DiscoveryOnPremObjectDetailsVariantOnPremSourceCodeRepo" }, "propertyName": "$type" }, "oneOf": [ { "$ref": "#/components/schemas/DiscoveryOnPremObjectDetailsVariantOnPremKey" }, { "$ref": "#/components/schemas/DiscoveryOnPremObjectDetailsVariantOnPremMsSqlDatabase" }, { "$ref": "#/components/schemas/DiscoveryOnPremObjectDetailsVariantOnPremOracleDatabase" }, { "$ref": "#/components/schemas/DiscoveryOnPremObjectDetailsVariantOnPremSourceCodeRepo" }, { "$ref": "#/components/schemas/DiscoveryOnPremObjectDetailsVariantOnPremSourceCodeComponent" }, { "$ref": "#/components/schemas/DiscoveryOnPremObjectDetailsVariantFilesystem" } ] }, "DiscoveryOnPremResourceHostDetails": { "allOf": [ { "properties": { "uri": { "type": "string" } }, "required": [ "uri" ], "type": "object" } ] }, "DiscoveryDsmObjectDetails": { "discriminator": { "mapping": { "dsm_sobject": "DiscoveryDsmObjectDetailsVariantDsmSobject" }, "propertyName": "$type" }, "oneOf": [ { "$ref": "#/components/schemas/DiscoveryDsmObjectDetailsVariantDsmSobject" } ] }, "DiscoveryInventoryObjectExternalIdAws": { "allOf": [ { "properties": { "arn": { "description": "fully qualified resource id as defined by AWS", "type": "string" }, "service": { "$ref": "#/components/schemas/DiscoveryAwsService" } }, "required": [ "arn", "service" ], "type": "object" } ] }, "DiscoveryInventoryObjectExternalIdAzure": { "allOf": [ { "properties": { "resource_id": { "description": "fully qualified resource id as defined by Azure", "type": "string" }, "service": { "$ref": "#/components/schemas/DiscoveryAzureService" } }, "required": [ "resource_id", "service" ], "type": "object" } ] }, "DiscoveryInventoryObjectExternalIdDsm": { "allOf": [ { "properties": { "deployment": { "$ref": "#/components/schemas/DiscoveryDsmDeployment" }, "id": { "format": "uuid", "type": "string" }, "resource_type": { "$ref": "#/components/schemas/DiscoveryDsmResourceType" } }, "required": [ "id", "deployment", "resource_type" ], "type": "object" } ] }, "DiscoveryInventoryObjectExternalIdOnPrem": { "allOf": [ { "properties": { "resource_id": { "description": "unique id", "type": "string" }, "resource_type": { "$ref": "#/components/schemas/DiscoveryOnPremService" }, "service_uri": { "description": "Db/filesystem uri which yielded this resource", "type": "string" } }, "required": [ "resource_id", "service_uri", "resource_type" ], "type": "object" } ] }, "DiscoveryInventoryObjectExternalIdOnPremFs": { "allOf": [ { "properties": { "file_path": { "type": "string" }, "machine_id": { "type": "string" } }, "required": [ "machine_id", "file_path" ], "type": "object" } ] }, "DiscoveryInventoryObjectOwner": { "allOf": [ { "properties": { "email": { "type": "string" }, "name": { "type": "string" } }, "required": [ "name", "email" ], "type": "object" } ] }, "DiscoveryAwsAccountDetails": { "allOf": [ { "properties": { "name": { "nullable": true, "type": "string" } }, "type": "object" } ] }, "DiscoveryAwsObjectDetailsVariantAcm": { "allOf": [ { "properties": { "$type": { "enum": [ "acm" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAcmCertificate" } ] }, "DiscoveryAwsObjectDetailsVariantEbs": { "allOf": [ { "properties": { "$type": { "enum": [ "ebs" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAwsEbsVolume" } ] }, "DiscoveryAwsObjectDetailsVariantKms": { "allOf": [ { "properties": { "$type": { "enum": [ "kms" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAwsKmsKey" } ] }, "DiscoveryAwsObjectDetailsVariantS3": { "allOf": [ { "properties": { "$type": { "enum": [ "s3" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAwsS3Bucket" } ] }, "DiscoveryAwsObjectDetailsVariantRds": { "allOf": [ { "properties": { "$type": { "enum": [ "rds" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAwsRdsDbInstance" } ] }, "DiscoveryAwsObjectDetailsVariantDynamoDb": { "allOf": [ { "properties": { "$type": { "enum": [ "dynamo_db" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAwsDynamoDbInstance" } ] }, "DiscoveryAwsObjectDetailsVariantEks": { "allOf": [ { "properties": { "$type": { "enum": [ "eks" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAwsEksCluster" } ] }, "DiscoveryAwsObjectDetailsVariantEfs": { "allOf": [ { "properties": { "$type": { "enum": [ "efs" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAwsEfsFileSystem" } ] }, "DiscoveryAwsObjectDetailsVariantRedshift": { "allOf": [ { "properties": { "$type": { "enum": [ "redshift" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAwsRedshiftCluster" } ] }, "DiscoveryAzureObjectDetailsVariantDatabase": { "allOf": [ { "properties": { "$type": { "enum": [ "database" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAzureDatabaseDeployment" } ] }, "DiscoveryAzureObjectDetailsVariantKvKeyVersion": { "allOf": [ { "properties": { "$type": { "enum": [ "kv_key_version" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAzureKvKeyVersion" } ] }, "DiscoveryAzureObjectDetailsVariantStorageAccount": { "allOf": [ { "properties": { "$type": { "enum": [ "storage_account" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAzureStorageAccount" } ] }, "DiscoveryAzureObjectDetailsVariantContainerGroup": { "allOf": [ { "properties": { "$type": { "enum": [ "container_group" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAzureContainerGroup" } ] }, "DiscoveryAzureObjectDetailsVariantManagedDisk": { "allOf": [ { "properties": { "$type": { "enum": [ "managed_disk" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAzureManagedDisk" } ] }, "DiscoveryAzureObjectDetailsVariantManagedCluster": { "allOf": [ { "properties": { "$type": { "enum": [ "managed_cluster" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAzureManagedCluster" } ] }, "DiscoveryAzureObjectDetailsVariantStorageAccountBlob": { "allOf": [ { "properties": { "$type": { "enum": [ "storage_account_blob" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAzureStorageAccountBlob" } ] }, "DiscoveryOnPremObjectDetailsVariantOnPremKey": { "allOf": [ { "properties": { "$type": { "enum": [ "on_prem_key" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryOnPremKey" } ] }, "DiscoveryOnPremObjectDetailsVariantOnPremMsSqlDatabase": { "allOf": [ { "properties": { "$type": { "enum": [ "on_prem_ms_sql_database" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryOnPremMsSqlDatabase" } ] }, "DiscoveryOnPremObjectDetailsVariantOnPremOracleDatabase": { "allOf": [ { "properties": { "$type": { "enum": [ "on_prem_oracle_database" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryOnPremOracleDatabase" } ] }, "DiscoveryOnPremObjectDetailsVariantOnPremSourceCodeRepo": { "allOf": [ { "properties": { "$type": { "enum": [ "on_prem_source_code_repo" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryOnPremSourceCodeRepo" } ] }, "DiscoveryOnPremObjectDetailsVariantOnPremSourceCodeComponent": { "allOf": [ { "properties": { "$type": { "enum": [ "on_prem_source_code_component" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryOnPremSourceCodeComponent" } ] }, "DiscoveryOnPremObjectDetailsVariantFilesystem": { "allOf": [ { "properties": { "$type": { "enum": [ "filesystem" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryOnPremFsObject" } ] }, "DiscoveryDsmObjectDetailsVariantDsmSobject": { "allOf": [ { "properties": { "$type": { "enum": [ "dsm_sobject" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryDsmSobject" } ] }, "DiscoveryAwsService": { "enum": [ "acm", "ebs", "kms", "s3", "rds", "dynamo_db", "eks", "efs", "redshift" ], "type": "string" }, "DiscoveryAzureService": { "enum": [ "key_vaults", "storage_accounts", "sql_server", "cosmos_db", "container_groups", "managed_disks", "managed_clusters", "storage_account_blobs" ], "type": "string" }, "DiscoveryDsmDeployment": { "discriminator": { "mapping": { "other": "DiscoveryDsmDeploymentVariantOther", "saas": "DiscoveryDsmDeploymentVariantSaaS" }, "propertyName": "$type" }, "oneOf": [ { "$ref": "#/components/schemas/DiscoveryDsmDeploymentVariantSaaS" }, { "$ref": "#/components/schemas/DiscoveryDsmDeploymentVariantOther" } ] }, "DiscoveryDsmResourceType": { "description": "Useful for specifying [InventoryObjectExternalId]s", "enum": [ "dsm_sobject" ], "type": "string" }, "DiscoveryOnPremService": { "enum": [ "on_prem_key", "on_prem_ms_sql_database", "on_prem_oracle_database", "on_prem_source_code_repo", "on_prem_source_code_component", "filesystem" ], "type": "string" }, "DiscoveryAcmCertificate": { "allOf": [ { "properties": { "analysis": { "$ref": "#/components/schemas/DiscoveryAcmCertificateAnalysis" }, "certificate_arn": { "type": "string" }, "created_at": { "example": "20170509T070912Z", "pattern": "^\\d{4}\\d{2}\\d{2}T\\d{2}\\d{2}\\d{2}Z$", "type": "string" }, "domain_name": { "type": "string" }, "extended_key_usages": { "items": { "$ref": "#/components/schemas/DiscoveryAcmCertificateExtendedKeyUsage" }, "nullable": true, "type": "array" }, "issuer": { "type": "string" }, "key_algorithm": { "$ref": "#/components/schemas/DiscoveryAcmCertificateKeyAlgorithm" }, "not_valid_after": { "example": "20170509T070912Z", "pattern": "^\\d{4}\\d{2}\\d{2}T\\d{2}\\d{2}\\d{2}Z$", "type": "string" }, "not_valid_before": { "example": "20170509T070912Z", "pattern": "^\\d{4}\\d{2}\\d{2}T\\d{2}\\d{2}\\d{2}Z$", "type": "string" }, "renewal_eligibility": { "$ref": "#/components/schemas/DiscoveryAcmCertificateRenewalEligibility" }, "serial": { "type": "string" }, "signature_algorithm": { "$ref": "#/components/schemas/DiscoveryAcmCertificateSignatureAlgorithm" }, "status": { "$ref": "#/components/schemas/DiscoveryAcmCertificateStatus" }, "subject_alternative_names": { "items": { "type": "string" }, "nullable": true, "type": "array" }, "used_by_services": { "items": { "type": "string" }, "type": "array" } }, "required": [ "certificate_arn", "domain_name", "status", "renewal_eligibility", "issuer", "key_algorithm", "signature_algorithm", "serial", "used_by_services", "analysis" ], "type": "object" } ] }, "DiscoveryAwsEbsVolume": { "allOf": [ { "description": "Internal model to describe an AWS EBS volume.\n\nThis is a selection of the fields most relevant for the current dashboard and could be\nupdated to include more fields in the future.", "properties": { "analysis": { "$ref": "#/components/schemas/DiscoveryAwsEbsVolumeAnalysis" }, "availability_zone": { "description": "The region this volume will be available", "type": "string" }, "kms_key_id": { "description": "The arn of the key in KMS that encrypts this drive", "nullable": true, "type": "string" }, "volume_id": { "description": "The ARN of the volume", "nullable": true, "type": "string" }, "volume_size": { "description": "The storage limit (in GB) of the volume", "format": "int32", "nullable": true, "type": "integer" }, "volume_state": { "$ref": "#/components/schemas/DiscoveryAwsEbsVolumeState" }, "volume_type": { "$ref": "#/components/schemas/DiscoveryAwsEbsVolumeType" } }, "required": [ "availability_zone", "analysis" ], "type": "object" } ] }, "DiscoveryAwsKmsKey": { "allOf": [ { "properties": { "analysis": { "$ref": "#/components/schemas/DiscoveryAwsKmsKeyAnalysis" }, "external_key_stores": { "items": { "$ref": "#/components/schemas/DiscoveryAwsKmsExternalKeyStore" }, "nullable": true, "type": "array" }, "key_aliases": { "items": { "type": "string" }, "type": "array" }, "key_creation_date": { "example": "20170509T070912Z", "pattern": "^\\d{4}\\d{2}\\d{2}T\\d{2}\\d{2}\\d{2}Z$", "type": "string" }, "key_id": { "nullable": true, "type": "string" }, "key_manager": { "$ref": "#/components/schemas/DiscoveryAwsKmsKeyManager" }, "key_origin": { "$ref": "#/components/schemas/DiscoveryAwsKmsKeyOrigin" }, "key_rotation_status": { "$ref": "#/components/schemas/DiscoveryAwsKmsKeyRotationStatus" }, "key_spec": { "$ref": "#/components/schemas/DiscoveryAwsKmsKeySpec" }, "key_state": { "$ref": "#/components/schemas/DiscoveryAwsKmsKeyState" }, "key_tags": { "additionalProperties": { "type": "string" }, "nullable": true, "type": "object" }, "key_usage": { "$ref": "#/components/schemas/DiscoveryAwsKmsKeyUsage" }, "key_valid_to": { "example": "20170509T070912Z", "pattern": "^\\d{4}\\d{2}\\d{2}T\\d{2}\\d{2}\\d{2}Z$", "type": "string" }, "last_rotated_at": { "example": "20170509T070912Z", "pattern": "^\\d{4}\\d{2}\\d{2}T\\d{2}\\d{2}\\d{2}Z$", "type": "string" }, "source_scan_inventory_object": { "$ref": "#/components/schemas/DiscoveryScanInventoryObjectReference" } }, "required": [ "key_aliases", "analysis" ], "type": "object" } ] }, "DiscoveryAwsS3Bucket": { "allOf": [ { "properties": { "analysis": { "$ref": "#/components/schemas/DiscoveryAwsS3BucketAnalysis" }, "name": { "type": "string" }, "server_side_encryption_rules": { "items": { "$ref": "#/components/schemas/DiscoveryAwsServerSideEncryptionRule" }, "type": "array" } }, "required": [ "name", "server_side_encryption_rules", "analysis" ], "type": "object" } ] }, "DiscoveryAwsRdsDbInstance": { "allOf": [ { "properties": { "analysis": { "$ref": "#/components/schemas/DiscoveryAwsRdsDbInstanceAnalysis" }, "engine": { "nullable": true, "type": "string" }, "engine_version": { "nullable": true, "type": "string" }, "identifier": { "nullable": true, "type": "string" }, "kms_key_id": { "nullable": true, "type": "string" } }, "required": [ "analysis" ], "type": "object" } ] }, "DiscoveryAwsDynamoDbInstance": { "allOf": [ { "properties": { "analysis": { "$ref": "#/components/schemas/DiscoveryAwsDynamoDbInstanceAnalysis" }, "identifier": { "nullable": true, "type": "string" }, "kms_key_id": { "nullable": true, "type": "string" } }, "required": [ "analysis" ], "type": "object" } ] }, "DiscoveryAwsEksCluster": { "allOf": [ { "properties": { "analysis": { "$ref": "#/components/schemas/DiscoveryAwsEksClusterAnalysis" }, "encryption_status": { "$ref": "#/components/schemas/DiscoveryAwsEksEncryptionStatus" }, "kms_key_id": { "nullable": true, "type": "string" }, "name": { "type": "string" }, "status": { "$ref": "#/components/schemas/DiscoveryAwsEksClusterStatus" } }, "required": [ "name", "encryption_status", "status", "analysis" ], "type": "object" } ] }, "DiscoveryAwsEfsFileSystem": { "allOf": [ { "properties": { "analysis": { "$ref": "#/components/schemas/DiscoveryAwsEfsFileSystemAnalysis" }, "file_system_id": { "type": "string" }, "kms_key_id": { "nullable": true, "type": "string" }, "life_cycle_state": { "$ref": "#/components/schemas/DiscoveryAwsEfsLifeCycleState" }, "size": { "format": "int64", "nullable": true, "type": "integer" } }, "required": [ "file_system_id", "life_cycle_state", "analysis" ], "type": "object" } ] }, "DiscoveryAwsRedshiftCluster": { "allOf": [ { "properties": { "analysis": { "$ref": "#/components/schemas/DiscoveryAwsRedshiftClusterAnalysis" }, "encryption_status": { "$ref": "#/components/schemas/DiscoveryAwsRedshiftEncryptionStatus" }, "kms_key_id": { "nullable": true, "type": "string" }, "name": { "type": "string" }, "status": { "$ref": "#/components/schemas/DiscoveryAwsRedshiftClusterStatus" } }, "required": [ "name", "encryption_status", "status", "analysis" ], "type": "object" } ] }, "DiscoveryAzureDatabaseDeployment": { "discriminator": { "mapping": { "cosmos_db": "DiscoveryAzureDatabaseDeploymentVariantCosmosDb", "sql_managed_instance": "DiscoveryAzureDatabaseDeploymentVariantSqlManagedInstance", "sql_managed_instance_pool": "DiscoveryAzureDatabaseDeploymentVariantSqlManagedInstancePool", "sql_single_server": "DiscoveryAzureDatabaseDeploymentVariantSqlSingleServer" }, "propertyName": "$db_variant" }, "oneOf": [ { "$ref": "#/components/schemas/DiscoveryAzureDatabaseDeploymentVariantSqlSingleServer" }, { "$ref": "#/components/schemas/DiscoveryAzureDatabaseDeploymentVariantSqlManagedInstance" }, { "$ref": "#/components/schemas/DiscoveryAzureDatabaseDeploymentVariantSqlManagedInstancePool" }, { "$ref": "#/components/schemas/DiscoveryAzureDatabaseDeploymentVariantCosmosDb" } ] }, "DiscoveryAzureKvKeyVersion": { "allOf": [ { "properties": { "analysis": { "$ref": "#/components/schemas/DiscoveryAzureKvKeyAnalysis" }, "is_current_version": { "description": "True if this is the latest key version, False otherwise.", "type": "boolean" }, "is_key_managed": { "description": "True if the key version's lifetime is managed by key vault,\nFalse otherwise.", "type": "boolean" }, "key_attributes": { "$ref": "#/components/schemas/DiscoveryAzureKvKeyAttributes" }, "key_name": { "description": "The name associated with the key version.", "type": "string" }, "key_ops": { "description": "Allowed key operations on the key version.", "items": { "$ref": "#/components/schemas/DiscoveryAzureKvKeyOperation" }, "type": "array" }, "key_rotation_date": { "description": "Returns the date when the key will be rotated. None, when the auto\nkey rotation is not enabled for the key.", "example": "20170509T070912Z", "pattern": "^\\d{4}\\d{2}\\d{2}T\\d{2}\\d{2}\\d{2}Z$", "type": "string" }, "key_source": { "$ref": "#/components/schemas/DiscoveryAzureKeySource" }, "key_type": { "$ref": "#/components/schemas/DiscoveryAzureKvKeyType" }, "key_vault_access_tier": { "$ref": "#/components/schemas/DiscoveryAzureKvAccessTier" }, "key_vault_name": { "description": "Represents the Azure Key Vault Name.", "type": "string" }, "key_vault_uri": { "description": "Represents the Azure key vault URI.", "type": "string" }, "key_version": { "description": "The key version of the scanned key.", "type": "string" }, "source_scan_inventory_object": { "$ref": "#/components/schemas/DiscoveryScanInventoryObjectReference" }, "tags": { "additionalProperties": { "type": "string" }, "description": "The tags associated with the key version.", "type": "object" } }, "required": [ "key_name", "key_version", "is_current_version", "key_vault_uri", "key_vault_name", "key_vault_access_tier", "key_attributes", "key_type", "key_ops", "tags", "is_key_managed", "analysis" ], "type": "object" } ] }, "DiscoveryAzureStorageAccount": { "allOf": [ { "properties": { "analysis": { "$ref": "#/components/schemas/DiscoveryAzureStorageAnalysis" }, "blob_anonymous_access_enabled": { "type": "boolean" }, "encryption_settings": { "$ref": "#/components/schemas/DiscoveryAzureEncryptionSettings" }, "kind": { "$ref": "#/components/schemas/DiscoveryAzureStorageAccountKind" }, "name": { "type": "string" } }, "required": [ "name", "kind", "encryption_settings", "blob_anonymous_access_enabled", "analysis" ], "type": "object" } ] }, "DiscoveryAzureContainerGroup": { "allOf": [ { "properties": { "analysis": { "$ref": "#/components/schemas/DiscoveryAzureContainerGroupAnalysis" }, "encryption_source": { "$ref": "#/components/schemas/DiscoveryAzureContainerGroupEncryptionSource" }, "name": { "type": "string" } }, "required": [ "name", "encryption_source", "analysis" ], "type": "object" } ] }, "DiscoveryAzureManagedDisk": { "allOf": [ { "properties": { "analysis": { "$ref": "#/components/schemas/DiscoveryAzureDiskInstanceAnalysis" }, "disk_size_gb": { "format": "int32", "type": "integer" }, "disk_state": { "$ref": "#/components/schemas/DiscoveryAzureDiskState" }, "disk_type": { "$ref": "#/components/schemas/DiscoveryAzureDiskType" }, "encryption_settings": { "$ref": "#/components/schemas/DiscoveryAzureManagedDiskEncryptionSettings" }, "name": { "type": "string" } }, "required": [ "name", "disk_size_gb", "disk_state", "disk_type", "encryption_settings", "analysis" ], "type": "object" } ] }, "DiscoveryAzureManagedCluster": { "allOf": [ { "properties": { "analysis": { "$ref": "#/components/schemas/DiscoveryAzureManagedClusterAnalysis" }, "disk_encryption_details": { "$ref": "#/components/schemas/DiscoveryAzureManagedClusterDiskEncryptionDetails" }, "name": { "type": "string" } }, "required": [ "name", "disk_encryption_details", "analysis" ], "type": "object" } ] }, "DiscoveryAzureStorageAccountBlob": { "allOf": [ { "properties": { "analysis": { "$ref": "#/components/schemas/DiscoveryAzureStorageAccountBlobAnalysis" }, "container_name": { "type": "string" }, "encryption_settings": { "$ref": "#/components/schemas/DiscoveryAzureEncryptionSettings" }, "name": { "type": "string" }, "storage_account_name": { "type": "string" } }, "required": [ "name", "container_name", "storage_account_name", "encryption_settings", "analysis" ], "type": "object" } ] }, "DiscoveryOnPremKey": { "allOf": [ { "properties": { "analysis": { "$ref": "#/components/schemas/DiscoveryOnPremKeyAnalysis" }, "created_at": { "example": "20170509T070912Z", "pattern": "^\\d{4}\\d{2}\\d{2}T\\d{2}\\d{2}\\d{2}Z$", "type": "string" }, "encryption_algorithm": { "$ref": "#/components/schemas/DiscoveryOnPremEncryptionAlgorithm" }, "expires_at": { "example": "20170509T070912Z", "pattern": "^\\d{4}\\d{2}\\d{2}T\\d{2}\\d{2}\\d{2}Z$", "type": "string" }, "key_category": { "$ref": "#/components/schemas/DiscoveryOnPremKeyCategory" }, "key_rotation_status": { "$ref": "#/components/schemas/DiscoveryOnPremKeyRotationStatus" }, "key_source": { "$ref": "#/components/schemas/DiscoveryOnPremKeySource" }, "name": { "nullable": true, "type": "string" }, "next_rotation_at": { "example": "20170509T070912Z", "pattern": "^\\d{4}\\d{2}\\d{2}T\\d{2}\\d{2}\\d{2}Z$", "type": "string" }, "source_scan_inventory_object": { "$ref": "#/components/schemas/DiscoveryScanInventoryObjectReference" }, "status": { "$ref": "#/components/schemas/DiscoveryOnPremKeyStatus" }, "version": { "nullable": true, "type": "string" } }, "required": [ "status", "key_source", "key_category", "encryption_algorithm", "key_rotation_status", "analysis" ], "type": "object" } ] }, "DiscoveryOnPremMsSqlDatabase": { "allOf": [ { "properties": { "analysis": { "$ref": "#/components/schemas/DiscoveryOnPremMsSqlDatabaseAnalysis" }, "database_name": { "type": "string" }, "encrypted": { "$ref": "#/components/schemas/DiscoveryOnPremMsSqlDatabaseEncryptionStatus" }, "encryption_details": { "items": { "$ref": "#/components/schemas/DiscoveryOnPremMsSqlDatabaseEncryption" }, "type": "array" } }, "required": [ "database_name", "encryption_details", "encrypted", "analysis" ], "type": "object" } ] }, "DiscoveryOnPremOracleDatabase": { "allOf": [ { "properties": { "analysis": { "$ref": "#/components/schemas/DiscoveryOnPremOracleDatabaseAnalysis" }, "database_name": { "type": "string" }, "encryption_details": { "$ref": "#/components/schemas/DiscoveryOnPremOracleDatabaseEncryption" } }, "required": [ "database_name", "analysis" ], "type": "object" } ] }, "DiscoveryOnPremSourceCodeRepo": { "allOf": [ { "properties": { "analysis": { "$ref": "#/components/schemas/DiscoveryOnPremSourceCodeRepoAnalysis" }, "branch": { "type": "string" }, "name": { "type": "string" }, "repo_url": { "format": "url", "type": "string" }, "revision": { "type": "string" }, "subfolder": { "nullable": true, "type": "string" } }, "required": [ "repo_url", "name", "branch", "revision", "analysis" ], "type": "object" } ] }, "DiscoveryOnPremSourceCodeComponent": { "allOf": [ { "properties": { "analysis": { "$ref": "#/components/schemas/DiscoveryOnPremSourceCodeComponentAnalysis" }, "details": { "$ref": "#/components/schemas/DiscoveryOnPremSourceCodeComponentDetails" }, "repo_url": { "format": "url", "type": "string" }, "revision": { "type": "string" } }, "required": [ "repo_url", "revision", "details", "analysis" ], "type": "object" } ] }, "DiscoveryOnPremFsObject": { "allOf": [ { "properties": { "agent_info": { "$ref": "#/components/schemas/DiscoveryOnPremFsAgentInfo" }, "analysis": { "$ref": "#/components/schemas/DiscoveryOnPremFsAnalysis" }, "host_info": { "$ref": "#/components/schemas/DiscoveryHostInfo" }, "object": { "$ref": "#/components/schemas/DiscoveryFilesystemScannedObject" } }, "required": [ "host_info", "agent_info", "object", "analysis" ], "type": "object" } ] }, "DiscoveryDsmSobject": { "allOf": [ { "properties": { "activation_date": { "example": "20170509T070912Z", "pattern": "^\\d{4}\\d{2}\\d{2}T\\d{2}\\d{2}\\d{2}Z$", "type": "string" }, "analysis": { "$ref": "#/components/schemas/DiscoveryDsmSobjectAnalysis" }, "compromise_date": { "example": "20170509T070912Z", "pattern": "^\\d{4}\\d{2}\\d{2}T\\d{2}\\d{2}\\d{2}Z$", "type": "string" }, "creation_date": { "example": "20170509T070912Z", "pattern": "^\\d{4}\\d{2}\\d{2}T\\d{2}\\d{2}\\d{2}Z$", "type": "string" }, "custom_metadata": { "additionalProperties": { "type": "string" }, "nullable": true, "type": "object" }, "deactivation_date": { "example": "20170509T070912Z", "pattern": "^\\d{4}\\d{2}\\d{2}T\\d{2}\\d{2}\\d{2}Z$", "type": "string" }, "deletion_date": { "example": "20170509T070912Z", "pattern": "^\\d{4}\\d{2}\\d{2}T\\d{2}\\d{2}\\d{2}Z$", "type": "string" }, "description": { "nullable": true, "type": "string" }, "destruction_date": { "example": "20170509T070912Z", "pattern": "^\\d{4}\\d{2}\\d{2}T\\d{2}\\d{2}\\d{2}Z$", "type": "string" }, "dsm_group_id": { "format": "uuid", "type": "string" }, "dsm_group_name": { "nullable": true, "type": "string" }, "elliptic_curve": { "$ref": "#/components/schemas/DiscoveryDsmSobjectEllipticCurve" }, "hmg_configs": { "items": { "$ref": "#/components/schemas/DiscoveryDsmHmgConfig" }, "nullable": true, "type": "array" }, "is_enabled": { "type": "boolean" }, "kcv": { "nullable": true, "type": "string" }, "key_links": { "$ref": "#/components/schemas/DiscoveryDsmSobjectKeyLinks" }, "key_operations": { "items": { "$ref": "#/components/schemas/DiscoveryDsmSobjectKeyOperations" }, "nullable": true, "type": "array" }, "key_size": { "maximum": 4294967295, "minimum": 0, "nullable": true, "type": "integer" }, "name": { "type": "string" }, "object_type": { "$ref": "#/components/schemas/DiscoveryDsmSobjectType" }, "origin": { "$ref": "#/components/schemas/DiscoveryDsmSobjectOrigin" }, "rotation_policy": { "$ref": "#/components/schemas/DiscoveryDsmSobjectRotationPolicy" }, "sobject_id": { "format": "uuid", "type": "string" }, "state": { "$ref": "#/components/schemas/DiscoveryDsmSobjectState" } }, "required": [ "sobject_id", "name", "state", "creation_date", "object_type", "origin", "is_enabled", "dsm_group_id", "analysis" ], "type": "object" } ] }, "DiscoveryDsmDeploymentVariantSaaS": { "allOf": [ { "properties": { "$type": { "enum": [ "saas" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryDsmDeploymentSaaS" } ] }, "DiscoveryDsmDeploymentVariantOther": { "allOf": [ { "properties": { "$type": { "enum": [ "other" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryDsmDeploymentOther" } ] }, "DiscoveryAcmCertificateAnalysis": { "allOf": [ { "properties": { "is_expired": { "type": "boolean" }, "is_shared": { "type": "boolean" }, "key_algo_crypto_policy_compliance": { "$ref": "#/components/schemas/DiscoveryAwsCryptoPolicyCompliance" }, "overly_permissive_usage_violation": { "type": "boolean" }, "signature_crypto_policy_compliance": { "$ref": "#/components/schemas/DiscoveryAwsCryptoPolicyCompliance" } }, "required": [ "is_shared", "is_expired", "overly_permissive_usage_violation" ], "type": "object" } ] }, "DiscoveryAcmCertificateExtendedKeyUsage": { "allOf": [ { "properties": { "name": { "$ref": "#/components/schemas/DiscoveryAcmCertificateExtendedKeyUsageName" }, "object_identifier": { "nullable": true, "type": "string" } }, "required": [ "name" ], "type": "object" } ] }, "DiscoveryAcmCertificateKeyAlgorithm": { "enum": [ "rsa2048", "rsa3072", "rsa4096", "unknown" ], "type": "string" }, "DiscoveryAcmCertificateRenewalEligibility": { "enum": [ "ineligible", "eligible", "unknown" ], "type": "string" }, "DiscoveryAcmCertificateSignatureAlgorithm": { "enum": [ "sha256_with_rsa", "sha512_with_rsa", "unknown" ], "type": "string" }, "DiscoveryAcmCertificateStatus": { "enum": [ "expired", "pending", "issued", "failed", "inactive", "revoked", "validation_timed_out", "unknown" ], "type": "string" }, "DiscoveryAwsEbsVolumeAnalysis": { "allOf": [ { "properties": { "encrypted_with_expired_key": { "nullable": true, "type": "boolean" }, "encrypted_with_noncompliant_key": { "type": "boolean" }, "encrypted_with_overly_permissive_management_key": { "nullable": true, "type": "boolean" }, "encrypted_with_overly_permissive_usage_key": { "nullable": true, "type": "boolean" }, "encrypted_with_quantum_vulnerable_key": { "nullable": true, "type": "boolean" }, "encrypted_with_shared_key": { "nullable": true, "type": "boolean" }, "encryption_status": { "$ref": "#/components/schemas/DiscoveryAwsEncryptionStatus" }, "key_availability": { "$ref": "#/components/schemas/DiscoveryKeyAvailability" } }, "required": [ "encrypted_with_noncompliant_key" ], "type": "object" } ] }, "DiscoveryAwsEbsVolumeState": { "description": "Enumeration of the states that a volume may occupy.\n\nThis enum will default to the `Other` variant when a new variant is\nfound as the SDK from AWS marks their enum as \"non-exhaustive\"", "enum": [ "available", "creating", "deleted", "deleting", "error", "in_use", "other" ], "type": "string" }, "DiscoveryAwsEbsVolumeType": { "description": "Enumeration of the various types of volumes supported.\n\nThis enum will default to the `Other` variant when a new variant is\nfound as the SDK from AWS marks their enum as \"non-exhaustive\"", "enum": [ "gp2", "gp3", "io1", "io2", "sc1", "st1", "standard", "other" ], "type": "string" }, "DiscoveryAwsKmsKeyAnalysis": { "allOf": [ { "properties": { "crypto_policy_compliance": { "$ref": "#/components/schemas/DiscoveryAwsCryptoPolicyCompliance" }, "is_cross_account_key": { "nullable": true, "type": "boolean" }, "is_shared": { "type": "boolean" }, "overly_permissive_violations": { "$ref": "#/components/schemas/DiscoveryOverlyPermissiveViolations" }, "usage_details": { "$ref": "#/components/schemas/DiscoveryKeyUsageDetails" }, "usages": { "items": { "$ref": "#/components/schemas/DiscoveryKeyUsage" }, "nullable": true, "type": "array", "uniqueItems": true } }, "required": [ "is_shared" ], "type": "object" } ] }, "DiscoveryAwsKmsExternalKeyStore": { "allOf": [ { "properties": { "id": { "type": "string" }, "name": { "type": "string" } }, "required": [ "id", "name" ], "type": "object" } ] }, "DiscoveryAwsKmsKeyManager": { "enum": [ "aws", "customer", "other" ], "type": "string" }, "DiscoveryAwsKmsKeyOrigin": { "enum": [ "kms", "imported", "cloud_hsm", "xks", "fortanix", "other" ], "type": "string" }, "DiscoveryAwsKmsKeyRotationStatus": { "discriminator": { "mapping": { "disabled": "DiscoveryAwsKmsKeyRotationStatusVariantDisabled", "enabled": "DiscoveryAwsKmsKeyRotationStatusVariantEnabled", "unknown": "DiscoveryAwsKmsKeyRotationStatusVariantUnknown" }, "propertyName": "$type" }, "oneOf": [ { "$ref": "#/components/schemas/DiscoveryAwsKmsKeyRotationStatusVariantUnknown" }, { "$ref": "#/components/schemas/DiscoveryAwsKmsKeyRotationStatusVariantEnabled" }, { "$ref": "#/components/schemas/DiscoveryAwsKmsKeyRotationStatusVariantDisabled" } ] }, "DiscoveryAwsKmsKeySpec": { "enum": [ "rsa2048", "rsa3072", "rsa4096", "ecc_nist_p256", "ecc_nist_p384", "ecc_nist_p521", "ecc_secg_p256k1", "symmetric_default", "hmac224", "hmac256", "hmac384", "hmac512", "sm2", "other" ], "type": "string" }, "DiscoveryAwsKmsKeyState": { "enum": [ "creating", "enabled", "disabled", "pending_deletion", "pending_import", "pending_replica_deletion", "unavailable", "updating", "other" ], "type": "string" }, "DiscoveryAwsKmsKeyUsage": { "enum": [ "sign_verify", "encrypt_decrypt", "generate_verify_mac", "other" ], "type": "string" }, "DiscoveryAwsS3BucketAnalysis": { "allOf": [ { "properties": { "encrypted_with_expired_key": { "nullable": true, "type": "boolean" }, "encrypted_with_noncompliant_key": { "type": "boolean" }, "encrypted_with_overly_permissive_management_key": { "nullable": true, "type": "boolean" }, "encrypted_with_overly_permissive_usage_key": { "nullable": true, "type": "boolean" }, "encrypted_with_quantum_vulnerable_key": { "nullable": true, "type": "boolean" }, "encrypted_with_shared_key": { "nullable": true, "type": "boolean" }, "encryption_status": { "$ref": "#/components/schemas/DiscoveryAwsEncryptionStatus" }, "key_availability": { "$ref": "#/components/schemas/DiscoveryKeyAvailability" } }, "required": [ "encrypted_with_noncompliant_key" ], "type": "object" } ] }, "DiscoveryAwsServerSideEncryptionRule": { "allOf": [ { "properties": { "bucket_key_enabled": { "type": "boolean" }, "default_sse": { "$ref": "#/components/schemas/DiscoveryAwsDefaultServerSideEncryption" } }, "required": [ "bucket_key_enabled" ], "type": "object" } ] }, "DiscoveryAwsRdsDbInstanceAnalysis": { "allOf": [ { "properties": { "encrypted_with_expired_key": { "nullable": true, "type": "boolean" }, "encrypted_with_noncompliant_key": { "type": "boolean" }, "encrypted_with_overly_permissive_management_key": { "nullable": true, "type": "boolean" }, "encrypted_with_overly_permissive_usage_key": { "nullable": true, "type": "boolean" }, "encrypted_with_quantum_vulnerable_key": { "nullable": true, "type": "boolean" }, "encrypted_with_shared_key": { "nullable": true, "type": "boolean" }, "encryption_status": { "$ref": "#/components/schemas/DiscoveryAwsEncryptionStatus" }, "key_availability": { "$ref": "#/components/schemas/DiscoveryKeyAvailability" } }, "required": [ "encrypted_with_noncompliant_key" ], "type": "object" } ] }, "DiscoveryAwsDynamoDbInstanceAnalysis": { "allOf": [ { "properties": { "encrypted_with_expired_key": { "nullable": true, "type": "boolean" }, "encrypted_with_noncompliant_key": { "type": "boolean" }, "encrypted_with_overly_permissive_management_key": { "nullable": true, "type": "boolean" }, "encrypted_with_overly_permissive_usage_key": { "nullable": true, "type": "boolean" }, "encrypted_with_quantum_vulnerable_key": { "nullable": true, "type": "boolean" }, "encrypted_with_shared_key": { "nullable": true, "type": "boolean" }, "encryption_status": { "$ref": "#/components/schemas/DiscoveryAwsEncryptionStatus" }, "key_availability": { "$ref": "#/components/schemas/DiscoveryKeyAvailability" } }, "required": [ "encrypted_with_noncompliant_key" ], "type": "object" } ] }, "DiscoveryAwsEksClusterAnalysis": { "allOf": [ { "properties": { "encrypted_with_expired_key": { "nullable": true, "type": "boolean" }, "encrypted_with_noncompliant_key": { "type": "boolean" }, "encrypted_with_overly_permissive_management_key": { "nullable": true, "type": "boolean" }, "encrypted_with_overly_permissive_usage_key": { "nullable": true, "type": "boolean" }, "encrypted_with_quantum_vulnerable_key": { "nullable": true, "type": "boolean" }, "encrypted_with_shared_key": { "nullable": true, "type": "boolean" }, "encryption_status": { "$ref": "#/components/schemas/DiscoveryAwsEncryptionStatus" }, "key_availability": { "$ref": "#/components/schemas/DiscoveryKeyAvailability" } }, "required": [ "encrypted_with_noncompliant_key" ], "type": "object" } ] }, "DiscoveryAwsEksEncryptionStatus": { "enum": [ "encrypted", "unencrypted" ], "type": "string" }, "DiscoveryAwsEksClusterStatus": { "enum": [ "active", "creating", "deleting", "failed", "pending", "updating", "unknown" ], "type": "string" }, "DiscoveryAwsEfsFileSystemAnalysis": { "allOf": [ { "properties": { "encrypted_with_expired_key": { "nullable": true, "type": "boolean" }, "encrypted_with_noncompliant_key": { "type": "boolean" }, "encrypted_with_overly_permissive_management_key": { "nullable": true, "type": "boolean" }, "encrypted_with_overly_permissive_usage_key": { "nullable": true, "type": "boolean" }, "encrypted_with_quantum_vulnerable_key": { "nullable": true, "type": "boolean" }, "encrypted_with_shared_key": { "nullable": true, "type": "boolean" }, "encryption_status": { "$ref": "#/components/schemas/DiscoveryAwsEncryptionStatus" }, "key_availability": { "$ref": "#/components/schemas/DiscoveryKeyAvailability" } }, "required": [ "encrypted_with_noncompliant_key" ], "type": "object" } ] }, "DiscoveryAwsEfsLifeCycleState": { "enum": [ "available", "creating", "deleted", "deleting", "error", "updating", "unknown" ], "type": "string" }, "DiscoveryAwsRedshiftClusterAnalysis": { "allOf": [ { "properties": { "encrypted_with_expired_key": { "nullable": true, "type": "boolean" }, "encrypted_with_noncompliant_key": { "type": "boolean" }, "encrypted_with_overly_permissive_management_key": { "type": "boolean" }, "encrypted_with_overly_permissive_usage_key": { "type": "boolean" }, "encrypted_with_quantum_vulnerable_key": { "nullable": true, "type": "boolean" }, "encrypted_with_shared_key": { "type": "boolean" }, "encryption_status": { "$ref": "#/components/schemas/DiscoveryAwsEncryptionStatus" }, "key_availability": { "$ref": "#/components/schemas/DiscoveryKeyAvailability" } }, "required": [ "encrypted_with_noncompliant_key", "encrypted_with_overly_permissive_usage_key", "encrypted_with_overly_permissive_management_key", "encrypted_with_shared_key" ], "type": "object" } ] }, "DiscoveryAwsRedshiftEncryptionStatus": { "enum": [ "encrypted", "unencrypted" ], "type": "string" }, "DiscoveryAwsRedshiftClusterStatus": { "enum": [ "available", "available_prep_for_resize", "available_resize_cleanup", "canceling_resize", "creating", "deleting", "final_snapshot", "hardware_failure", "incompatible_hsm", "incompatible_network", "incompatible_parameters", "incompatible_restore", "modifying", "paused", "rebooting", "renaming", "resizing", "rotating_keys", "storage_full", "updating_hsm", "pausing", "resuming", "restoring", "unknown" ], "type": "string" }, "DiscoveryAzureDatabaseDeploymentVariantSqlSingleServer": { "allOf": [ { "properties": { "$db_variant": { "enum": [ "sql_single_server" ], "type": "string" } }, "required": [ "$db_variant" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAzureDatabaseDeploymentSqlSingleServer" } ] }, "DiscoveryAzureDatabaseDeploymentVariantSqlManagedInstance": { "allOf": [ { "properties": { "$db_variant": { "enum": [ "sql_managed_instance" ], "type": "string" } }, "required": [ "$db_variant" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAzureDatabaseDeploymentSqlManagedInstance" } ] }, "DiscoveryAzureDatabaseDeploymentVariantSqlManagedInstancePool": { "allOf": [ { "properties": { "$db_variant": { "enum": [ "sql_managed_instance_pool" ], "type": "string" } }, "required": [ "$db_variant" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAzureDatabaseDeploymentSqlManagedInstancePool" } ] }, "DiscoveryAzureDatabaseDeploymentVariantCosmosDb": { "allOf": [ { "properties": { "$db_variant": { "enum": [ "cosmos_db" ], "type": "string" } }, "required": [ "$db_variant" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAzureDatabaseDeploymentCosmosDb" } ] }, "DiscoveryAzureKvKeyAnalysis": { "allOf": [ { "properties": { "crypto_policy_compliance": { "$ref": "#/components/schemas/DiscoveryAzureCryptoPolicyCompliance" }, "is_shared": { "description": "Defaults to `false`. Will be `true` only if underlying key is used\nto encrypt multiple services.", "type": "boolean" }, "overly_permissive_key_violations": { "$ref": "#/components/schemas/DiscoveryAzureOverlyPermissiveKeyViolations" }, "usage_details": { "$ref": "#/components/schemas/DiscoveryKeyUsageDetails" }, "usages": { "items": { "$ref": "#/components/schemas/DiscoveryKeyUsage" }, "nullable": true, "type": "array", "uniqueItems": true } }, "required": [ "is_shared" ], "type": "object" } ] }, "DiscoveryAzureKvKeyAttributes": { "allOf": [ { "properties": { "activation_date": { "description": "The timestamp when the key will be activated. None,\nif the activation date is not set for the key.", "example": "20170509T070912Z", "pattern": "^\\d{4}\\d{2}\\d{2}T\\d{2}\\d{2}\\d{2}Z$", "type": "string" }, "created_at": { "description": "The timestamp of creation of the key.", "example": "20170509T070912Z", "pattern": "^\\d{4}\\d{2}\\d{2}T\\d{2}\\d{2}\\d{2}Z$", "type": "string" }, "expiry_date": { "description": "The timestamp when the key will expire. None, if the expiry date is\nnot scheduled for the key.", "example": "20170509T070912Z", "pattern": "^\\d{4}\\d{2}\\d{2}T\\d{2}\\d{2}\\d{2}Z$", "type": "string" }, "is_enabled": { "description": "Represents true if the key is enabled, false otherwise.", "type": "boolean" }, "is_exportable": { "description": "Represents true if the key is exportable, false otherwise.", "type": "boolean" }, "key_availability": { "$ref": "#/components/schemas/DiscoveryAzureKeyAvailability" }, "recoverable_days": { "description": "Soft Delete data retention days. Value should be >=7 and <=90 when\nsoft delete is enabled, otherwise 0.", "maximum": 4294967295, "minimum": 0, "type": "integer" }, "recovery_level": { "$ref": "#/components/schemas/DiscoveryAzureKvRecoveryLevel" }, "updated_at": { "description": "The timestamp when the key was last updated. By default, it will\nalways have the key creation timestamp as the last updated time.", "example": "20170509T070912Z", "pattern": "^\\d{4}\\d{2}\\d{2}T\\d{2}\\d{2}\\d{2}Z$", "type": "string" } }, "required": [ "created_at", "updated_at", "recoverable_days", "recovery_level", "is_exportable", "is_enabled" ], "type": "object" } ] }, "DiscoveryAzureKvKeyOperation": { "enum": [ "encrypt", "decrypt", "sign", "verify", "wrap_key", "unwrap_key", "import" ], "type": "string" }, "DiscoveryAzureKeySource": { "enum": [ "kv", "fortanix", "other" ], "type": "string" }, "DiscoveryAzureKvKeyType": { "enum": [ "rsa2048", "rsa3072", "rsa4096", "rsa_hsm2048", "rsa_hsm3072", "rsa_hsm4096", "ecc_nist_p256", "ecc_nist_p384", "ecc_nist_p521", "ecc_secg_p256k1", "ecc_nist_hsm_p256", "ecc_nist_hsm_p384", "ecc_nist_hsm_p521", "ecc_secg_hsm_p256k1", "oct", "oct_hsm", "unknown" ], "type": "string" }, "DiscoveryAzureKvAccessTier": { "enum": [ "standard", "premium" ], "type": "string" }, "DiscoveryAzureStorageAnalysis": { "allOf": [ { "properties": { "encrypted_with_expired_key": { "nullable": true, "type": "boolean" }, "encrypted_with_exportable_key": { "nullable": true, "type": "boolean" }, "encrypted_with_noncompliant_key": { "type": "boolean" }, "encrypted_with_overly_permissive_management_key": { "nullable": true, "type": "boolean" }, "encrypted_with_overly_permissive_usage_key": { "nullable": true, "type": "boolean" }, "encrypted_with_quantum_vulnerable_key": { "nullable": true, "type": "boolean" }, "encrypted_with_shared_key": { "nullable": true, "type": "boolean" }, "key_availability": { "$ref": "#/components/schemas/DiscoveryKeyAvailability" } }, "required": [ "encrypted_with_noncompliant_key" ], "type": "object" } ] }, "DiscoveryAzureEncryptionSettings": { "allOf": [ { "properties": { "key_source": { "$ref": "#/components/schemas/DiscoveryAzureStorageKeySource" } }, "required": [ "key_source" ], "type": "object" } ] }, "DiscoveryAzureStorageAccountKind": { "enum": [ "blob_storage", "block_blob_storage", "file_storage", "storage", "storage_v2", "unknown" ], "type": "string" }, "DiscoveryAzureContainerGroupAnalysis": { "allOf": [ { "properties": { "encrypted_with_expired_key": { "nullable": true, "type": "boolean" }, "encrypted_with_exportable_key": { "nullable": true, "type": "boolean" }, "encrypted_with_noncompliant_key": { "type": "boolean" }, "encrypted_with_overly_permissive_management_key": { "type": "boolean" }, "encrypted_with_overly_permissive_usage_key": { "type": "boolean" }, "encrypted_with_quantum_vulnerable_key": { "nullable": true, "type": "boolean" }, "encrypted_with_shared_key": { "type": "boolean" }, "key_availability": { "$ref": "#/components/schemas/DiscoveryKeyAvailability" } }, "required": [ "encrypted_with_noncompliant_key", "encrypted_with_overly_permissive_usage_key", "encrypted_with_overly_permissive_management_key", "key_availability", "encrypted_with_shared_key" ], "type": "object" } ] }, "DiscoveryAzureContainerGroupEncryptionSource": { "discriminator": { "mapping": { "customer_managed_key": "DiscoveryAzureContainerGroupEncryptionSourceVariantCustomerManagedKey", "microsoft_managed_key": "DiscoveryAzureContainerGroupEncryptionSourceVariantMicrosoftManagedKey" }, "propertyName": "$type" }, "oneOf": [ { "$ref": "#/components/schemas/DiscoveryAzureContainerGroupEncryptionSourceVariantMicrosoftManagedKey" }, { "$ref": "#/components/schemas/DiscoveryAzureContainerGroupEncryptionSourceVariantCustomerManagedKey" } ] }, "DiscoveryAzureDiskInstanceAnalysis": { "allOf": [ { "properties": { "encrypted_with_expired_key": { "nullable": true, "type": "boolean" }, "encrypted_with_exportable_key": { "nullable": true, "type": "boolean" }, "encrypted_with_noncompliant_key": { "type": "boolean" }, "encrypted_with_overly_permissive_management_key": { "nullable": true, "type": "boolean" }, "encrypted_with_overly_permissive_usage_key": { "nullable": true, "type": "boolean" }, "encrypted_with_quantum_vulnerable_key": { "nullable": true, "type": "boolean" }, "encrypted_with_shared_key": { "nullable": true, "type": "boolean" }, "key_availability": { "$ref": "#/components/schemas/DiscoveryKeyAvailability" } }, "required": [ "encrypted_with_noncompliant_key" ], "type": "object" } ] }, "DiscoveryAzureDiskState": { "description": "Used to represent state of [AzureManagedDisk]. for reference:\n[Documentation](https://learn.microsoft.com/en-us/rest/api/compute/disks/list-by-resource-group?view=rest-compute-2024-03-01&tabs=HTTP#diskstate)", "enum": [ "active_sas", "active_sas_frozen", "active_upload", "attached", "frozen", "ready_to_upload", "reserved", "unattached", "other" ], "type": "string" }, "DiscoveryAzureDiskType": { "description": "Used to represent SKU of [AzureManagedDisk]. For reference:\n[Documentation](https://learn.microsoft.com/en-us/rest/api/compute/disks/list-by-resource-group?view=rest-compute-2024-03-01&tabs=HTTP#diskstate)", "enum": [ "premium_v2_lrs", "premium_lrs", "premium_zrs", "standard_ssd_lrs", "standard_ssd_zrs", "standard_lrs", "ultra_ssd_lrs" ], "type": "string" }, "DiscoveryAzureManagedDiskEncryptionSettings": { "description": "Used to describe [Server-side encryption][1] configuration of [AzureManagedDisks]\n- This does not cover [Azure Disk Encryption][2] which is handled on a volume level on VM\n\n[1]: https://learn.microsoft.com/en-us/azure/virtual-machines/disk-encryption\n[2]: https://learn.microsoft.com/en-us/azure/virtual-machines/linux/disk-encryption-overview", "discriminator": { "mapping": { "confidential_vm_encrypted_with_azure_managed_key": "DiscoveryAzureManagedDiskEncryptionSettingsVariantConfidentialVmEncryptedWithAzureManagedKey", "confidential_vm_encrypted_with_customer_key": "DiscoveryAzureManagedDiskEncryptionSettingsVariantConfidentialVmEncryptedWithCustomerKey", "encryption_at_rest_with_azure_and_customer_keys": "DiscoveryAzureManagedDiskEncryptionSettingsVariantEncryptionAtRestWithAzureAndCustomerKeys", "encryption_at_rest_with_azure_managed_key": "DiscoveryAzureManagedDiskEncryptionSettingsVariantEncryptionAtRestWithAzureManagedKey", "encryption_at_rest_with_customer_key": "DiscoveryAzureManagedDiskEncryptionSettingsVariantEncryptionAtRestWithCustomerKey" }, "propertyName": "$type" }, "oneOf": [ { "$ref": "#/components/schemas/DiscoveryAzureManagedDiskEncryptionSettingsVariantEncryptionAtRestWithAzureManagedKey" }, { "$ref": "#/components/schemas/DiscoveryAzureManagedDiskEncryptionSettingsVariantConfidentialVmEncryptedWithAzureManagedKey" }, { "$ref": "#/components/schemas/DiscoveryAzureManagedDiskEncryptionSettingsVariantConfidentialVmEncryptedWithCustomerKey" }, { "$ref": "#/components/schemas/DiscoveryAzureManagedDiskEncryptionSettingsVariantEncryptionAtRestWithCustomerKey" }, { "$ref": "#/components/schemas/DiscoveryAzureManagedDiskEncryptionSettingsVariantEncryptionAtRestWithAzureAndCustomerKeys" } ] }, "DiscoveryAzureManagedClusterAnalysis": { "allOf": [ { "properties": { "encrypted_with_expired_key": { "nullable": true, "type": "boolean" }, "encrypted_with_exportable_key": { "nullable": true, "type": "boolean" }, "encrypted_with_noncompliant_key": { "type": "boolean" }, "encrypted_with_overly_permissive_management_key": { "type": "boolean" }, "encrypted_with_overly_permissive_usage_key": { "type": "boolean" }, "encrypted_with_quantum_vulnerable_key": { "nullable": true, "type": "boolean" }, "encrypted_with_shared_key": { "type": "boolean" }, "key_availability": { "$ref": "#/components/schemas/DiscoveryKeyAvailability" } }, "required": [ "encrypted_with_noncompliant_key", "encrypted_with_overly_permissive_usage_key", "encrypted_with_overly_permissive_management_key", "key_availability", "encrypted_with_shared_key" ], "type": "object" } ] }, "DiscoveryAzureManagedClusterDiskEncryptionDetails": { "discriminator": { "mapping": { "encryption_at_rest_with_customer_key": "DiscoveryAzureManagedClusterDiskEncryptionDetailsVariantEncryptionAtRestWithCustomerKey", "encryption_at_rest_with_platform_key": "DiscoveryAzureManagedClusterDiskEncryptionDetailsVariantEncryptionAtRestWithPlatformKey" }, "propertyName": "$type" }, "oneOf": [ { "$ref": "#/components/schemas/DiscoveryAzureManagedClusterDiskEncryptionDetailsVariantEncryptionAtRestWithCustomerKey" }, { "$ref": "#/components/schemas/DiscoveryAzureManagedClusterDiskEncryptionDetailsVariantEncryptionAtRestWithPlatformKey" } ] }, "DiscoveryAzureStorageAccountBlobAnalysis": { "allOf": [ { "properties": { "encrypted_with_expired_key": { "type": "boolean" }, "encrypted_with_exportable_key": { "type": "boolean" }, "encrypted_with_noncompliant_key": { "type": "boolean" }, "encrypted_with_overly_permissive_management_key": { "type": "boolean" }, "encrypted_with_overly_permissive_usage_key": { "type": "boolean" }, "encrypted_with_quantum_vulnerable_key": { "type": "boolean" }, "encrypted_with_shared_key": { "type": "boolean" }, "key_availability": { "$ref": "#/components/schemas/DiscoveryKeyAvailability" } }, "required": [ "encrypted_with_noncompliant_key", "encrypted_with_overly_permissive_usage_key", "encrypted_with_overly_permissive_management_key", "key_availability", "encrypted_with_shared_key", "encrypted_with_quantum_vulnerable_key", "encrypted_with_expired_key", "encrypted_with_exportable_key" ], "type": "object" } ] }, "DiscoveryOnPremKeyAnalysis": { "allOf": [ { "properties": { "crypto_policy_compliance": { "$ref": "#/components/schemas/DiscoveryOnPremCryptoPolicyCompliance" }, "key_expiration_compliance": { "$ref": "#/components/schemas/DiscoveryOnPremKeyExpirationCompliance" }, "key_rotation_compliance": { "$ref": "#/components/schemas/DiscoveryOnPremKeyRotationCompliance" }, "usage_details": { "$ref": "#/components/schemas/DiscoveryKeyUsageDetails" } }, "required": [ "usage_details", "key_rotation_compliance" ], "type": "object" } ] }, "DiscoveryOnPremEncryptionAlgorithm": { "enum": [ "aes", "dsa", "ecdh", "ecmqv", "ed_dsa", "fpe", "hmac_sha", "rc2", "rc4", "rsa", "rsa_oaep", "sike", "des", "des3", "aes128", "aes192", "aes256", "cha_cha20_poly1305", "x_cha_cha20_poly1305", "camellia128", "camellia192", "camellia256", "aria128", "aria192", "aria256", "twofish128", "twofish192", "twofish256", "blowfish128", "blowfish256", "sm4_128", "des56", "tdes2_key112", "tdes3_key168", "des_x", "rc2_40", "rc2_64", "rc2_128", "rc4_40", "rc4_128", "rc4_256", "hmac_sha1", "hmac_sha224", "hmac_sha256", "hmac_sha384", "hmac_sha512", "rsa512", "rsa1024", "rsa2048", "rsa3072", "rsa4096", "ecdsa_p256", "ecdsa_p384", "ecdsa_p521", "ecdsa_secp256k1", "ecdsa_brainpool_p256r1", "ecdsa_brainpool_p384r1", "ecdsa_brainpool_p512r1", "ecdh_p256", "ecdh_p384", "ecdh_p521", "ecdh_secp256k1", "ecdh_brainpool_p256r1", "ecdh_brainpool_p384r1", "ecdh_brainpool_p512r1", "ecmqv_p256", "ecmqv_p384", "ecmqv_p521", "ed25519", "ed448", "x25519", "x448", "ec_generic_p256", "ec_generic_p384", "ec_generic_p521", "ec_generic_secp256k1", "ec_generic_brainpool_p256r1", "ec_generic_brainpool_p384r1", "ec_generic_brainpool_p512r1", "ec_generic_curve25519", "ec_generic_curve448", "dsa1024", "dsa2048", "dsa3072", "sm2_sign", "sm2_kem", "aead_aes256_cbc_hmac_sha256", "ml_kem512", "ml_kem768", "ml_kem1024", "ml_dsa44", "ml_dsa65", "ml_dsa87", "falcon512", "falcon1024", "sphincs_plus_shake128s", "sphincs_plus_shake128f", "sphincs_plus_shake192s", "sphincs_plus_shake192f", "sphincs_plus_shake256s", "sphincs_plus_shake256f", "sike_p434", "sike_p503", "sike_p610", "sike_p751", "hidden", "unknown" ], "type": "string" }, "DiscoveryOnPremKeyCategory": { "enum": [ "master_key", "data_encryption_key", "asymmetric_key" ], "type": "string" }, "DiscoveryOnPremKeyRotationStatus": { "discriminator": { "mapping": { "not_rotated": "DiscoveryOnPremKeyRotationStatusVariantNotRotated", "rotated": "DiscoveryOnPremKeyRotationStatusVariantRotated", "unknown": "DiscoveryOnPremKeyRotationStatusVariantUnknown" }, "propertyName": "$type" }, "oneOf": [ { "$ref": "#/components/schemas/DiscoveryOnPremKeyRotationStatusVariantUnknown" }, { "$ref": "#/components/schemas/DiscoveryOnPremKeyRotationStatusVariantRotated" }, { "$ref": "#/components/schemas/DiscoveryOnPremKeyRotationStatusVariantNotRotated" } ] }, "DiscoveryOnPremKeySource": { "enum": [ "hsm", "fortanix", "oracle_key_vault", "azure_kv", "file_system_key_store", "native", "other" ], "type": "string" }, "DiscoveryOnPremKeyStatus": { "enum": [ "valid", "expired" ], "type": "string" }, "DiscoveryOnPremMsSqlDatabaseAnalysis": { "allOf": [ { "properties": { "encrypted_with_noncompliant_key": { "type": "boolean" }, "encrypted_with_quantum_vulnerable_key": { "nullable": true, "type": "boolean" } }, "required": [ "encrypted_with_noncompliant_key" ], "type": "object" } ] }, "DiscoveryOnPremMsSqlDatabaseEncryptionStatus": { "enum": [ "no_encryption_key", "unencrypted", "encryption_in_progress", "encrypted", "key_change_in_progress", "decryption_in_progress", "protection_change_in_progress" ], "type": "string" }, "DiscoveryOnPremMsSqlDatabaseEncryption": { "allOf": [ { "properties": { "encryption_key_id": { "type": "string" }, "encryption_key_use": { "$ref": "#/components/schemas/DiscoveryOnPremMsSqlDatabaseEncryptionKeyUse" } }, "required": [ "encryption_key_id", "encryption_key_use" ], "type": "object" } ] }, "DiscoveryOnPremOracleDatabaseAnalysis": { "allOf": [ { "properties": { "encrypted_with_noncompliant_key": { "type": "boolean" }, "encrypted_with_quantum_vulnerable_key": { "nullable": true, "type": "boolean" } }, "required": [ "encrypted_with_noncompliant_key" ], "type": "object" } ] }, "DiscoveryOnPremOracleDatabaseEncryption": { "allOf": [ { "properties": { "encryption_key_details": { "items": { "$ref": "#/components/schemas/DiscoveryOnPremOracleDatabaseEncryptionKeyDetails" }, "type": "array" }, "wallet_location": { "nullable": true, "type": "string" }, "wallet_name": { "type": "string" }, "wallet_status": { "$ref": "#/components/schemas/DiscoveryOnPremOracleDatabaseEncryptionWalletStatus" } }, "required": [ "wallet_name", "wallet_status", "encryption_key_details" ], "type": "object" } ] }, "DiscoveryOnPremSourceCodeRepoAnalysis": { "allOf": [ { "properties": { "asset_count": { "type": "integer" }, "violations": { "additionalProperties": { "$ref": "#/components/schemas/DiscoveryViolationMetrics" }, "type": "object" } }, "required": [ "asset_count", "violations" ], "type": "object" } ] }, "DiscoveryOnPremSourceCodeComponentAnalysis": { "allOf": [ { "properties": { "crypto_policy_compliance": { "$ref": "#/components/schemas/DiscoveryOnPremCryptoPolicyCompliance" }, "is_quantum_vulnerable": { "nullable": true, "type": "boolean" } }, "type": "object" } ] }, "DiscoveryOnPremSourceCodeComponentDetails": { "allOf": [ { "properties": { "asset_type": { "$ref": "#/components/schemas/DiscoveryOnPremCbomComponentType" }, "bom_ref": { "type": "string" }, "key_spec": { "$ref": "#/components/schemas/DiscoveryOnPremSourceCodeComponentCryptoSpec" }, "name": { "type": "string" }, "occurrences": { "items": { "$ref": "#/components/schemas/DiscoveryOnPremSourceCodeComponentOccurrence" }, "type": "array" } }, "required": [ "bom_ref", "name", "asset_type", "occurrences" ], "type": "object" } ] }, "DiscoveryOnPremFsAgentInfo": { "allOf": [ { "properties": { "first_seen_at_unix_millis": { "type": "integer" }, "last_seen_at_unix_millis": { "type": "integer" } }, "required": [ "first_seen_at_unix_millis", "last_seen_at_unix_millis" ], "type": "object" } ] }, "DiscoveryOnPremFsAnalysis": { "allOf": [ { "properties": { "agent_analysis": { "$ref": "#/components/schemas/DiscoveryOnPremFsAgentAnalysis" }, "certificate_analysis": { "$ref": "#/components/schemas/DiscoveryOnPremFsCertificateAnalysis" }, "crypto_policy_compliance": { "$ref": "#/components/schemas/DiscoveryOnPremCryptoPolicyCompliance" }, "key_spec": { "$ref": "#/components/schemas/DiscoveryOnPremEncryptionAlgorithm" }, "os_analysis": { "$ref": "#/components/schemas/DiscoveryOnPremFsOsAnalysis" }, "violations": { "items": { "$ref": "#/components/schemas/DiscoveryOnPremFsViolation" }, "type": "array", "uniqueItems": true } }, "required": [ "violations" ], "type": "object" } ] }, "DiscoveryHostInfo": { "allOf": [ { "description": "Host info for the machine sending the data", "properties": { "hostname": { "type": "string" }, "id": { "type": "string" }, "ips": { "items": { "type": "string" }, "type": "array" }, "os_string": { "type": "string" } }, "required": [ "id", "hostname", "ips", "os_string" ], "type": "object" } ] }, "DiscoveryFilesystemScannedObject": { "allOf": [ { "properties": { "file_info": { "$ref": "#/components/schemas/DiscoveryFileInfo" }, "metadata": { "$ref": "#/components/schemas/DiscoveryCryptographicMetadata" } }, "required": [ "file_info", "metadata" ], "type": "object" } ] }, "DiscoveryDsmSobjectAnalysis": { "allOf": [ { "properties": { "crypto_policy_compliance": { "$ref": "#/components/schemas/DiscoveryDsmCryptoPolicyCompliance" }, "is_source_key": { "nullable": true, "type": "boolean" } }, "type": "object" } ] }, "DiscoveryDsmSobjectEllipticCurve": { "enum": [ "x25519", "ed25519", "x448", "secp192k1", "secp224k1", "secp256k1", "nistp192", "nistp224", "nistp256", "nistp384", "nistp521", "gost256a", "other" ], "type": "string" }, "DiscoveryDsmHmgConfig": { "allOf": [ { "properties": { "hmg_type": { "$ref": "#/components/schemas/DiscoveryDsmHmgConfigType" }, "url": { "nullable": true, "type": "string" } }, "required": [ "hmg_type" ], "type": "object" } ] }, "DiscoveryDsmSobjectKeyLinks": { "allOf": [ { "properties": { "copied_from": { "format": "uuid", "nullable": true, "type": "string" }, "copied_to": { "items": { "format": "uuid", "type": "string" }, "nullable": true, "type": "array" }, "parent": { "format": "uuid", "nullable": true, "type": "string" }, "replaced": { "format": "uuid", "nullable": true, "type": "string" }, "replacement": { "format": "uuid", "nullable": true, "type": "string" }, "subkeys": { "items": { "format": "uuid", "type": "string" }, "nullable": true, "type": "array" }, "wrapping_key": { "format": "uuid", "nullable": true, "type": "string" } }, "type": "object" } ] }, "DiscoveryDsmSobjectKeyOperations": { "description": "Operations Allowed To Be Performed On A Given Key.", "enum": [ "sign", "verify", "encrypt", "decrypt", "wrapkey", "unwrapkey", "derivekey", "transform", "macgenerate", "macverify", "export", "appmanageable", "highvolume", "agreekey", "encapsulate", "decapsulate", "other" ], "type": "string" }, "DiscoveryDsmSobjectType": { "enum": [ "aes", "aria", "des", "des3", "seed", "rsa", "dsa", "ec", "kcdsa", "ec_kcdsa", "bip32", "bls", "opaque", "hmac", "leda_beta", "round5_beta", "secret", "lms", "ml_dsa_beta", "ml_kem_beta", "certificate", "pbe", "other" ], "type": "string" }, "DiscoveryDsmSobjectOrigin": { "description": "The origin of a security object - where it was created / generated.", "enum": [ "fortanix_hsm", "transient", "external", "other" ], "type": "string" }, "DiscoveryDsmSobjectRotationPolicy": { "allOf": [ { "properties": { "deactivate_rotated_key": { "nullable": true, "type": "boolean" }, "effective_at": { "example": "20170509T070912Z", "pattern": "^\\d{4}\\d{2}\\d{2}T\\d{2}\\d{2}\\d{2}Z$", "type": "string" }, "interval": { "$ref": "#/components/schemas/DiscoveryDsmSobjectRotationInterval" }, "rotate_copied_keys": { "$ref": "#/components/schemas/DiscoveryDsmSobjectRotateCopiedKeys" } }, "type": "object" } ] }, "DiscoveryDsmSobjectState": { "description": "DSM Security object operational state.", "enum": [ "pre_active", "active", "deactivated", "compromised", "destroyed", "deleted", "other", "not_available" ], "type": "string" }, "DiscoveryDsmDeploymentSaaS": { "allOf": [ { "properties": { "region": { "$ref": "#/components/schemas/DiscoveryDsmRegion" } }, "required": [ "region" ], "type": "object" } ] }, "DiscoveryDsmDeploymentOther": { "allOf": [ { "properties": { "url": { "format": "url", "type": "string" } }, "required": [ "url" ], "type": "object" } ] }, "DiscoveryAwsCryptoPolicyCompliance": { "allOf": [ { "properties": { "is_compliant": { "type": "boolean" }, "violation_reason": { "nullable": true, "type": "string" } }, "required": [ "is_compliant" ], "type": "object" } ] }, "DiscoveryAcmCertificateExtendedKeyUsageName": { "enum": [ "any", "code_signing", "custom", "email_protection", "ipsec_end_system", "ipsec_tunnel", "ipsec_user", "none", "ocsp_signing", "time_stamping", "tls_web_server_authentication", "tls_web_client_authentication", "unknown" ], "type": "string" }, "DiscoveryAwsEncryptionStatus": { "enum": [ "unencrypted", "encrypted_with_csp_generated_key", "encrypted_with_platform_managed_key", "encrypted_with_customer_managed_key" ], "type": "string" }, "DiscoveryKeyAvailability": { "description": "This enum will be used for denoting key availability for all services in all cloud providers.\nEach variant corresponds to different states of key used to encrypt the service. If a service is\nnot encrypted, the key will me marked as Unknown", "enum": [ "available", "soft_deleted", "purged", "cross_account", "unknown" ], "type": "string" }, "DiscoveryOverlyPermissiveViolations": { "allOf": [ { "properties": { "management_violations": { "items": { "$ref": "#/components/schemas/DiscoveryKeyPolicyId" }, "type": "array" }, "usage_violations": { "items": { "$ref": "#/components/schemas/DiscoveryKeyPolicyId" }, "type": "array" } }, "required": [ "usage_violations", "management_violations" ], "type": "object" } ] }, "DiscoveryKeyUsageDetails": { "allOf": [ { "properties": { "encrypt": { "$ref": "#/components/schemas/DiscoveryKeyEncryptUsageDetails" } }, "type": "object" } ] }, "DiscoveryKeyUsage": { "enum": [ "encrypt", "unused" ], "type": "string" }, "DiscoveryAwsKmsKeyRotationStatusVariantUnknown": { "allOf": [ { "properties": { "$type": { "enum": [ "unknown" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "properties": {}, "type": "object" } ] }, "DiscoveryAwsKmsKeyRotationStatusVariantEnabled": { "allOf": [ { "properties": { "$type": { "enum": [ "enabled" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAwsKmsKeyRotationStatusEnabled" } ] }, "DiscoveryAwsKmsKeyRotationStatusVariantDisabled": { "allOf": [ { "properties": { "$type": { "enum": [ "disabled" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "properties": {}, "type": "object" } ] }, "DiscoveryAwsDefaultServerSideEncryption": { "allOf": [ { "properties": { "kms_master_key": { "nullable": true, "type": "string" }, "sse_algorithm": { "$ref": "#/components/schemas/DiscoveryAwsSseAlgorithm" } }, "type": "object" } ] }, "DiscoveryAzureDatabaseDeploymentSqlSingleServer": { "allOf": [ { "properties": { "properties": { "$ref": "#/components/schemas/DiscoveryAzureDatabaseDeploymentProperties" }, "tier": { "$ref": "#/components/schemas/DiscoveryAzureSqlSingleServerTier" } }, "required": [ "tier", "properties" ], "type": "object" } ] }, "DiscoveryAzureDatabaseDeploymentSqlManagedInstance": { "allOf": [ { "properties": { "properties": { "$ref": "#/components/schemas/DiscoveryAzureDatabaseDeploymentProperties" } }, "required": [ "properties" ], "type": "object" } ] }, "DiscoveryAzureDatabaseDeploymentSqlManagedInstancePool": { "allOf": [ { "properties": { "properties": { "$ref": "#/components/schemas/DiscoveryAzureDatabaseDeploymentProperties" } }, "required": [ "properties" ], "type": "object" } ] }, "DiscoveryAzureDatabaseDeploymentCosmosDb": { "allOf": [ { "properties": { "api": { "description": "The API a Cosmos databases exposes to applications.\nSome possible values currently available in Azure are\n\"Sql\", \"MongoDB\", \"Cassandra\", ...\nThis may be directly exposed in the frontend.", "type": "string" }, "properties": { "$ref": "#/components/schemas/DiscoveryAzureDatabaseDeploymentProperties" } }, "required": [ "api", "properties" ], "type": "object" } ] }, "DiscoveryAzureCryptoPolicyCompliance": { "allOf": [ { "properties": { "is_compliant": { "description": "Represents if the crypto policy is compliant for the key.", "type": "boolean" }, "violation_reason": { "description": "Represents the violation reason if the non-compliant against the\ncrypto policy, otherwise `None`.", "nullable": true, "type": "string" } }, "required": [ "is_compliant" ], "type": "object" } ] }, "DiscoveryAzureOverlyPermissiveKeyViolations": { "allOf": [ { "properties": { "management_violations": { "items": { "$ref": "#/components/schemas/DiscoveryAzureKvKeyPolicyInfo" }, "type": "array" }, "usage_violations": { "items": { "$ref": "#/components/schemas/DiscoveryAzureKvKeyPolicyInfo" }, "type": "array" } }, "required": [ "usage_violations", "management_violations" ], "type": "object" } ] }, "DiscoveryAzureKeyAvailability": { "discriminator": { "mapping": { "available": "DiscoveryAzureKeyAvailabilityVariantAvailable", "soft_deleted": "DiscoveryAzureKeyAvailabilityVariantSoftDeleted" }, "propertyName": "$type" }, "oneOf": [ { "$ref": "#/components/schemas/DiscoveryAzureKeyAvailabilityVariantAvailable" }, { "$ref": "#/components/schemas/DiscoveryAzureKeyAvailabilityVariantSoftDeleted" } ] }, "DiscoveryAzureKvRecoveryLevel": { "enum": [ "customized_recoverable", "customized_recoverable_and_protected_subscription", "customized_recoverable_and_purgeable", "purgeable", "recoverable", "recoverable_and_protected_subscription", "recoverable_and_purgeable", "unknown" ], "type": "string" }, "DiscoveryAzureStorageKeySource": { "description": "The encryption key source (provider).", "discriminator": { "mapping": { "key_vault": "DiscoveryAzureStorageKeySourceVariantKeyVault", "storage": "DiscoveryAzureStorageKeySourceVariantStorage" }, "propertyName": "$type" }, "oneOf": [ { "$ref": "#/components/schemas/DiscoveryAzureStorageKeySourceVariantKeyVault" }, { "$ref": "#/components/schemas/DiscoveryAzureStorageKeySourceVariantStorage" } ] }, "DiscoveryAzureContainerGroupEncryptionSourceVariantMicrosoftManagedKey": { "allOf": [ { "properties": { "$type": { "enum": [ "microsoft_managed_key" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "properties": {}, "type": "object" } ] }, "DiscoveryAzureContainerGroupEncryptionSourceVariantCustomerManagedKey": { "allOf": [ { "properties": { "$type": { "enum": [ "customer_managed_key" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAzureContainerGroupEncryptionSourceCustomerManagedKey" } ] }, "DiscoveryAzureManagedDiskEncryptionSettingsVariantEncryptionAtRestWithAzureManagedKey": { "allOf": [ { "properties": { "$type": { "enum": [ "encryption_at_rest_with_azure_managed_key" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "properties": {}, "type": "object" } ] }, "DiscoveryAzureManagedDiskEncryptionSettingsVariantConfidentialVmEncryptedWithAzureManagedKey": { "allOf": [ { "properties": { "$type": { "enum": [ "confidential_vm_encrypted_with_azure_managed_key" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "properties": {}, "type": "object" } ] }, "DiscoveryAzureManagedDiskEncryptionSettingsVariantConfidentialVmEncryptedWithCustomerKey": { "allOf": [ { "properties": { "$type": { "enum": [ "confidential_vm_encrypted_with_customer_key" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAzureManagedDiskEncryptionSettingsConfidentialVmEncryptedWithCustomerKey" } ] }, "DiscoveryAzureManagedDiskEncryptionSettingsVariantEncryptionAtRestWithCustomerKey": { "allOf": [ { "properties": { "$type": { "enum": [ "encryption_at_rest_with_customer_key" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAzureManagedDiskEncryptionSettingsEncryptionAtRestWithCustomerKey" } ] }, "DiscoveryAzureManagedDiskEncryptionSettingsVariantEncryptionAtRestWithAzureAndCustomerKeys": { "allOf": [ { "properties": { "$type": { "enum": [ "encryption_at_rest_with_azure_and_customer_keys" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAzureManagedDiskEncryptionSettingsEncryptionAtRestWithAzureAndCustomerKeys" } ] }, "DiscoveryAzureManagedClusterDiskEncryptionDetailsVariantEncryptionAtRestWithCustomerKey": { "allOf": [ { "properties": { "$type": { "enum": [ "encryption_at_rest_with_customer_key" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAzureManagedClusterDiskEncryptionDetailsEncryptionAtRestWithCustomerKey" } ] }, "DiscoveryAzureManagedClusterDiskEncryptionDetailsVariantEncryptionAtRestWithPlatformKey": { "allOf": [ { "properties": { "$type": { "enum": [ "encryption_at_rest_with_platform_key" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "properties": {}, "type": "object" } ] }, "DiscoveryOnPremCryptoPolicyCompliance": { "allOf": [ { "properties": { "is_compliant": { "type": "boolean" }, "violation_reason": { "nullable": true, "type": "string" } }, "required": [ "is_compliant" ], "type": "object" } ] }, "DiscoveryOnPremKeyExpirationCompliance": { "allOf": [ { "properties": { "key_expiry_greater_than_compliance_period": { "type": "boolean" } }, "required": [ "key_expiry_greater_than_compliance_period" ], "type": "object" } ] }, "DiscoveryOnPremKeyRotationCompliance": { "enum": [ "compliant", "not_rotated_in_compliance_period", "rotation_status_not_known" ], "type": "string" }, "DiscoveryOnPremKeyRotationStatusVariantUnknown": { "allOf": [ { "properties": { "$type": { "enum": [ "unknown" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "properties": {}, "type": "object" } ] }, "DiscoveryOnPremKeyRotationStatusVariantRotated": { "allOf": [ { "properties": { "$type": { "enum": [ "rotated" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryOnPremKeyRotationStatusRotated" } ] }, "DiscoveryOnPremKeyRotationStatusVariantNotRotated": { "allOf": [ { "properties": { "$type": { "enum": [ "not_rotated" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "properties": {}, "type": "object" } ] }, "DiscoveryOnPremMsSqlDatabaseEncryptionKeyUse": { "enum": [ "tde", "column_level" ], "type": "string" }, "DiscoveryOnPremOracleDatabaseEncryptionKeyDetails": { "allOf": [ { "properties": { "encryption_key_id": { "type": "string" }, "encryption_key_use": { "$ref": "#/components/schemas/DiscoveryOnPremOracleDatabaseEncryptionKeyUse" } }, "required": [ "encryption_key_id", "encryption_key_use" ], "type": "object" } ] }, "DiscoveryOnPremOracleDatabaseEncryptionWalletStatus": { "enum": [ "valid", "expired", "unavailable", "closed", "open", "open_no_master_key", "open_unknown_master_key_status", "undefined" ], "type": "string" }, "DiscoveryViolationMetrics": { "allOf": [ { "description": "A structure to store the violation metrics for each violation.", "properties": { "count": { "type": "integer" } }, "required": [ "count" ], "type": "object" } ] }, "DiscoveryOnPremCbomComponentType": { "enum": [ "algorithm", "protocol", "certificate", "private-key", "public-key", "secret-key", "key", "ciphertext", "signature", "digest", "initialization-vector", "nonce", "seed", "salt", "shared-secret", "tag", "additional-data", "password", "credential", "token", "other", "unknown" ], "type": "string" }, "DiscoveryOnPremSourceCodeComponentCryptoSpec": { "oneOf": [ { "enum": [ "rsa512" ], "title": "DiscoveryOnPremSourceCodeComponentCryptoSpecVariantRsa512", "type": "string" }, { "enum": [ "rsa1024" ], "title": "DiscoveryOnPremSourceCodeComponentCryptoSpecVariantRsa1024", "type": "string" }, { "enum": [ "rsa2048" ], "title": "DiscoveryOnPremSourceCodeComponentCryptoSpecVariantRsa2048", "type": "string" }, { "enum": [ "rsa3072" ], "title": "DiscoveryOnPremSourceCodeComponentCryptoSpecVariantRsa3072", "type": "string" }, { "enum": [ "rsa4096" ], "title": "DiscoveryOnPremSourceCodeComponentCryptoSpecVariantRsa4096", "type": "string" }, { "enum": [ "aes128" ], "title": "DiscoveryOnPremSourceCodeComponentCryptoSpecVariantAes128", "type": "string" }, { "enum": [ "aes192" ], "title": "DiscoveryOnPremSourceCodeComponentCryptoSpecVariantAes192", "type": "string" }, { "enum": [ "aes256" ], "title": "DiscoveryOnPremSourceCodeComponentCryptoSpecVariantAes256", "type": "string" }, { "enum": [ "ecc_nist_p256" ], "title": "DiscoveryOnPremSourceCodeComponentCryptoSpecVariantEccNistP256", "type": "string" }, { "enum": [ "ecc_nist_p384" ], "title": "DiscoveryOnPremSourceCodeComponentCryptoSpecVariantEccNistP384", "type": "string" }, { "enum": [ "ecc_nist_p521" ], "title": "DiscoveryOnPremSourceCodeComponentCryptoSpecVariantEccNistP521", "type": "string" }, { "enum": [ "ecc_ed25519" ], "title": "DiscoveryOnPremSourceCodeComponentCryptoSpecVariantEccEd25519", "type": "string" }, { "enum": [ "ecc_x25519" ], "title": "DiscoveryOnPremSourceCodeComponentCryptoSpecVariantEccX25519", "type": "string" }, { "enum": [ "ecc_secg_p256_k1" ], "title": "DiscoveryOnPremSourceCodeComponentCryptoSpecVariantEccSecgP256K1", "type": "string" }, { "enum": [ "hmac224" ], "title": "DiscoveryOnPremSourceCodeComponentCryptoSpecVariantHmac224", "type": "string" }, { "enum": [ "hmac256" ], "title": "DiscoveryOnPremSourceCodeComponentCryptoSpecVariantHmac256", "type": "string" }, { "enum": [ "hmac384" ], "title": "DiscoveryOnPremSourceCodeComponentCryptoSpecVariantHmac384", "type": "string" }, { "enum": [ "hmac512" ], "title": "DiscoveryOnPremSourceCodeComponentCryptoSpecVariantHmac512", "type": "string" }, { "enum": [ "sha1" ], "title": "DiscoveryOnPremSourceCodeComponentCryptoSpecVariantSha1", "type": "string" }, { "enum": [ "sha224" ], "title": "DiscoveryOnPremSourceCodeComponentCryptoSpecVariantSha224", "type": "string" }, { "enum": [ "sha256" ], "title": "DiscoveryOnPremSourceCodeComponentCryptoSpecVariantSha256", "type": "string" }, { "enum": [ "sha384" ], "title": "DiscoveryOnPremSourceCodeComponentCryptoSpecVariantSha384", "type": "string" }, { "enum": [ "sha512" ], "title": "DiscoveryOnPremSourceCodeComponentCryptoSpecVariantSha512", "type": "string" }, { "enum": [ "sha3_224" ], "title": "DiscoveryOnPremSourceCodeComponentCryptoSpecVariantSha3_224", "type": "string" }, { "enum": [ "sha3_256" ], "title": "DiscoveryOnPremSourceCodeComponentCryptoSpecVariantSha3_256", "type": "string" }, { "enum": [ "sha3_384" ], "title": "DiscoveryOnPremSourceCodeComponentCryptoSpecVariantSha3_384", "type": "string" }, { "enum": [ "sha3_512" ], "title": "DiscoveryOnPremSourceCodeComponentCryptoSpecVariantSha3_512", "type": "string" }, { "enum": [ "rsa_oaep" ], "title": "DiscoveryOnPremSourceCodeComponentCryptoSpecVariantRsaOaep", "type": "string" }, { "enum": [ "des" ], "title": "DiscoveryOnPremSourceCodeComponentCryptoSpecVariantDes", "type": "string" }, { "enum": [ "des3" ], "title": "DiscoveryOnPremSourceCodeComponentCryptoSpecVariantDes3", "type": "string" }, { "enum": [ "des_x" ], "title": "DiscoveryOnPremSourceCodeComponentCryptoSpecVariantDesX", "type": "string" }, { "enum": [ "sm2" ], "title": "DiscoveryOnPremSourceCodeComponentCryptoSpecVariantSm2", "type": "string" }, { "properties": { "other": { "$ref": "#/components/schemas/DiscoveryOnPremSourceCodeComponentCryptoSpecOther" } }, "required": [ "other" ], "title": "DiscoveryOnPremSourceCodeComponentCryptoSpecVariantOther", "type": "object" } ] }, "DiscoveryOnPremSourceCodeComponentOccurrence": { "allOf": [ { "properties": { "additional_context": { "nullable": true, "type": "string" }, "bom_ref": { "nullable": true, "type": "string" }, "line": { "nullable": true, "type": "integer" }, "location": { "type": "string" }, "offset": { "nullable": true, "type": "integer" }, "symbol": { "nullable": true, "type": "string" } }, "required": [ "location" ], "type": "object" } ] }, "DiscoveryOnPremFsAgentAnalysis": { "allOf": [ { "properties": { "asset_count_by_type": { "additionalProperties": { "type": "integer" }, "type": "object" }, "certificate_statuses_count": { "additionalProperties": { "type": "integer" }, "type": "object" }, "violations_count": { "additionalProperties": { "additionalProperties": { "type": "integer" }, "type": "object" }, "type": "object" } }, "required": [ "asset_count_by_type", "violations_count", "certificate_statuses_count" ], "type": "object" } ] }, "DiscoveryOnPremFsCertificateAnalysis": { "allOf": [ { "properties": { "certificate_issuer": { "$ref": "#/components/schemas/DiscoveryCertificateIssuer" }, "certificate_status": { "$ref": "#/components/schemas/DiscoveryOnPremFsCertificateStatus" }, "certificate_subject": { "$ref": "#/components/schemas/DiscoveryCertificateSubject" } }, "required": [ "certificate_status", "certificate_issuer", "certificate_subject" ], "type": "object" } ] }, "DiscoveryOnPremFsOsAnalysis": { "allOf": [ { "properties": { "agent_count": { "type": "integer" }, "asset_count_by_type": { "additionalProperties": { "type": "integer" }, "type": "object" }, "certificate_statuses_count": { "additionalProperties": { "type": "integer" }, "type": "object" }, "violations_count": { "additionalProperties": { "additionalProperties": { "type": "integer" }, "type": "object" }, "type": "object" } }, "required": [ "agent_count", "asset_count_by_type", "violations_count", "certificate_statuses_count" ], "type": "object" } ] }, "DiscoveryOnPremFsViolation": { "enum": [ "expired", "expiring_soon", "non_compliant_algorithm", "non_compliant_signature", "key_not_rotated_in_compliance_period", "secret_file_too_readable", "anyone_can_write", "expiry_exceeds_threshold", "overly_permissive_certificate", "quantum_vulnerable" ], "type": "string" }, "DiscoveryFileInfo": { "allOf": [ { "description": "File info", "properties": { "file_path": { "type": "string" }, "file_permissions": { "$ref": "#/components/schemas/DiscoveryPermissions" }, "file_size": { "nullable": true, "type": "integer" }, "modification_unix_millis": { "type": "integer" } }, "required": [ "file_path", "modification_unix_millis" ], "type": "object" } ] }, "DiscoveryCryptographicMetadata": { "oneOf": [ { "properties": { "symmetric_key": { "$ref": "#/components/schemas/DiscoverySymmetricKeyMetadata" } }, "required": [ "symmetric_key" ], "title": "DiscoveryCryptographicMetadataVariantSymmetricKey", "type": "object" }, { "properties": { "public_key": { "$ref": "#/components/schemas/DiscoveryPublicKeyMetadata" } }, "required": [ "public_key" ], "title": "DiscoveryCryptographicMetadataVariantPublicKey", "type": "object" }, { "properties": { "private_key": { "$ref": "#/components/schemas/DiscoveryPrivateKeyMetadata" } }, "required": [ "private_key" ], "title": "DiscoveryCryptographicMetadataVariantPrivateKey", "type": "object" }, { "properties": { "certificate": { "$ref": "#/components/schemas/DiscoveryCertificateMetadata" } }, "required": [ "certificate" ], "title": "DiscoveryCryptographicMetadataVariantCertificate", "type": "object" }, { "properties": { "trusted_certificate": { "$ref": "#/components/schemas/DiscoveryTrustedCertificateMetadata" } }, "required": [ "trusted_certificate" ], "title": "DiscoveryCryptographicMetadataVariantTrustedCertificate", "type": "object" }, { "properties": { "certificate_signing_request": { "$ref": "#/components/schemas/DiscoveryCertificateSigningRequest" } }, "required": [ "certificate_signing_request" ], "title": "DiscoveryCryptographicMetadataVariantCertificateSigningRequest", "type": "object" }, { "properties": { "certificate_revocation_list": { "$ref": "#/components/schemas/DiscoveryCertificateRevocationList" } }, "required": [ "certificate_revocation_list" ], "title": "DiscoveryCryptographicMetadataVariantCertificateRevocationList", "type": "object" }, { "properties": { "pkcs7": { "$ref": "#/components/schemas/DiscoveryPkcs7Metadata" } }, "required": [ "pkcs7" ], "title": "DiscoveryCryptographicMetadataVariantPkcs7", "type": "object" }, { "properties": { "pkcs12": { "$ref": "#/components/schemas/DiscoveryPkcs12Metadata" } }, "required": [ "pkcs12" ], "title": "DiscoveryCryptographicMetadataVariantPkcs12", "type": "object" }, { "properties": { "parameters": { "$ref": "#/components/schemas/DiscoveryParametersMetadata" } }, "required": [ "parameters" ], "title": "DiscoveryCryptographicMetadataVariantParameters", "type": "object" }, { "properties": { "jwt": { "$ref": "#/components/schemas/DiscoveryJwtMetadata" } }, "required": [ "jwt" ], "title": "DiscoveryCryptographicMetadataVariantJwt", "type": "object" }, { "properties": { "ssh": { "$ref": "#/components/schemas/DiscoverySshMetadata" } }, "required": [ "ssh" ], "title": "DiscoveryCryptographicMetadataVariantSsh", "type": "object" }, { "properties": { "pgp": { "$ref": "#/components/schemas/DiscoveryPgpMetadata" } }, "required": [ "pgp" ], "title": "DiscoveryCryptographicMetadataVariantPgp", "type": "object" }, { "properties": { "multiple": { "description": "This is used if a single file contains multiple crytpogrpahic materials within it. This primarily applies\nto PEM files, as multiple PEM blocks can be concatenated together without issue.", "items": { "$ref": "#/components/schemas/DiscoveryCryptographicMetadata" }, "type": "array" } }, "required": [ "multiple" ], "title": "DiscoveryCryptographicMetadataVariantMultiple", "type": "object" } ] }, "DiscoveryDsmCryptoPolicyCompliance": { "allOf": [ { "properties": { "is_compliant": { "type": "boolean" }, "violation_reason": { "nullable": true, "type": "string" } }, "required": [ "is_compliant" ], "type": "object" } ] }, "DiscoveryDsmHmgConfigType": { "enum": [ "ncipher", "safenet", "aws_cloud_hsm", "aws_kms", "fortanix", "fortanix_fips_cluster", "azure_key_vault", "gcp_key_ring", "other" ], "type": "string" }, "DiscoveryDsmSobjectRotationInterval": { "discriminator": { "mapping": { "interval_days": "DiscoveryDsmSobjectRotationIntervalVariantIntervalDays", "interval_months": "DiscoveryDsmSobjectRotationIntervalVariantIntervalMonths", "other": "DiscoveryDsmSobjectRotationIntervalVariantOther" }, "propertyName": "$type" }, "oneOf": [ { "$ref": "#/components/schemas/DiscoveryDsmSobjectRotationIntervalVariantIntervalDays" }, { "$ref": "#/components/schemas/DiscoveryDsmSobjectRotationIntervalVariantIntervalMonths" }, { "$ref": "#/components/schemas/DiscoveryDsmSobjectRotationIntervalVariantOther" } ] }, "DiscoveryDsmSobjectRotateCopiedKeys": { "discriminator": { "mapping": { "all_external": "DiscoveryDsmSobjectRotateCopiedKeysVariantAllExternal", "other": "DiscoveryDsmSobjectRotateCopiedKeysVariantOther", "select": "DiscoveryDsmSobjectRotateCopiedKeysVariantSelect" }, "propertyName": "$type" }, "oneOf": [ { "$ref": "#/components/schemas/DiscoveryDsmSobjectRotateCopiedKeysVariantAllExternal" }, { "$ref": "#/components/schemas/DiscoveryDsmSobjectRotateCopiedKeysVariantSelect" }, { "$ref": "#/components/schemas/DiscoveryDsmSobjectRotateCopiedKeysVariantOther" } ] }, "DiscoveryDsmRegion": { "enum": [ "north_america", "european_union", "united_kingdom", "asia_pacific", "australia", "saudi_arabia" ], "type": "string" }, "DiscoveryKeyPolicyId": { "discriminator": { "mapping": { "aws_grant_id": "DiscoveryKeyPolicyIdVariantAwsGrantId", "aws_key_policy_sid": "DiscoveryKeyPolicyIdVariantAwsKeyPolicySid" }, "propertyName": "$type" }, "oneOf": [ { "$ref": "#/components/schemas/DiscoveryKeyPolicyIdVariantAwsKeyPolicySid" }, { "$ref": "#/components/schemas/DiscoveryKeyPolicyIdVariantAwsGrantId" } ] }, "DiscoveryKeyEncryptUsageDetails": { "allOf": [ { "properties": { "service_count": { "type": "integer" } }, "required": [ "service_count" ], "type": "object" } ] }, "DiscoveryAwsKmsKeyRotationStatusEnabled": { "allOf": [ { "properties": { "next_rotation_date": { "example": "20170509T070912Z", "pattern": "^\\d{4}\\d{2}\\d{2}T\\d{2}\\d{2}\\d{2}Z$", "type": "string" }, "rotation_period": { "maximum": 4294967295, "minimum": 0, "type": "integer" } }, "required": [ "next_rotation_date", "rotation_period" ], "type": "object" } ] }, "DiscoveryAwsSseAlgorithm": { "enum": [ "aes256", "kms", "aws:kms_dsse", "other" ], "type": "string" }, "DiscoveryAzureDatabaseDeploymentProperties": { "allOf": [ { "properties": { "deployment_name": { "type": "string" }, "encryption_details": { "$ref": "#/components/schemas/DiscoveryAzureDatabaseEncryptionDetails" }, "inner_databases_properties": { "items": { "$ref": "#/components/schemas/DiscoveryAzureDatabaseProperties" }, "type": "array" } }, "required": [ "deployment_name", "inner_databases_properties", "encryption_details" ], "type": "object" } ] }, "DiscoveryAzureSqlSingleServerTier": { "description": "The service tiers for SQL Single Server.", "enum": [ "server", "serverless" ], "type": "string" }, "DiscoveryAzureKvKeyPolicyInfo": { "allOf": [ { "properties": { "principal_id": { "type": "string" }, "role_assignment_id": { "type": "string" }, "role_definition_id": { "type": "string" } }, "required": [ "principal_id", "role_definition_id", "role_assignment_id" ], "type": "object" } ] }, "DiscoveryAzureKeyAvailabilityVariantAvailable": { "allOf": [ { "properties": { "$type": { "enum": [ "available" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "properties": {}, "type": "object" } ] }, "DiscoveryAzureKeyAvailabilityVariantSoftDeleted": { "allOf": [ { "properties": { "$type": { "enum": [ "soft_deleted" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAzureKeyAvailabilitySoftDeleted" } ] }, "DiscoveryAzureStorageKeySourceVariantKeyVault": { "allOf": [ { "properties": { "$type": { "enum": [ "key_vault" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAzureStorageKeySourceKeyVault" } ] }, "DiscoveryAzureStorageKeySourceVariantStorage": { "allOf": [ { "properties": { "$type": { "enum": [ "storage" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "properties": {}, "type": "object" } ] }, "DiscoveryAzureContainerGroupEncryptionSourceCustomerManagedKey": { "allOf": [ { "properties": { "key_id": { "type": "string" } }, "required": [ "key_id" ], "type": "object" } ] }, "DiscoveryAzureManagedDiskEncryptionSettingsConfidentialVmEncryptedWithCustomerKey": { "allOf": [ { "properties": { "key_id": { "type": "string" }, "key_rotation_enabled": { "type": "boolean" } }, "required": [ "key_id", "key_rotation_enabled" ], "type": "object" } ] }, "DiscoveryAzureManagedDiskEncryptionSettingsEncryptionAtRestWithCustomerKey": { "allOf": [ { "properties": { "key_id": { "type": "string" }, "key_rotation_enabled": { "type": "boolean" } }, "required": [ "key_id", "key_rotation_enabled" ], "type": "object" } ] }, "DiscoveryAzureManagedDiskEncryptionSettingsEncryptionAtRestWithAzureAndCustomerKeys": { "allOf": [ { "properties": { "key_id": { "type": "string" }, "key_rotation_enabled": { "type": "boolean" } }, "required": [ "key_id", "key_rotation_enabled" ], "type": "object" } ] }, "DiscoveryAzureManagedClusterDiskEncryptionDetailsEncryptionAtRestWithCustomerKey": { "allOf": [ { "properties": { "key_id": { "type": "string" }, "key_rotation_enabled": { "type": "boolean" } }, "required": [ "key_id", "key_rotation_enabled" ], "type": "object" } ] }, "DiscoveryOnPremKeyRotationStatusRotated": { "allOf": [ { "properties": { "last_rotated_at": { "example": "20170509T070912Z", "pattern": "^\\d{4}\\d{2}\\d{2}T\\d{2}\\d{2}\\d{2}Z$", "type": "string" } }, "required": [ "last_rotated_at" ], "type": "object" } ] }, "DiscoveryOnPremOracleDatabaseEncryptionKeyUse": { "enum": [ "tde", "column_level" ], "type": "string" }, "DiscoveryOnPremSourceCodeComponentCryptoSpecOther": { "allOf": [ { "properties": { "value": { "type": "string" } }, "required": [ "value" ], "type": "object" } ] }, "DiscoveryCertificateIssuer": { "allOf": [ { "type": "string" } ], "description": "Certificate's `issuer` generated from [DistinguishedName::to_string()]\n/ parseable by [DistinguishedName::from_str()]\nCertificate Distinguished Name (DN) mandated + optional fields,\nas defined in RFC 5280 §4.1.2.4 - used for both `issuer` and `subject`.\nASN.1 in the same RFC allows zero or more values for each of these fields.\n\nTo present it nicely in a UI:\n* Primary label: first `common_name` (CN).\n* Fallback: first `organization_name` (O).\n* Optional detail: append `organizational_unit_name` (OU), `country_name` (C),\nor `domain_component` (DC) as needed.\n\nThe string is presented as a serialized json from distinguished name map indexed by the short labels (uppercase) for each sub-field." }, "DiscoveryOnPremFsCertificateStatus": { "enum": [ "issued", "inactive", "expired", "failed", "revoked", "pending_validation" ], "type": "string" }, "DiscoveryCertificateSubject": { "allOf": [ { "type": "string" } ], "description": "Certificate's `subject` generated from [DistinguishedName::to_string()]\n/ parseable by [DistinguishedName::from_str()]\nCertificate Distinguished Name (DN) mandated + optional fields,\nas defined in RFC 5280 §4.1.2.4 - used for both `issuer` and `subject`.\nASN.1 in the same RFC allows zero or more values for each of these fields.\n\nTo present it nicely in a UI:\n* Primary label: first `common_name` (CN).\n* Fallback: first `organization_name` (O).\n* Optional detail: append `organizational_unit_name` (OU), `country_name` (C),\nor `domain_component` (DC) as needed.\n\nThe string is presented as a serialized json from distinguished name map indexed by the short labels (uppercase) for each sub-field." }, "DiscoveryPermissions": { "allOf": [ { "properties": { "everyone": { "description": "“Other” users on POSIX; on Windows, “Everyone” ACL entry", "items": { "$ref": "#/components/schemas/DiscoveryPermissionFlag" }, "type": "array" }, "group": { "$ref": "#/components/schemas/DiscoveryOwnerAndFlags" }, "user": { "$ref": "#/components/schemas/DiscoveryOwnerAndFlags" } }, "required": [ "user", "everyone" ], "type": "object" } ] }, "DiscoverySymmetricKeyMetadata": { "allOf": [ { "properties": { "algorithm": { "$ref": "#/components/schemas/DiscoveryCryptographicAlgorithm" }, "encryption": { "$ref": "#/components/schemas/DiscoveryEncryptionMetadata" }, "fingerprint": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "nullable": true, "type": "array" } }, "required": [ "algorithm", "encryption" ], "type": "object" } ] }, "DiscoveryPublicKeyMetadata": { "allOf": [ { "properties": { "algorithm": { "$ref": "#/components/schemas/DiscoveryCryptographicAlgorithm" }, "fingerprint": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "nullable": true, "type": "array" } }, "required": [ "algorithm" ], "type": "object" } ] }, "DiscoveryPrivateKeyMetadata": { "allOf": [ { "properties": { "algorithm": { "$ref": "#/components/schemas/DiscoveryCryptographicAlgorithm" }, "encryption": { "$ref": "#/components/schemas/DiscoveryEncryptionMetadata" }, "fingerprint": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "nullable": true, "type": "array" } }, "required": [ "algorithm", "encryption" ], "type": "object" } ] }, "DiscoveryCertificateMetadata": { "allOf": [ { "properties": { "fingerprint": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "nullable": true, "type": "array" }, "issuer_cn": { "additionalProperties": { "type": "string" }, "description": "Comes from `openssl_x509_name_to_map()`", "nullable": true, "type": "object" }, "pubkey_algorithm": { "$ref": "#/components/schemas/DiscoveryCryptographicAlgorithm" }, "serial": { "type": "string" }, "signature_algorithm": { "$ref": "#/components/schemas/DiscoveryCryptographicAlgorithm" }, "subject_cn": { "additionalProperties": { "type": "string" }, "description": "Comes from `openssl_x509_name_to_map()`", "nullable": true, "type": "object" }, "valid_from_unix_millis": { "type": "integer" }, "valid_to_unix_millis": { "type": "integer" } }, "required": [ "serial", "valid_from_unix_millis", "valid_to_unix_millis", "signature_algorithm", "pubkey_algorithm" ], "type": "object" } ] }, "DiscoveryTrustedCertificateMetadata": { "allOf": [ { "properties": { "certificate": { "$ref": "#/components/schemas/DiscoveryCertificateMetadata" }, "extended_usage": { "$ref": "#/components/schemas/DiscoveryExtendedUsage" } }, "required": [ "certificate" ], "type": "object" } ] }, "DiscoveryCertificateSigningRequest": { "allOf": [ { "properties": { "pubkey_algorithm": { "$ref": "#/components/schemas/DiscoveryCryptographicAlgorithm" }, "signature_algorithm": { "$ref": "#/components/schemas/DiscoveryCryptographicAlgorithm" }, "subject_cn": { "additionalProperties": { "type": "string" }, "nullable": true, "type": "object" } }, "required": [ "signature_algorithm", "pubkey_algorithm" ], "type": "object" } ] }, "DiscoveryCertificateRevocationList": { "allOf": [ { "properties": { "issuer_cn": { "additionalProperties": { "type": "string" }, "nullable": true, "type": "object" }, "last_update": { "type": "string" }, "next_update": { "nullable": true, "type": "string" }, "revoked_certificates": { "items": { "$ref": "#/components/schemas/DiscoveryRevokedCertificate" }, "type": "array" }, "signature_algorithm": { "$ref": "#/components/schemas/DiscoveryCryptographicAlgorithm" } }, "required": [ "last_update", "signature_algorithm", "revoked_certificates" ], "type": "object" } ] }, "DiscoveryPkcs7Metadata": { "oneOf": [ { "properties": { "data": { "$ref": "#/components/schemas/DiscoveryPkcs7DataMetadata" } }, "required": [ "data" ], "title": "DiscoveryPkcs7MetadataVariantData", "type": "object" }, { "properties": { "signed_data": { "$ref": "#/components/schemas/DiscoveryPkcs7SignedDataMetadata" } }, "required": [ "signed_data" ], "title": "DiscoveryPkcs7MetadataVariantSignedData", "type": "object" }, { "properties": { "enveloped_data": { "$ref": "#/components/schemas/DiscoveryPkcs7EnvelopedDataMetadata" } }, "required": [ "enveloped_data" ], "title": "DiscoveryPkcs7MetadataVariantEnvelopedData", "type": "object" }, { "properties": { "signed_and_enveloped_data": { "$ref": "#/components/schemas/DiscoveryPkcs7SignedAndEnvelopedDataMetadata" } }, "required": [ "signed_and_enveloped_data" ], "title": "DiscoveryPkcs7MetadataVariantSignedAndEnvelopedData", "type": "object" }, { "properties": { "digested_data": { "$ref": "#/components/schemas/DiscoveryPkcs7DigestedDataMetadata" } }, "required": [ "digested_data" ], "title": "DiscoveryPkcs7MetadataVariantDigestedData", "type": "object" }, { "properties": { "encrypted_data": { "$ref": "#/components/schemas/DiscoveryPkcs7EncryptedDataMetadata" } }, "required": [ "encrypted_data" ], "title": "DiscoveryPkcs7MetadataVariantEncryptedData", "type": "object" }, { "properties": { "data_with_attributes": { "$ref": "#/components/schemas/DiscoveryPkcs7DataWithAttributesMetadata" } }, "required": [ "data_with_attributes" ], "title": "DiscoveryPkcs7MetadataVariantDataWithAttributes", "type": "object" }, { "properties": { "encrypted_private_key_info": { "$ref": "#/components/schemas/DiscoveryPkcs7EncryptedPrivateKeyInfoMetadata" } }, "required": [ "encrypted_private_key_info" ], "title": "DiscoveryPkcs7MetadataVariantEncryptedPrivateKeyInfo", "type": "object" } ] }, "DiscoveryPkcs12Metadata": { "allOf": [ { "properties": { "encrypted": { "type": "boolean" }, "mac_data": { "$ref": "#/components/schemas/DiscoveryPkcs12MacMetadata" } }, "required": [ "encrypted" ], "type": "object" } ] }, "DiscoveryParametersMetadata": { "oneOf": [ { "properties": { "elliptic_curve": { "$ref": "#/components/schemas/DiscoveryEllipticCurveParamsMetadata" } }, "required": [ "elliptic_curve" ], "title": "DiscoveryParametersMetadataVariantEllipticCurve", "type": "object" }, { "properties": { "diffie_hellman": { "$ref": "#/components/schemas/DiscoveryDiffieHellmanParamsMetadata" } }, "required": [ "diffie_hellman" ], "title": "DiscoveryParametersMetadataVariantDiffieHellman", "type": "object" } ] }, "DiscoveryJwtMetadata": { "allOf": [ { "properties": { "header": { "$ref": "#/components/schemas/DiscoveryJwtHeader" }, "signature": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "type": "array" } }, "required": [ "header", "signature" ], "type": "object" } ] }, "DiscoverySshMetadata": { "oneOf": [ { "properties": { "open_ssh_public_key": { "$ref": "#/components/schemas/DiscoveryOpenSshPublicKeyMetadata" } }, "required": [ "open_ssh_public_key" ], "title": "DiscoverySshMetadataVariantOpenSshPublicKey", "type": "object" }, { "properties": { "open_ssh_private_key": { "$ref": "#/components/schemas/DiscoveryOpenSshPrivateKeyMetadata" } }, "required": [ "open_ssh_private_key" ], "title": "DiscoverySshMetadataVariantOpenSshPrivateKey", "type": "object" }, { "properties": { "putty_key": { "$ref": "#/components/schemas/DiscoveryPuTTYKeyMetadata" } }, "required": [ "putty_key" ], "title": "DiscoverySshMetadataVariantPuttyKey", "type": "object" } ] }, "DiscoveryPgpMetadata": { "oneOf": [ { "properties": { "PrivateKey": { "$ref": "#/components/schemas/DiscoveryPgpPrivateKeyMetadata" } }, "required": [ "PrivateKey" ], "title": "DiscoveryPgpMetadataVariantPrivateKey", "type": "object" }, { "properties": { "PublicKey": { "$ref": "#/components/schemas/DiscoveryPgpPublicKeyMetadata" } }, "required": [ "PublicKey" ], "title": "DiscoveryPgpMetadataVariantPublicKey", "type": "object" }, { "properties": { "Message": { "$ref": "#/components/schemas/DiscoveryPgpMessageMetadata" } }, "required": [ "Message" ], "title": "DiscoveryPgpMetadataVariantMessage", "type": "object" }, { "properties": { "Signature": { "$ref": "#/components/schemas/DiscoveryPgpSignatureMetadata" } }, "required": [ "Signature" ], "title": "DiscoveryPgpMetadataVariantSignature", "type": "object" } ] }, "DiscoveryDsmSobjectRotationIntervalVariantIntervalDays": { "allOf": [ { "properties": { "$type": { "enum": [ "interval_days" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryDsmSobjectRotationIntervalIntervalDays" } ] }, "DiscoveryDsmSobjectRotationIntervalVariantIntervalMonths": { "allOf": [ { "properties": { "$type": { "enum": [ "interval_months" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryDsmSobjectRotationIntervalIntervalMonths" } ] }, "DiscoveryDsmSobjectRotationIntervalVariantOther": { "allOf": [ { "properties": { "$type": { "enum": [ "other" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "properties": {}, "type": "object" } ] }, "DiscoveryDsmSobjectRotateCopiedKeysVariantAllExternal": { "allOf": [ { "properties": { "$type": { "enum": [ "all_external" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "properties": {}, "type": "object" } ] }, "DiscoveryDsmSobjectRotateCopiedKeysVariantSelect": { "allOf": [ { "properties": { "$type": { "enum": [ "select" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryDsmSobjectRotateCopiedKeysSelect" } ] }, "DiscoveryDsmSobjectRotateCopiedKeysVariantOther": { "allOf": [ { "properties": { "$type": { "enum": [ "other" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "properties": {}, "type": "object" } ] }, "DiscoveryKeyPolicyIdVariantAwsKeyPolicySid": { "allOf": [ { "properties": { "$type": { "enum": [ "aws_key_policy_sid" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryKeyPolicyIdAwsKeyPolicySid" } ] }, "DiscoveryKeyPolicyIdVariantAwsGrantId": { "allOf": [ { "properties": { "$type": { "enum": [ "aws_grant_id" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryKeyPolicyIdAwsGrantId" } ] }, "DiscoveryAzureDatabaseEncryptionDetails": { "allOf": [ { "properties": { "analysis": { "$ref": "#/components/schemas/DiscoveryAzureDatabaseAnalysis" }, "key_source": { "$ref": "#/components/schemas/DiscoveryAzureDatabaseEncryptionKeySource" } }, "required": [ "key_source", "analysis" ], "type": "object" } ] }, "DiscoveryAzureDatabaseProperties": { "allOf": [ { "properties": { "database_name": { "type": "string" }, "is_tde_enabled": { "description": "If true, encryption is in place either with a CMK (customer managed key)\nor MMK (microsoft managed key).", "type": "boolean" } }, "required": [ "database_name", "is_tde_enabled" ], "type": "object" } ] }, "DiscoveryAzureKeyAvailabilitySoftDeleted": { "allOf": [ { "properties": { "deleted_on": { "example": "20170509T070912Z", "pattern": "^\\d{4}\\d{2}\\d{2}T\\d{2}\\d{2}\\d{2}Z$", "type": "string" }, "scheduled_purge_on": { "example": "20170509T070912Z", "pattern": "^\\d{4}\\d{2}\\d{2}T\\d{2}\\d{2}\\d{2}Z$", "type": "string" } }, "required": [ "deleted_on" ], "type": "object" } ] }, "DiscoveryAzureStorageKeySourceKeyVault": { "allOf": [ { "description": "AzureStorageAccountKvProps changed to String.", "properties": { "key_id": { "type": "string" } }, "required": [ "key_id" ], "type": "object" } ] }, "DiscoveryPermissionFlag": { "enum": [ "Read", "Write", "Execute" ], "type": "string" }, "DiscoveryOwnerAndFlags": { "allOf": [ { "description": "Properties for \"User\"s and \"Group\"s of a file", "properties": { "flags": { "description": "What the owner can do with the file", "items": { "$ref": "#/components/schemas/DiscoveryPermissionFlag" }, "type": "array" }, "id": { "description": "User or Group id -- String to allow representing both POSIX & Windows IDs", "type": "string" }, "name": { "description": "User or Group name", "type": "string" } }, "required": [ "id", "name", "flags" ], "type": "object" } ] }, "DiscoveryCryptographicAlgorithm": { "oneOf": [ { "properties": { "skipped": { "maximum": 4294967295, "minimum": 0, "type": "integer" } }, "required": [ "skipped" ], "type": "object" } ] }, "DiscoveryEncryptionMetadata": { "description": "Describes whether the cryptographic material is wrapped in a symmetric key -- requiring a passphrase", "oneOf": [ { "enum": [ "unencrypted" ], "title": "DiscoveryEncryptionMetadataVariantUnencrypted", "type": "string" }, { "properties": { "encrypted": { "$ref": "#/components/schemas/DiscoveryEncryptionMetadataEncrypted" } }, "required": [ "encrypted" ], "title": "DiscoveryEncryptionMetadataVariantEncrypted", "type": "object" } ] }, "DiscoveryExtendedUsage": { "allOf": [ { "properties": { "allowed_usages": { "items": { "$ref": "#/components/schemas/DiscoveryExtendedKeyUsage" }, "nullable": true, "type": "array" }, "rejected_usages": { "items": { "$ref": "#/components/schemas/DiscoveryExtendedKeyUsage" }, "nullable": true, "type": "array" } }, "type": "object" } ] }, "DiscoveryRevokedCertificate": { "allOf": [ { "properties": { "revoked_at": { "type": "string" }, "serial": { "type": "string" } }, "required": [ "serial", "revoked_at" ], "type": "object" } ] }, "DiscoveryPkcs7DataMetadata": { "allOf": [ { "properties": { "version": { "maximum": 4294967295, "minimum": 0, "type": "integer" } }, "required": [ "version" ], "type": "object" } ] }, "DiscoveryPkcs7SignedDataMetadata": { "allOf": [ { "properties": { "certificates": { "items": { "$ref": "#/components/schemas/DiscoveryCertificateMetadata" }, "nullable": true, "type": "array" }, "crls": { "items": { "$ref": "#/components/schemas/DiscoveryCertificateRevocationList" }, "nullable": true, "type": "array" }, "digest_algorithms": { "items": { "$ref": "#/components/schemas/DiscoveryCryptographicAlgorithm" }, "type": "array" }, "encapsulated_content_type": { "type": "string" }, "signer_info": { "items": { "$ref": "#/components/schemas/DiscoveryPkcs7SignerInfoMetadata" }, "type": "array" }, "version": { "maximum": 4294967295, "minimum": 0, "type": "integer" } }, "required": [ "version", "encapsulated_content_type", "digest_algorithms", "signer_info" ], "type": "object" } ] }, "DiscoveryPkcs7EnvelopedDataMetadata": { "allOf": [ { "properties": { "version": { "maximum": 4294967295, "minimum": 0, "type": "integer" } }, "required": [ "version" ], "type": "object" } ] }, "DiscoveryPkcs7SignedAndEnvelopedDataMetadata": { "allOf": [ { "properties": { "version": { "maximum": 4294967295, "minimum": 0, "type": "integer" } }, "required": [ "version" ], "type": "object" } ] }, "DiscoveryPkcs7DigestedDataMetadata": { "allOf": [ { "properties": { "version": { "maximum": 4294967295, "minimum": 0, "type": "integer" } }, "required": [ "version" ], "type": "object" } ] }, "DiscoveryPkcs7EncryptedDataMetadata": { "allOf": [ { "properties": { "version": { "maximum": 4294967295, "minimum": 0, "type": "integer" } }, "required": [ "version" ], "type": "object" } ] }, "DiscoveryPkcs7DataWithAttributesMetadata": { "allOf": [ { "properties": { "version": { "maximum": 4294967295, "minimum": 0, "type": "integer" } }, "required": [ "version" ], "type": "object" } ] }, "DiscoveryPkcs7EncryptedPrivateKeyInfoMetadata": { "allOf": [ { "properties": { "version": { "maximum": 4294967295, "minimum": 0, "type": "integer" } }, "required": [ "version" ], "type": "object" } ] }, "DiscoveryPkcs12MacMetadata": { "allOf": [ { "properties": { "algorith": { "$ref": "#/components/schemas/DiscoveryCryptographicAlgorithm" }, "digest": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "type": "array" } }, "required": [ "algorith", "digest" ], "type": "object" } ] }, "DiscoveryEllipticCurveParamsMetadata": { "oneOf": [ { "properties": { "named_curve": { "$ref": "#/components/schemas/DiscoveryCurve" } }, "required": [ "named_curve" ], "title": "DiscoveryEllipticCurveParamsMetadataVariantNamedCurve", "type": "object" }, { "enum": [ "implicit_curve" ], "title": "DiscoveryEllipticCurveParamsMetadataVariantImplicitCurve", "type": "string" }, { "enum": [ "specified_curve" ], "title": "DiscoveryEllipticCurveParamsMetadataVariantSpecifiedCurve", "type": "string" } ] }, "DiscoveryDiffieHellmanParamsMetadata": { "allOf": [ { "properties": { "g": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "type": "array" }, "p": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "type": "array" }, "q": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "nullable": true, "type": "array" } }, "required": [ "p", "g" ], "type": "object" } ] }, "DiscoveryJwtHeader": { "oneOf": [ { "properties": { "jws_header": { "$ref": "#/components/schemas/DiscoveryJwsHeaderMetadata" } }, "required": [ "jws_header" ], "title": "DiscoveryJwtHeaderVariantJwsHeader", "type": "object" }, { "properties": { "protected_jws_header": { "$ref": "#/components/schemas/DiscoveryJwsHeaderMetadata" } }, "required": [ "protected_jws_header" ], "title": "DiscoveryJwtHeaderVariantProtectedJwsHeader", "type": "object" }, { "properties": { "jwe_header": { "$ref": "#/components/schemas/DiscoveryJweHeaderMetadata" } }, "required": [ "jwe_header" ], "title": "DiscoveryJwtHeaderVariantJweHeader", "type": "object" }, { "properties": { "protected_jwe_header": { "$ref": "#/components/schemas/DiscoveryJweHeaderMetadata" } }, "required": [ "protected_jwe_header" ], "title": "DiscoveryJwtHeaderVariantProtectedJweHeader", "type": "object" } ] }, "DiscoveryOpenSshPublicKeyMetadata": { "allOf": [ { "properties": { "comment": { "type": "string" }, "public_key": { "$ref": "#/components/schemas/DiscoveryPublicKeyMetadata" } }, "required": [ "comment", "public_key" ], "type": "object" } ] }, "DiscoveryOpenSshPrivateKeyMetadata": { "allOf": [ { "properties": { "comment": { "type": "string" }, "private_key": { "$ref": "#/components/schemas/DiscoveryPrivateKeyMetadata" }, "public_key": { "$ref": "#/components/schemas/DiscoveryPublicKeyMetadata" } }, "required": [ "comment", "public_key", "private_key" ], "type": "object" } ] }, "DiscoveryPuTTYKeyMetadata": { "allOf": [ { "properties": { "comment": { "type": "string" }, "private_key": { "$ref": "#/components/schemas/DiscoveryPrivateKeyMetadata" }, "private_mac": { "type": "string" }, "public_key": { "$ref": "#/components/schemas/DiscoveryPublicKeyMetadata" }, "version": { "maximum": 4294967295, "minimum": 0, "type": "integer" } }, "required": [ "version", "comment", "public_key", "private_key", "private_mac" ], "type": "object" } ] }, "DiscoveryPgpPrivateKeyMetadata": { "allOf": [ { "properties": {}, "type": "object" } ] }, "DiscoveryPgpPublicKeyMetadata": { "allOf": [ { "properties": {}, "type": "object" } ] }, "DiscoveryPgpMessageMetadata": { "enum": [ "Literal", "Compressed", "Signed", "SignedOnePass", "Encrypted" ], "type": "string" }, "DiscoveryPgpSignatureMetadata": { "allOf": [ { "properties": {}, "type": "object" } ] }, "DiscoveryDsmSobjectRotationIntervalIntervalDays": { "allOf": [ { "properties": { "days": { "maximum": 4294967295, "minimum": 0, "type": "integer" } }, "required": [ "days" ], "type": "object" } ] }, "DiscoveryDsmSobjectRotationIntervalIntervalMonths": { "allOf": [ { "properties": { "months": { "maximum": 4294967295, "minimum": 0, "type": "integer" } }, "required": [ "months" ], "type": "object" } ] }, "DiscoveryDsmSobjectRotateCopiedKeysSelect": { "allOf": [ { "properties": { "sobject_ids": { "items": { "format": "uuid", "type": "string" }, "type": "array" } }, "required": [ "sobject_ids" ], "type": "object" } ] }, "DiscoveryKeyPolicyIdAwsKeyPolicySid": { "allOf": [ { "properties": { "sid": { "type": "string" } }, "required": [ "sid" ], "type": "object" } ] }, "DiscoveryKeyPolicyIdAwsGrantId": { "allOf": [ { "properties": { "id": { "type": "string" } }, "required": [ "id" ], "type": "object" } ] }, "DiscoveryAzureDatabaseAnalysis": { "allOf": [ { "properties": { "encrypted_with_expired_key": { "nullable": true, "type": "boolean" }, "encrypted_with_exportable_key": { "nullable": true, "type": "boolean" }, "encrypted_with_noncompliant_key": { "type": "boolean" }, "encrypted_with_overly_permissive_management_key": { "nullable": true, "type": "boolean" }, "encrypted_with_overly_permissive_usage_key": { "nullable": true, "type": "boolean" }, "encrypted_with_quantum_vulnerable_key": { "nullable": true, "type": "boolean" }, "encrypted_with_shared_key": { "nullable": true, "type": "boolean" }, "key_availability": { "$ref": "#/components/schemas/DiscoveryKeyAvailability" } }, "required": [ "encrypted_with_noncompliant_key" ], "type": "object" } ] }, "DiscoveryAzureDatabaseEncryptionKeySource": { "description": "Specifier for optional CMK Keys.", "discriminator": { "mapping": { "database_level_customer_managed_key": "DiscoveryAzureDatabaseEncryptionKeySourceVariantDatabaseLevelCustomerManagedKey", "deployment_level_customer_managed_key": "DiscoveryAzureDatabaseEncryptionKeySourceVariantDeploymentLevelCustomerManagedKey", "deployment_level_microsoft_managed_key": "DiscoveryAzureDatabaseEncryptionKeySourceVariantDeploymentLevelMicrosoftManagedKey" }, "propertyName": "$type" }, "oneOf": [ { "$ref": "#/components/schemas/DiscoveryAzureDatabaseEncryptionKeySourceVariantDeploymentLevelCustomerManagedKey" }, { "$ref": "#/components/schemas/DiscoveryAzureDatabaseEncryptionKeySourceVariantDeploymentLevelMicrosoftManagedKey" }, { "$ref": "#/components/schemas/DiscoveryAzureDatabaseEncryptionKeySourceVariantDatabaseLevelCustomerManagedKey" } ] }, "DiscoveryEncryptionMetadataEncrypted": { "allOf": [ { "properties": { "algorithm": { "$ref": "#/components/schemas/DiscoveryCryptographicAlgorithm" } }, "required": [ "algorithm" ], "type": "object" } ] }, "DiscoveryExtendedKeyUsage": { "oneOf": [ { "enum": [ "server_auth" ], "title": "DiscoveryExtendedKeyUsageVariantServerAuth", "type": "string" }, { "enum": [ "client_auth" ], "title": "DiscoveryExtendedKeyUsageVariantClientAuth", "type": "string" }, { "enum": [ "code_signing" ], "title": "DiscoveryExtendedKeyUsageVariantCodeSigning", "type": "string" }, { "enum": [ "email_protection" ], "title": "DiscoveryExtendedKeyUsageVariantEmailProtection", "type": "string" }, { "enum": [ "time_stamping" ], "title": "DiscoveryExtendedKeyUsageVariantTimeStamping", "type": "string" }, { "enum": [ "ocsp_signing" ], "title": "DiscoveryExtendedKeyUsageVariantOcspSigning", "type": "string" }, { "properties": { "unknown": { "description": "Unknown value, will contain the OID that was found", "type": "string" } }, "required": [ "unknown" ], "title": "DiscoveryExtendedKeyUsageVariantUnknown", "type": "object" } ] }, "DiscoveryPkcs7SignerInfoMetadata": { "allOf": [ { "properties": { "digest_alg": { "$ref": "#/components/schemas/DiscoveryCryptographicAlgorithm" }, "sid": { "$ref": "#/components/schemas/DiscoveryPkcs7SignerIdentifieroMetadata" }, "signature": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "type": "array" }, "signature_alg": { "$ref": "#/components/schemas/DiscoveryCryptographicAlgorithm" }, "signed_attributes": { "items": { "$ref": "#/components/schemas/DiscoveryPkcs7Attribute" }, "nullable": true, "type": "array" }, "unsigned_attributes": { "items": { "$ref": "#/components/schemas/DiscoveryPkcs7Attribute" }, "nullable": true, "type": "array" }, "version": { "maximum": 4294967295, "minimum": 0, "type": "integer" } }, "required": [ "version", "digest_alg", "sid", "signature_alg", "signature" ], "type": "object" } ] }, "DiscoveryCurve": { "description": "Elliptic curves for selected crypto algorithms", "oneOf": [ { "enum": [ "p256" ], "title": "DiscoveryCurveVariantP256", "type": "string" }, { "enum": [ "p384" ], "title": "DiscoveryCurveVariantP384", "type": "string" }, { "enum": [ "p521" ], "title": "DiscoveryCurveVariantP521", "type": "string" }, { "enum": [ "k256" ], "title": "DiscoveryCurveVariantK256", "type": "string" }, { "enum": [ "x25519" ], "title": "DiscoveryCurveVariantX25519", "type": "string" }, { "enum": [ "ed25519" ], "title": "DiscoveryCurveVariantEd25519", "type": "string" }, { "enum": [ "x448" ], "title": "DiscoveryCurveVariantX448", "type": "string" }, { "enum": [ "ed448" ], "title": "DiscoveryCurveVariantEd448", "type": "string" }, { "enum": [ "brainpool_p256r1" ], "title": "DiscoveryCurveVariantBrainpoolP256r1", "type": "string" }, { "enum": [ "brainpool_p384r1" ], "title": "DiscoveryCurveVariantBrainpoolP384r1", "type": "string" }, { "enum": [ "brainpool_p512r1" ], "title": "DiscoveryCurveVariantBrainpoolP512r1", "type": "string" }, { "properties": { "other": { "description": "A catch-all if you really need to accept arbitrary curve names", "type": "string" } }, "required": [ "other" ], "title": "DiscoveryCurveVariantOther", "type": "object" }, { "enum": [ "prime192_v1" ], "title": "DiscoveryCurveVariantPrime192V1", "type": "string" }, { "enum": [ "prime192_v2" ], "title": "DiscoveryCurveVariantPrime192V2", "type": "string" }, { "enum": [ "prime192_v3" ], "title": "DiscoveryCurveVariantPrime192V3", "type": "string" }, { "enum": [ "prime239_v1" ], "title": "DiscoveryCurveVariantPrime239V1", "type": "string" }, { "enum": [ "prime239_v2" ], "title": "DiscoveryCurveVariantPrime239V2", "type": "string" }, { "enum": [ "prime239_v3" ], "title": "DiscoveryCurveVariantPrime239V3", "type": "string" }, { "enum": [ "prime256_v1" ], "title": "DiscoveryCurveVariantPrime256V1", "type": "string" }, { "enum": [ "ansi_t163_k1" ], "title": "DiscoveryCurveVariantAnsiT163K1", "type": "string" }, { "enum": [ "ansi_t163_r1" ], "title": "DiscoveryCurveVariantAnsiT163R1", "type": "string" }, { "enum": [ "ansi_t239_k1" ], "title": "DiscoveryCurveVariantAnsiT239K1", "type": "string" }, { "enum": [ "sec_t113_r1" ], "title": "DiscoveryCurveVariantSecT113R1", "type": "string" }, { "enum": [ "sec_t113_r2" ], "title": "DiscoveryCurveVariantSecT113R2", "type": "string" }, { "enum": [ "sec_p112_r1" ], "title": "DiscoveryCurveVariantSecP112R1", "type": "string" }, { "enum": [ "sec_p112_r2" ], "title": "DiscoveryCurveVariantSecP112R2", "type": "string" }, { "enum": [ "ansi_p160_r1" ], "title": "DiscoveryCurveVariantAnsiP160R1", "type": "string" }, { "enum": [ "ansi_p160_k1" ], "title": "DiscoveryCurveVariantAnsiP160K1", "type": "string" }, { "enum": [ "ansi_p256_k1" ], "title": "DiscoveryCurveVariantAnsiP256K1", "type": "string" }, { "enum": [ "ansi_t163_r2" ], "title": "DiscoveryCurveVariantAnsiT163R2", "type": "string" }, { "enum": [ "ansi_t283_k1" ], "title": "DiscoveryCurveVariantAnsiT283K1", "type": "string" }, { "enum": [ "ansi_t283_r1" ], "title": "DiscoveryCurveVariantAnsiT283R1", "type": "string" }, { "enum": [ "sec_t131_r1" ], "title": "DiscoveryCurveVariantSecT131R1", "type": "string" }, { "enum": [ "sec_t131_r2" ], "title": "DiscoveryCurveVariantSecT131R2", "type": "string" }, { "enum": [ "ansi_t193_r1" ], "title": "DiscoveryCurveVariantAnsiT193R1", "type": "string" }, { "enum": [ "ansi_t193_r2" ], "title": "DiscoveryCurveVariantAnsiT193R2", "type": "string" }, { "enum": [ "ansi_t233_k1" ], "title": "DiscoveryCurveVariantAnsiT233K1", "type": "string" }, { "enum": [ "ansi_t233_r1" ], "title": "DiscoveryCurveVariantAnsiT233R1", "type": "string" }, { "enum": [ "sec_p128_r1" ], "title": "DiscoveryCurveVariantSecP128R1", "type": "string" }, { "enum": [ "sec_p128_r2" ], "title": "DiscoveryCurveVariantSecP128R2", "type": "string" }, { "enum": [ "ansi_p160_r2" ], "title": "DiscoveryCurveVariantAnsiP160R2", "type": "string" }, { "enum": [ "ansi_p192_k1" ], "title": "DiscoveryCurveVariantAnsiP192K1", "type": "string" }, { "enum": [ "ansi_p224_k1" ], "title": "DiscoveryCurveVariantAnsiP224K1", "type": "string" }, { "enum": [ "ansi_p224_r1" ], "title": "DiscoveryCurveVariantAnsiP224R1", "type": "string" }, { "enum": [ "ansi_p384_r1" ], "title": "DiscoveryCurveVariantAnsiP384R1", "type": "string" }, { "enum": [ "ansi_p521_r1" ], "title": "DiscoveryCurveVariantAnsiP521R1", "type": "string" }, { "enum": [ "ansi_t409_k1" ], "title": "DiscoveryCurveVariantAnsiT409K1", "type": "string" }, { "enum": [ "ansi_t409_r1" ], "title": "DiscoveryCurveVariantAnsiT409R1", "type": "string" }, { "enum": [ "ansi_t571_k1" ], "title": "DiscoveryCurveVariantAnsiT571K1", "type": "string" }, { "enum": [ "ansi_t571_r1" ], "title": "DiscoveryCurveVariantAnsiT571R1", "type": "string" }, { "enum": [ "c2_pnb163_v1" ], "title": "DiscoveryCurveVariantC2Pnb163V1", "type": "string" }, { "enum": [ "c2_pnb163_v2" ], "title": "DiscoveryCurveVariantC2Pnb163V2", "type": "string" }, { "enum": [ "c2_pnb163_v3" ], "title": "DiscoveryCurveVariantC2Pnb163V3", "type": "string" }, { "enum": [ "c2_pnb176_w1" ], "title": "DiscoveryCurveVariantC2Pnb176W1", "type": "string" }, { "enum": [ "c2_tnb191_v1" ], "title": "DiscoveryCurveVariantC2Tnb191V1", "type": "string" }, { "enum": [ "c2_tnb191_v2" ], "title": "DiscoveryCurveVariantC2Tnb191V2", "type": "string" }, { "enum": [ "c2_tnb191_v3" ], "title": "DiscoveryCurveVariantC2Tnb191V3", "type": "string" }, { "enum": [ "c2_onb191_v4" ], "title": "DiscoveryCurveVariantC2Onb191V4", "type": "string" }, { "enum": [ "c2_onb191_v5" ], "title": "DiscoveryCurveVariantC2Onb191V5", "type": "string" }, { "enum": [ "c2_pnb208_w1" ], "title": "DiscoveryCurveVariantC2Pnb208W1", "type": "string" }, { "enum": [ "c2_tnb239_v1" ], "title": "DiscoveryCurveVariantC2Tnb239V1", "type": "string" }, { "enum": [ "c2_tnb239_v2" ], "title": "DiscoveryCurveVariantC2Tnb239V2", "type": "string" }, { "enum": [ "c2_tnb239_v3" ], "title": "DiscoveryCurveVariantC2Tnb239V3", "type": "string" }, { "enum": [ "c2_onb239_v4" ], "title": "DiscoveryCurveVariantC2Onb239V4", "type": "string" }, { "enum": [ "c2_onb239_v5" ], "title": "DiscoveryCurveVariantC2Onb239V5", "type": "string" }, { "enum": [ "c2_pnb272_w1" ], "title": "DiscoveryCurveVariantC2Pnb272W1", "type": "string" }, { "enum": [ "c2_pnb304_w1" ], "title": "DiscoveryCurveVariantC2Pnb304W1", "type": "string" }, { "enum": [ "c2_tnb359_v1" ], "title": "DiscoveryCurveVariantC2Tnb359V1", "type": "string" }, { "enum": [ "c2_pnb368_w1" ], "title": "DiscoveryCurveVariantC2Pnb368W1", "type": "string" }, { "enum": [ "c2_tnb431_r1" ], "title": "DiscoveryCurveVariantC2Tnb431R1", "type": "string" }, { "enum": [ "wap_wsg_idm_ecid_wtls1" ], "title": "DiscoveryCurveVariantWapWsgIdmEcidWtls1", "type": "string" }, { "enum": [ "wap_wsg_idm_ecid_wtls3" ], "title": "DiscoveryCurveVariantWapWsgIdmEcidWtls3", "type": "string" }, { "enum": [ "wap_wsg_idm_ecid_wtls4" ], "title": "DiscoveryCurveVariantWapWsgIdmEcidWtls4", "type": "string" }, { "enum": [ "wap_wsg_idm_ecid_wtls5" ], "title": "DiscoveryCurveVariantWapWsgIdmEcidWtls5", "type": "string" }, { "enum": [ "wap_wsg_idm_ecid_wtls6" ], "title": "DiscoveryCurveVariantWapWsgIdmEcidWtls6", "type": "string" }, { "enum": [ "wap_wsg_idm_ecid_wtls7" ], "title": "DiscoveryCurveVariantWapWsgIdmEcidWtls7", "type": "string" }, { "enum": [ "wap_wsg_idm_ecid_wtls8" ], "title": "DiscoveryCurveVariantWapWsgIdmEcidWtls8", "type": "string" }, { "enum": [ "wap_wsg_idm_ecid_wtls9" ], "title": "DiscoveryCurveVariantWapWsgIdmEcidWtls9", "type": "string" }, { "enum": [ "wap_wsg_idm_ecid_wtls10" ], "title": "DiscoveryCurveVariantWapWsgIdmEcidWtls10", "type": "string" }, { "enum": [ "wap_wsg_idm_ecid_wtls11" ], "title": "DiscoveryCurveVariantWapWsgIdmEcidWtls11", "type": "string" }, { "enum": [ "wap_wsg_idm_ecid_wtls12" ], "title": "DiscoveryCurveVariantWapWsgIdmEcidWtls12", "type": "string" }, { "enum": [ "brainpool_p160_r1" ], "title": "DiscoveryCurveVariantBrainpoolP160R1", "type": "string" }, { "enum": [ "brainpool_p160_t1" ], "title": "DiscoveryCurveVariantBrainpoolP160T1", "type": "string" }, { "enum": [ "brainpool_p192_r1" ], "title": "DiscoveryCurveVariantBrainpoolP192R1", "type": "string" }, { "enum": [ "brainpool_p192_t1" ], "title": "DiscoveryCurveVariantBrainpoolP192T1", "type": "string" }, { "enum": [ "brainpool_p224_r1" ], "title": "DiscoveryCurveVariantBrainpoolP224R1", "type": "string" }, { "enum": [ "brainpool_p224_t1" ], "title": "DiscoveryCurveVariantBrainpoolP224T1", "type": "string" }, { "enum": [ "brainpool_p256_r1" ], "title": "DiscoveryCurveVariantBrainpoolP256R1", "type": "string" }, { "enum": [ "brainpool_p256_t1" ], "title": "DiscoveryCurveVariantBrainpoolP256T1", "type": "string" }, { "enum": [ "brainpool_p320_r1" ], "title": "DiscoveryCurveVariantBrainpoolP320R1", "type": "string" }, { "enum": [ "brainpool_p320_t1" ], "title": "DiscoveryCurveVariantBrainpoolP320T1", "type": "string" }, { "enum": [ "brainpool_p384_r1" ], "title": "DiscoveryCurveVariantBrainpoolP384R1", "type": "string" }, { "enum": [ "brainpool_p384_t1" ], "title": "DiscoveryCurveVariantBrainpoolP384T1", "type": "string" }, { "enum": [ "brainpool_p512_r1" ], "title": "DiscoveryCurveVariantBrainpoolP512R1", "type": "string" }, { "enum": [ "brainpool_p512_t1" ], "title": "DiscoveryCurveVariantBrainpoolP512T1", "type": "string" } ] }, "DiscoveryJwsHeaderMetadata": { "allOf": [ { "properties": { "algorithm": { "nullable": true, "type": "string" }, "content_type": { "nullable": true, "type": "string" }, "critical": { "items": { "type": "string" }, "nullable": true, "type": "array" }, "jwk": { "$ref": "#/components/schemas/DiscoveryCryptographicMetadata" }, "jwk_set_url": { "nullable": true, "type": "string" }, "key_id": { "nullable": true, "type": "string" }, "nonce": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "nullable": true, "type": "array" }, "token_type": { "nullable": true, "type": "string" }, "url": { "nullable": true, "type": "string" }, "x509_certificate_chain": { "items": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "type": "array" }, "nullable": true, "type": "array" }, "x509_certificate_sha1_thumbprint": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "nullable": true, "type": "array" }, "x509_certificate_sha256_thumbprint": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "nullable": true, "type": "array" }, "x509_url": { "nullable": true, "type": "string" } }, "type": "object" } ] }, "DiscoveryJweHeaderMetadata": { "allOf": [ { "properties": { "agreement_partyuinfo": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "nullable": true, "type": "array" }, "agreement_partyvinfo": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "nullable": true, "type": "array" }, "algorithm": { "nullable": true, "type": "string" }, "audience": { "nullable": true, "type": "string" }, "compression": { "nullable": true, "type": "string" }, "content_encryption": { "nullable": true, "type": "string" }, "content_type": { "nullable": true, "type": "string" }, "critical": { "items": { "type": "string" }, "nullable": true, "type": "array" }, "issuer": { "nullable": true, "type": "string" }, "jwk": { "$ref": "#/components/schemas/DiscoveryCryptographicMetadata" }, "jwk_set_url": { "nullable": true, "type": "string" }, "key_id": { "nullable": true, "type": "string" }, "nonce": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "nullable": true, "type": "array" }, "subject": { "nullable": true, "type": "string" }, "token_type": { "nullable": true, "type": "string" }, "url": { "nullable": true, "type": "string" }, "x509_certificate_chain": { "items": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "type": "array" }, "nullable": true, "type": "array" }, "x509_certificate_sha1_thumbprint": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "nullable": true, "type": "array" }, "x509_certificate_sha256_thumbprint": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "nullable": true, "type": "array" }, "x509_url": { "nullable": true, "type": "string" } }, "type": "object" } ] }, "DiscoveryAzureDatabaseEncryptionKeySourceVariantDeploymentLevelCustomerManagedKey": { "allOf": [ { "properties": { "$type": { "enum": [ "deployment_level_customer_managed_key" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAzureDatabaseEncryptionKeySourceDeploymentLevelCustomerManagedKey" } ] }, "DiscoveryAzureDatabaseEncryptionKeySourceVariantDeploymentLevelMicrosoftManagedKey": { "allOf": [ { "properties": { "$type": { "enum": [ "deployment_level_microsoft_managed_key" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "properties": {}, "type": "object" } ] }, "DiscoveryAzureDatabaseEncryptionKeySourceVariantDatabaseLevelCustomerManagedKey": { "allOf": [ { "properties": { "$type": { "enum": [ "database_level_customer_managed_key" ], "type": "string" } }, "required": [ "$type" ], "type": "object" }, { "$ref": "#/components/schemas/DiscoveryAzureDatabaseEncryptionKeySourceDatabaseLevelCustomerManagedKey" } ] }, "DiscoveryPkcs7SignerIdentifieroMetadata": { "oneOf": [ { "properties": { "issuer_and_serial_number": { "$ref": "#/components/schemas/DiscoveryPkcs7SignerIdentifieroMetadataIssuerAndSerialNumber" } }, "required": [ "issuer_and_serial_number" ], "title": "DiscoveryPkcs7SignerIdentifieroMetadataVariantIssuerAndSerialNumber", "type": "object" }, { "properties": { "subject_key_identifier": { "$ref": "#/components/schemas/DiscoveryPkcs7SignerIdentifieroMetadataSubjectKeyIdentifier" } }, "required": [ "subject_key_identifier" ], "title": "DiscoveryPkcs7SignerIdentifieroMetadataVariantSubjectKeyIdentifier", "type": "object" } ] }, "DiscoveryPkcs7Attribute": { "allOf": [ { "properties": { "attribute_type": { "type": "string" }, "values": { "items": { "type": "string" }, "type": "array" } }, "required": [ "attribute_type", "values" ], "type": "object" } ] }, "DiscoveryAzureDatabaseEncryptionKeySourceDeploymentLevelCustomerManagedKey": { "allOf": [ { "properties": { "key_id": { "type": "string" } }, "required": [ "key_id" ], "type": "object" } ] }, "DiscoveryAzureDatabaseEncryptionKeySourceDatabaseLevelCustomerManagedKey": { "allOf": [ { "properties": { "key_id": { "type": "string" } }, "required": [ "key_id" ], "type": "object" } ] }, "DiscoveryPkcs7SignerIdentifieroMetadataIssuerAndSerialNumber": { "allOf": [ { "properties": { "name": { "items": { "type": "string" }, "type": "array" }, "serial_number": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "type": "array" } }, "required": [ "name", "serial_number" ], "type": "object" } ] }, "DiscoveryPkcs7SignerIdentifieroMetadataSubjectKeyIdentifier": { "allOf": [ { "properties": { "id": { "items": { "maximum": 255, "minimum": 0, "type": "integer" }, "type": "array" } }, "required": [ "id" ], "type": "object" } ] } }, "securitySchemes": { "Oauth2ClientCredentials": { "description": "OAuth 2.0 client credential flow, see https://datatracker.ietf.org/doc/html/rfc6749#section-4.4.", "flows": { "clientCredentials": { "scopes": {}, "tokenUrl": "https://api.armor.fortanix.com/api/v1/iam/session/oauth2/token" } }, "type": "oauth2" } } } } ````