This data source provides the list of Remediation Run Stages in Oracle Cloud Infrastructure Adm service.
Returns a list of Remediation Run Stages based on the specified query parameters and Remediation Run identifier.
data "oci_adm_remediation_run_stages" "test_remediation_run_stages" {
#Required
remediation_run_id = oci_adm_remediation_run.test_remediation_run.id
#Optional
status = var.remediation_run_stage_status
type = var.remediation_run_stage_type
}
The following arguments are supported:
remediation_run_id
- (Required) Unique Remediation Run identifier path parameter.status
- (Optional) A filter to return only Stages that match the specified status.type
- (Optional) A filter to return only Stages that match the specified type.The following attributes are exported:
remediation_run_stage_collection
- The list of remediation_run_stage_collection.The following attributes are exported:
audit_id
- The Oracle Cloud identifier (OCID) of the vulnerability audit.next_stage_type
- The next type of stage in the remediation run.pipeline_properties
- Pipeline properties which result from the run of the verify stage.
pipeline_identifier
- Unique identifier for the pipeline or action created in the Verify stage.pipeline_url
- The web link to the pipeline from the Verify stage.previous_stage_type
- The previous type of stage in the remediation run.pull_request_properties
- Pull request properties from recommend stage of the remediation run.
pull_request_identifier
- Unique identifier for the pull or merge request created in the recommend stage.pull_request_url
- The web link to the pull or merge request created in the recommend stage.recommended_updates_count
- Count of recommended application dependencies to update.remediation_run_id
- The Oracle Cloud identifier (OCID) of the remediation run.status
- The current status of a remediation run stage.summary
- Information about the current step within the stage.time_created
- The creation date and time of the remediation run stage (formatted according to RFC3339).time_finished
- The date and time of the finish of the remediation run stage (formatted according to RFC3339).time_started
- The date and time of the start of the remediation run stage (formatted according to RFC3339).type
- The type of the remediation run stage.