DownloadSecurityAssessmentReportDetails¶
-
class
oci.data_safe.models.DownloadSecurityAssessmentReportDetails(**kwargs)¶ Bases:
objectThe details used to download a security assessment report.
Attributes
FORMAT_PDFA constant which can be used with the format property of a DownloadSecurityAssessmentReportDetails. FORMAT_STIGXLSA constant which can be used with the format property of a DownloadSecurityAssessmentReportDetails. FORMAT_XLSA constant which can be used with the format property of a DownloadSecurityAssessmentReportDetails. format[Required] Gets the format of this DownloadSecurityAssessmentReportDetails. is_single_reportGets the is_single_report of this DownloadSecurityAssessmentReportDetails. Methods
__init__(**kwargs)Initializes a new DownloadSecurityAssessmentReportDetails object with values from keyword arguments. -
FORMAT_PDF= 'PDF'¶ A constant which can be used with the format property of a DownloadSecurityAssessmentReportDetails. This constant has a value of “PDF”
-
FORMAT_STIGXLS= 'STIGXLS'¶ A constant which can be used with the format property of a DownloadSecurityAssessmentReportDetails. This constant has a value of “STIGXLS”
-
FORMAT_XLS= 'XLS'¶ A constant which can be used with the format property of a DownloadSecurityAssessmentReportDetails. This constant has a value of “XLS”
-
__init__(**kwargs)¶ Initializes a new DownloadSecurityAssessmentReportDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - format (str) – The value to assign to the format property of this DownloadSecurityAssessmentReportDetails. Allowed values for this property are: “PDF”, “XLS”, “STIGXLS”
- is_single_report (bool) – The value to assign to the is_single_report property of this DownloadSecurityAssessmentReportDetails.
-
format¶ [Required] Gets the format of this DownloadSecurityAssessmentReportDetails. Format of the Security Assessment report.
Allowed values for this property are: “PDF”, “XLS”, “STIGXLS”
Returns: The format of this DownloadSecurityAssessmentReportDetails. Return type: str
-
is_single_report¶ Gets the is_single_report of this DownloadSecurityAssessmentReportDetails. Optional flag controlling the output format of a target group report: - true: Return a single consolidated report file for the entire target group. - false/null (default): Return a ZIP archive containing one file per target in the group.
Important: - This flag is only applicable when the security assessment OCID refers to a target group assessment (targetType TARGET_DATABASE_GROUP). - If isSingleReport is set to true for an individual target (targetType TARGET_DATABASE), the request will return an error. - If isSingleReport is null or false for an individual target, the value is ignored and the selected output format for the assessment type is returned.
Returns: The is_single_report of this DownloadSecurityAssessmentReportDetails. Return type: bool
-