Skip to content
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

inspec-gcp 1.0 #226

Merged
merged 98 commits into from
Apr 6, 2020
Merged

inspec-gcp 1.0 #226

merged 98 commits into from
Apr 6, 2020

Conversation

slevenick
Copy link
Collaborator

@slevenick slevenick commented Jan 15, 2020

Description

Big features included are migrating the rest of the resources to MM, beta flag for pulling the beta version of the resource.

Code is complete now, all resources except for google_user and google_users converted. Need to manually migrate some docs examples

slevenick and others added 28 commits February 19, 2020 16:27
Signed-off-by: Modular Magician <[email protected]>
Signed-off-by: Modular Magician <[email protected]>
Signed-off-by: Sam Levenick <[email protected]>
Signed-off-by: Modular Magician <[email protected]>

Co-authored-by: emily <[email protected]>
Signed-off-by: Modular Magician <[email protected]>
Signed-off-by: Modular Magician <[email protected]>
Signed-off-by: Modular Magician <[email protected]>
…d of project_names in loop test

Signed-off-by: Sam Levenick <[email protected]>
Signed-off-by: Modular Magician <[email protected]>
Signed-off-by: Modular Magician <[email protected]>

Co-authored-by: Ty Larrabee <[email protected]>
Signed-off-by: Modular Magician <[email protected]>
modular-magician and others added 6 commits March 20, 2020 15:03
* Fix lint issues, adding folder IAM

* Newline at end of file

Signed-off-by: Modular Magician <[email protected]>
* GA ILB multi-nic

* Failover is not GA, needs if/else

Signed-off-by: Modular Magician <[email protected]>
Copy link

@skpaterson skpaterson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work @slevenick - couple of minor comments to look at.

test/integration/build/gcp-mm.tf Outdated Show resolved Hide resolved
test/integration/verify/controls/google_organizations.rb Outdated Show resolved Hide resolved
Signed-off-by: Modular Magician <[email protected]>
@lhasadreams
Copy link
Contributor

Great work guys.
@slevenick do you have an estimate for your big release of all issues that were being blocked by this please?

modular-magician and others added 6 commits March 30, 2020 09:32
* Add deadLetterPolicy to Pub/Sub subscription resource

* fix: disable allow_empty_objects, fix docstring, add example

* fix: set max_delivery_attempts

* fix: block and topic name

Signed-off-by: Modular Magician <[email protected]>
* allow update for dns_managed_zone

* add some input trues back in

* add some input trues back in

Signed-off-by: Modular Magician <[email protected]>
… to markdown about deprecation

Signed-off-by: Sam Levenick <[email protected]>
Signed-off-by: Sam Levenick <[email protected]>
@skpaterson
Copy link

Hey @slevenick - two minor issues came up during testing. In both cases the updated resources store a list of strings where previously these were integers e.g.

its('instance_ids') { should include gcp_instance_id }

https://github.com/inspec/inspec-gcp/blob/5b293edb68e0295689325c4e3660d040474c8dc3/test/integration/verify/controls/google_compute_firewalls_handwritten.rb

@skpaterson
Copy link

Don't mind if these are either updated or removed if you prefer. Otherwise looks good to go!

@slevenick slevenick requested a review from skpaterson April 2, 2020 17:28
@slevenick
Copy link
Collaborator Author

Don't mind if these are either updated or removed if you prefer. Otherwise looks good to go!

Great! I removed the to_i on those, they should correctly compare now.

@skpaterson skpaterson added the Version: Bump Major Used by github.minor_bump_labels to bump the Major version number. label Apr 6, 2020
@skpaterson
Copy link

Hey @slevenick, had to make a minor update to ensure the major version bump worked as expected. Almost there!

@skpaterson skpaterson merged commit f89a6f1 into inspec:master Apr 6, 2020
@binamov
Copy link
Collaborator

binamov commented Apr 6, 2020

This is great! Thank you all for getting this out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Version: Bump Major Used by github.minor_bump_labels to bump the Major version number.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants