Update Report Config
PUT/report/:id
Updates the compliance report generation configuration with the specified ID.
You can update a recurring report schedule through this request. When using this request to update a report schedule, the only body parameter that is required is target.
Request
Path Parameters
Report ID
- application/json; charset=UTF-8
Body
- RelativeTimeRangeConfigModel
- AbsoluteTimeRangeConfigModel
- ToNowTimeRangeConfigModel
Possible values: [aws
, azure
, gcp
, alibaba_cloud
, oci
]
Cloud type
Locale of caller (e.g. en_us, jp). Default is en_us.
Report name
target object
Model for report target
List of cloud account groups
List of cloud accounts
List of compliance Standard IDs
Business unit detailed report compression enabled
True = download now
List of email addresses to receive notification
List of regions
Recurring report schedule in RRULE format
Report scheduling enabled
timeRange object required
See the Time Range Model for details.
Possible values: [BACKWARD
, FORWARD
]
Direction in which to count time. Default = BACKWARD
value objectrequired
Model for RelativeTimeDuration
Number of time units
Possible values: [minute
, hour
, day
, week
, month
, year
]
Time unit
value objectrequired
Model for Time
End timestamp
Start timestamp
Possible values: [MINUTE
, HOUR
, DAY
, WEEK
, MONTH
, YEAR
, EPOCH
, LOGIN
]
Time range object
Possible values: [COMPLIANCE
, RIS
, INVENTORY_OVERVIEW
, INVENTORY_DETAIL
]
Report type. Default is COMPLIANCE.
Responses
- 200
- 400
- 404
success
- application/json; charset=UTF-8
- Schema
- Example (from schema)
Schema
- RelativeTimeRangeConfigModel
- AbsoluteTimeRangeConfigModel
- ToNowTimeRangeConfigModel
Possible values: [aws
, azure
, gcp
, alibaba_cloud
, oci
]
Cloud type
Compliance Standard Deleted
Compliance standard ID
counts object
Model for compliance aggregate count
Number of critical-severity failures
Failed
Number of high-severity failures
Number of informational-severity failures
Number of low-severity failures
Number of medium-severity failures
Passed
Total
User who created this report
Report created on this timestamp
Report ID
Last modified by
Timestamp of last modification
Timestamp of last generated report
Locale of caller (e.g. en_us, jp). Default is en_us.
Report name
Timestamp of next scheduled report
Report generation status
target object
Model for report target
List of cloud account groups
List of cloud accounts
List of compliance Standard IDs
Business unit detailed report compression enabled
True = download now
Notification template id
List of email addresses to receive notification
List of regions
Recurring report schedule in RRULE format
Report scheduling enabled
timeRange object required
See the Time Range Model for details.
Possible values: [BACKWARD
, FORWARD
]
Direction in which to count time. Default = BACKWARD
value objectrequired
Model for RelativeTimeDuration
Number of time units
Possible values: [minute
, hour
, day
, week
, month
, year
]
Time unit
value objectrequired
Model for Time
End timestamp
Start timestamp
Possible values: [MINUTE
, HOUR
, DAY
, WEEK
, MONTH
, YEAR
, EPOCH
, LOGIN
]
Time range object
Total number of reports for the report ID
Possible values: [COMPLIANCE
, RIS
, INVENTORY_OVERVIEW
, INVENTORY_DETAIL
]
Report type. Default is COMPLIANCE.
{
"cloudType": "aws",
"complianceStandardDeleted": true,
"complianceStandardId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"counts": {
"criticalSeverityFailed": 0,
"failed": 0,
"highSeverityFailed": 0,
"informationalSeverityFailed": 0,
"lowSeverityFailed": 0,
"mediumSeverityFailed": 0,
"passed": 0,
"total": 0
},
"createdBy": "string",
"createdOn": 0,
"id": "string",
"lastModifiedBy": "string",
"lastModifiedOn": 0,
"lastScheduled": 0,
"locale": "string",
"name": "string",
"nextSchedule": 0,
"status": "string",
"target": {
"accountGroups": [
"string"
],
"accounts": [
"string"
],
"complianceStandardIds": [
"string"
],
"compressionEnabled": true,
"downloadNow": true,
"notificationTemplateId": "string",
"notifyTo": [
"string"
],
"regions": [
"string"
],
"schedule": "string",
"scheduleEnabled": true,
"timeRange": {
"relativeTimeType": "BACKWARD",
"type": "relative",
"value": {
"amount": 0,
"unit": "minute"
}
}
},
"totalInstanceCount": 0,
"type": "COMPLIANCE"
}
missing_required_parameter / invalid_parameter_value
not_found