forked from IBM-Cloud/terraform-provider-ibm
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: adding the fields region and instance_id in the service scc (IB…
…M-Cloud#4823) * adding the utility file for generic use * adding the usage of instanceID to control library, profile, profile attachment, rule * updated all testing * Adding the ability to change the URL from provider field, and updated resource docs * updated the docs with the usage of instance_id * added instance_id to the examples * Using the new version of scc-go-sdk * Formatting the docs and added the warn in acctest Signed-off-by: Timothy-Yao <[email protected]> * modifying the PreCheck for Tests * adding the additional line for accPreCheck * Took out os from the testing packages. * Upgrading scc-go-sdk to 5.1.2 and updated functions --------- Signed-off-by: Timothy-Yao <[email protected]> Co-authored-by: Timothy-Yao <[email protected]>
- Loading branch information
Showing
74 changed files
with
1,012 additions
and
607 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,40 @@ | ||
data "ibm_scc_latest_reports" "scc_latest_reports_instance" { | ||
instance_id = "00000000-1111-2222-3333-444444444444" | ||
sort = "profile_name" | ||
} | ||
|
||
data "ibm_scc_report_rule" "scc_report_rule_instance" { | ||
instance_id = "00000000-1111-2222-3333-444444444444" | ||
report_id = var.scc_report_id | ||
rule_id = var.scc_rule_id | ||
} | ||
|
||
data "ibm_scc_report_tags" "scc_report_tags_instance" { | ||
instance_id = "00000000-1111-2222-3333-444444444444" | ||
report_id = var.scc_report_id | ||
} | ||
|
||
data "ibm_scc_report_evaluations" "scc_report_evaluations_instance" { | ||
instance_id = "00000000-1111-2222-3333-444444444444" | ||
report_id = var.scc_report_id | ||
} | ||
|
||
data "ibm_scc_report_controls" "scc_report_controls_instance" { | ||
instance_id = "00000000-1111-2222-3333-444444444444" | ||
report_id = var.scc_report_id | ||
} | ||
|
||
data "ibm_scc_report_summary" "scc_report_summary_instance" { | ||
instance_id = "00000000-1111-2222-3333-444444444444" | ||
report_id = var.scc_report_id | ||
} | ||
|
||
data "ibm_scc_report_violation_drift" "scc_report_violation_drift_instance" { | ||
instance_id = "00000000-1111-2222-3333-444444444444" | ||
report_id = var.scc_report_id | ||
} | ||
|
||
data "ibm_scc_report" "scc_report_instance" { | ||
instance_id = "00000000-1111-2222-3333-444444444444" | ||
report_id = var.scc_report_id | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.