add_assessment_datasource
This command adds a datasource to a security assessment.
This API is available in Guardium V9.5 and later.
REST API syntax
This API is available as a REST service with the
POST
method. Call this API as
follows:POST https://[Guardium hostname or IP address]:8443/restAPI/assessment_datasource
GuardAPI syntax
add_assessment_datasource parameter=value
Parameters
Parameter | Value type | Description |
---|---|---|
assessmentDescription | String | Required. This string is a variable that is unique. Ensure that there is no previous assessment with the same description. If there is an existing one, an error occurs. |
datasourceName | String | Required. This string is a variable, and must be the name of an existing data source. If a datasource with the defined string is not present, then an error occurs. |
Example
grdapi add_assessment_datasource assessmentDescription=Assess1 datasourceName=DS1