Scan Profiles
Update Scan Profile
Use this API to update an existing scan profile.
put/api/discovery-scan-config/v2/scan-profiles
Request body
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
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"
}