-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to test user labels on Cloud SQL instances using latest resource pack #253
Comments
We are using inspec version 4.18.100 |
The same issues exists for the disk encryption configuration.
Here I can see the data when inspecting the response:
|
Same behaviour with Inspec version 4.18.104 |
Hey @sukchomb The changes to remove Ideally, the new control would be simplified and look something like this:
Or:
The problem in this case is that the new generated sql_database_instance doesn't have |
@slevenick Thanks for the quick response - much appreciated 👍 |
Describe the problem
Hi @lhasadreams , @skpaterson @slevenick
The recent gcp resource pack release has broken the way we detect the presence of labels on database settings, specifically user labels, this section of code was previously working
Now the 'respond_to? test always yields 'false' and skips the rest of the test.
When I jump into pry, I can see the user labels but only when I cd into the 'this_instance' object:
When I jump into the settings object, user labels are not exposed
I'm not sure how I can work around this in the contex
Can these be restored at the earliest opportunity please?
Possible Solution
Possibly extract out the values using a combination of inspect and regex
The text was updated successfully, but these errors were encountered: