add_assessment_test
This command adds a test to an existing 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_test
GuardAPI syntax
add_assessment_test parameter=value
Parameters
Parameter | Value type | Description |
---|---|---|
assessmentDescription | String | Required. |
datasourceType | String | For valid values, call add_assessment_test from the command line with --help=true .
|
exceptionsGroup | String | |
explanation | String | |
fromDate | String | |
severity | String | Valid values:
|
testDescription | String | Required. |
testseparator | String | The testseparator parameter specifies the delimiter that is used to
separate tests when multiple test descriptions are included in the command. This parameter provides
clarity when an individual testDescription also contains delimiters such as a
comma. The GuardAPI uses the delimiter specified in the testseparator parameter
to identify each test when the command is parsed. As an example, if a test description contains a comma, and multiple tests are separated by a semicolon, specify ';' as the testseparator. Valid values:
The default value is ",". |
threshold | String | |
toDate | String |
Example
grdapi add_assessment_test assessmentDescription="!DPS 2020 Q1 Testing - 2014 (MS SQL) EDS New Tests" testDescription="Description 1 SQL Server must be configurable to overwrite audit log records, oldest first, in the event of unavailability of space for more audit log records; Description 2 Another valid test description" testseparator=";"
This example adds the tests "Description 1 SQL Server must be configurable to overwrite audit log
records, oldest first, in the event of unavailability of space for more audit log records" and
"Description 2 Another valid test description" to the assessment "!DPS 2020 Q1 Testing - 2014 (MS
SQL) EDS New Tests".
The testseparator parameter specifies that
the delimiter ";" is used to separate multiple tests in the command.