terraform-provider-ibm
terraform-provider-ibm copied to clipboard
SCC collector outputs should include registration key and URL to download install scripts
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Description
SCC collector install needs the registration key and manifest to install the collector. SCC terraform resource should output the collector registration key as output when the collector is created. SCC collector resource should also provide a path/way to download the manifest/script to install the collector.
Since the collector registration key expires, collector can provide a data source to retrieve the registration key.
New or Affected Resource(s)
- ibm_scc_posture_collector
Potential Terraform Configuration
# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.
resource "ibm_scc_posture_collector" "collectors" {
description = "Collector to use for fetching information"
is_public = true
is_ubi_image = false
managed_by = var.collector_management
name = "${var.prefix}-collector-collect-remediate"
passphrase = ""
}
References
- #0000
@mrgadgil : FFR : As per our discussion in call Today, this issue has to cover below points :
- When creating a collector it should output -> registration key and install path.
- Basically, it should provide all details to install a collector like how we have on UI Today.