terraform-provider-ibm icon indicating copy to clipboard operation
terraform-provider-ibm copied to clipboard

SCC scope resource should support all features supported in IBM Cloud UI

Open mrgadgil opened this issue 2 years ago • 3 comments

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

New or Affected Resource(s)

  • ibm_scc_posture_scope

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.

Available attributes:

resource "ibm_scc_posture_scope" "scopes" {
  credential_id = "5"
  credential_type = "on_premise"
  description = "IBMSchema"
  interval = 10
  is_discovery_scheduled = true
  name = "IBMSchema-new-048-test"
}

Creating a scope in the IBM Cloud UI also supports scheduling a scan by providing scan type, profile and schedule.

Terraform resource should also be extended to schedule scan as part of creating the scope.

Attaching screenshot of how the form looks in UI image

References

  • #0000

mrgadgil avatar May 27 '22 18:05 mrgadgil

Can someone confirm if this functionality (particularly specifying profiles and scan type/schedule) is indeed missing currently or if we're overlooking something? Is there a plan to enhance it?

evanrappe avatar Jun 16 '22 19:06 evanrappe

hi @evanrappe : This is missing currently. We have to plan in future.

archanaponnada avatar Jun 22 '22 16:06 archanaponnada

@mrgadgil : FFR : As per our call discussion Today ,this issue has to cover below points :

  1. We should have an API Create Validation API which should be able to schedule scans. ETA : Will discuss with Team internally and let you know soon.

archanaponnada avatar Jun 22 '22 16:06 archanaponnada