terraform-ibm-modules / terraform-ibm-scc

Configures an IBM Cloud Security and Compliance instance
Apache License 2.0
0 stars 0 forks source link

feat: new scc code to retrieve latest scc profile version #126

Closed jor2 closed 1 month ago

jor2 commented 2 months ago

Description

The logic here assumes that each profile name will always have a latest = true value. However we have seen the SCC team change the profile names, meaning we can no longer rely on that logic.

Implementing our own logic to determine the latest version of a profile.

lookup all versions of a profile sort them return the latest That way we ensure there is ALWAYS a latest version for every profile name

Release required?

Release notes content

update SCC logic around determining latest profile version

Run the pipeline

If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.

Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:

/run pipeline

Checklist for reviewers

For mergers

jor2 commented 1 month ago

/run pipeline

jor2 commented 1 month ago

/run pipeline

jor2 commented 1 month ago

/run pipeline

terraform-ibm-modules-ops commented 1 month ago

:tada: This issue has been resolved in version 1.6.4 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: