v1

latestOpenAPI 3.1.0Apache 2.02026-07-245981,1853.0 MB
Scan Profiles

Update Scan Profile

Use this API to update an existing scan profile.

put/api/discovery-scan-config/v2/scan-profiles

Request body

idstring uuid required

Unique ID for Scan Profile

namestring required

Name of Scan Profile

scanType'CATALOG' | 'CATALOG_SCAN' required

Scan Type of Scan Profile

sourceType'SEED' | 'USER_DEFINED'

Source of this Scan Profile

systemNamestring required

System Name of Scan Profile

scanProfileContextobject required

Properties of Scan Profile Specific to System

systemType'RELATIONAL_DATABASE' | 'NON_RELATIONAL_DATABASE' | 'FILE' | 'API' | 'CUSTOM' | 'UNKNOWN' | 'CLOUD_PLATFORM' | 'MACHINE_LEARNING_PLATFORM' required

System Type of Scan Profile

createdDatestring date-time

Creation Date of Scan Profile

displayNamestring

Display Name for System Name of Scan Profile

Example request

{
  "id": "4f162d7c-a563-4bf1-a7c4-b7899f6dcdef",
  "name": "My SQL Scan Profile",
  "scanType": "CATALOG",
  "sourceType": "USER_DEFINED",
  "systemName": "MySQL",
  "scanProfileContext": {
    "type": "MySQL",
    "includes": [
      {
        "database": "OT",
        "table": "Employee",
        "columns": "Name"
      }
    ],
    "excludes": [
      {
        "database": "OT",
        "table": "Credential",
        "columns": "Id"
      }
    ],
    "samplingScan": {
      "enableSampling": false
    },
    "tableLimits": {
      "randomize": false,
      "maxCount": 10
    },
    "tableTypes": [
      "TABLE"
    ],
    "databaseLimits": {
      "randomize": false,
      "maxCount": 1
    }
  },
  "systemType": "RELATIONAL_DATABASE",
  "createdDate": "2021-09-11T01:41:50.143+00:00",
  "displayName": "Amazon Redshift"
}

Response

Scan Profile updated successfully

idstring uuid required

Unique ID for Scan Profile

namestring required

Name of Scan Profile

scanType'CATALOG' | 'CATALOG_SCAN' required

Scan Type of Scan Profile

sourceType'SEED' | 'USER_DEFINED'

Source of this Scan Profile

systemNamestring required

System Name of Scan Profile

scanProfileContextobject required

Properties of Scan Profile Specific to System

systemType'RELATIONAL_DATABASE' | 'NON_RELATIONAL_DATABASE' | 'FILE' | 'API' | 'CUSTOM' | 'UNKNOWN' | 'CLOUD_PLATFORM' | 'MACHINE_LEARNING_PLATFORM' required

System Type of Scan Profile

createdDatestring date-time

Creation Date of Scan Profile

displayNamestring

Display Name for System Name of Scan Profile

Example response

{
  "id": "4f162d7c-a563-4bf1-a7c4-b7899f6dcdef",
  "name": "My SQL Scan Profile",
  "scanType": "CATALOG",
  "sourceType": "USER_DEFINED",
  "systemName": "MySQL",
  "scanProfileContext": {
    "type": "MySQL",
    "includes": [
      {
        "database": "OT",
        "table": "Employee",
        "columns": "Name"
      }
    ],
    "excludes": [
      {
        "database": "OT",
        "table": "Credential",
        "columns": "Id"
      }
    ],
    "samplingScan": {
      "enableSampling": false
    },
    "tableLimits": {
      "randomize": false,
      "maxCount": 10
    },
    "tableTypes": [
      "TABLE"
    ],
    "databaseLimits": {
      "randomize": false,
      "maxCount": 1
    }
  },
  "systemType": "RELATIONAL_DATABASE",
  "createdDate": "2021-09-11T01:41:50.143+00:00",
  "displayName": "Amazon Redshift"
}