-
Notifications
You must be signed in to change notification settings - Fork 676
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* initial commit * removing v1 refereneces * review comments updated --------- Co-authored-by: jayvyas <Jay.Vyas1@ibm.com>
- Loading branch information
Showing
57 changed files
with
80 additions
and
10,263 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,3 @@ | ||
provider "ibm" { | ||
ibmcloud_api_key = var.ibmcloud_api_key | ||
} | ||
|
||
// Create list_scopes data source | ||
data "ibm_scc_posture_scopes" "list_scopes_instance" { | ||
scope_id = var.list_scopes_scope_id | ||
} | ||
|
||
// Create list_profiles data source | ||
data "ibm_scc_posture_profiles" "list_profiles_instance" { | ||
profile_id = var.list_profiles_profile_id | ||
} | ||
|
||
// Create list_credentials data source | ||
data "ibm_scc_posture_credentials" "list_credentials_instance" { | ||
} | ||
|
||
// Create list_collectors data source | ||
data "ibm_scc_posture_collectors" "list_collectors_instance" { | ||
} | ||
|
||
// Create list_latest_scans data source | ||
data "ibm_scc_posture_latest_scans" "list_latest_scans_instance" { | ||
scan_id = var.list_latest_scans_scan_id | ||
} | ||
|
||
// Create scans_summary data source | ||
data "ibm_scc_posture_scan_summary" "scans_summary_instance" { | ||
scan_id = var.scans_summary_scan_id | ||
profile_id = var.scans_summary_profile_id | ||
} | ||
|
||
// Create scan_summaries data source | ||
data "ibm_scc_posture_scan_summaries" "scan_summaries_instance" { | ||
profile_id = var.scan_summaries_profile_id | ||
scope_id = var.scan_summaries_scope_id | ||
scan_id = var.scan_summaries_scan_id | ||
} | ||
|
||
// Create scope data source | ||
data "ibm_scc_posture_scope" "scope_instance" { | ||
scope_id = var.scope_id | ||
} | ||
|
||
// Create collector data source | ||
data "ibm_scc_posture_collector" "collector_instance" { | ||
collector_id = var.collector_id | ||
} | ||
|
||
// Create credential data source | ||
data "ibm_scc_posture_credential" "credential_instance" { | ||
credential_id = var.credential_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
Oops, something went wrong.