Generate Report
Generate security assessment reports based on data collected for security assessment. After generation, use /security-assessment/reports/{id}/status to track the report status.
Details in the request for report generation.
{
"_create_user": "string",
"_create_time": 0,
"_last_modified_user": "string",
"_last_modified_time": 0,
"_revision": 0,
"_resource_type": "string",
"_system_owned": false,
"id": "string",
"display_name": "string",
"description": "string",
"site_ids": [
"string"
],
"start_date": 0,
"segmentation_score_mode": "string",
"timezone": "string",
"end_date": 0,
"file_size": "number",
"scores": [
{
"score_type": "string",
"total_score": "number",
"total_score_for_display": "number",
"last_calculated_on": "number",
"feature_scores": [
{
"feature_type": "string",
"score": "number",
"max_score": "number",
"category_scores": [
{
"category_type": "string",
"score": "number",
"max_score": "number",
"sub_category_scores": [
{
"score": "number",
"max_score": "number",
"sub_category_type": "string"
}
]
}
]
}
],
"segmentation_score_mode": "string"
}
]
}
Report is queued successfully.
{
"_create_user": "string",
"_create_time": 0,
"_last_modified_user": "string",
"_last_modified_time": 0,
"_revision": 0,
"_resource_type": "string",
"_system_owned": false,
"id": "string",
"display_name": "string",
"description": "string",
"site_ids": [
"string"
],
"start_date": 0,
"segmentation_score_mode": "string",
"timezone": "string",
"end_date": 0,
"file_size": "number",
"scores": [
{
"score_type": "string",
"total_score": "number",
"total_score_for_display": "number",
"last_calculated_on": "number",
"feature_scores": [
{
"feature_type": "string",
"score": "number",
"max_score": "number",
"category_scores": [
{
"category_type": "string",
"score": "number",
"max_score": "number",
"sub_category_scores": [
{
"score": "number",
"max_score": "number",
"sub_category_type": "string"
}
]
}
]
}
],
"segmentation_score_mode": "string"
}
]
}
Invalid request.
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Unauthorized
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Forbidden
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Failed
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Required
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Too Many Requests
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Unexpected error.
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
This operation contains the following vendor extensions defined in the spec:
["platform-pov-all"]
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"display_name":"{}","start_date":"integer","site_ids":"{}"}' https://{api_host}/ssp/security-assessment/reports