Skip to content
This repository has been archived by the owner on Aug 16, 2022. It is now read-only.

feat: Add waf/wafv2 logging config #814

Merged
merged 26 commits into from
May 27, 2022

Conversation

zagronitay
Copy link
Contributor

@zagronitay zagronitay commented May 2, 2022

πŸŽ‰ Thank you for making CloudQuery awesome by submitting a PR πŸŽ‰

Summary


Use the following steps to ensure your PR is ready to be reviewed

  • Read the contribution guidelines πŸ§‘β€πŸŽ“
  • Run go fmt to format your code πŸ–Š
  • Update or add tests. Learn more about testing here πŸ§ͺ
  • Update the docs by running go run ./docs/docs.go and committing the changes πŸ“ƒ
  • If adding a new resource, add relevant Terraform files in a separate PR πŸ“‚
  • Ensure the status checks below are successful βœ…

@zagronitay zagronitay requested review from a team and spangenberg and removed request for a team May 2, 2022 08:00
@zagronitay zagronitay changed the title Feat/waf logging config feat: Add waf/wafv2 logging config May 2, 2022
@github-actions github-actions bot added the feat label May 2, 2022
@zagronitay zagronitay linked an issue May 2, 2022 that may be closed by this pull request
@github-actions github-actions bot added feat and removed feat labels May 2, 2022
@zagronitay zagronitay requested review from bbernays and irmatov May 3, 2022 14:41
@github-actions github-actions bot added feat and removed feat labels May 3, 2022
@bbernays
Copy link
Contributor

bbernays commented May 9, 2022

This will require a change to the AWS policy:
https://github.com/cloudquery-policies/aws/search?l=SQL&q=logging_configuration

@zagronitay
Copy link
Contributor Author

This will require a change to the AWS policy:
https://github.com/cloudquery-policies/aws/search?l=SQL&q=logging_configuration

Thank you for that.
I will update the policy

@zagronitay zagronitay requested a review from roneli May 17, 2022 10:28
Copy link
Contributor

@bbernays bbernays left a comment

Choose a reason for hiding this comment

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

LGTM

@zagronitay zagronitay requested a review from bbernays May 18, 2022 06:16
Copy link
Member

@yevgenypats yevgenypats left a comment

Choose a reason for hiding this comment

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

Looks good. I think child PKs are not needed anymore.

Name: "aws_waf_rule_predicates",
Description: "This is AWS WAF Classic documentation",
Resolver: fetchWafRulePredicates,
Options: schema.TableCreationOptions{PrimaryKeys: []string{"rule_cq_id", "data_id"}},
Copy link
Member

Choose a reason for hiding this comment

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

I think this is unneeded anymore?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's already removed in #921
I've rebased

@yevgenypats yevgenypats merged commit ed6c836 into cloudquery:main May 27, 2022
kodiakhq bot pushed a commit that referenced this pull request May 31, 2022
πŸ€– I have created a release *beep* *boop*
---


### [0.12.1](v0.12.0...v0.12.1) (2022-05-31)


### Features

* Add tags for organizations.Account ([#942](#942)) ([b1a350d](b1a350d)), closes [#940](#940)
* Add waf/wafv2 logging config ([#814](#814)) ([ed6c836](ed6c836))


### Bug Fixes

* Classify MetadataException ([#953](#953)) ([2b74e7b](2b74e7b))
* **deps:** Update module github.com/cloudquery/cq-provider-sdk to v0.10.2 ([#951](#951)) ([b5b4c97](b5b4c97))
* **deps:** Update module github.com/cloudquery/cq-provider-sdk to v0.10.3 ([#954](#954)) ([21a5818](21a5818))
* **deps:** Update module github.com/cloudquery/cq-provider-sdk to v0.10.4 ([#961](#961)) ([648f6c1](648f6c1))
* **deps:** Update module github.com/cloudquery/cq-provider-sdk to v0.10.5 ([#967](#967)) ([40a1d06](40a1d06))
* Remove relation tables PK ([#921](#921)) ([036ce47](036ce47))
* Update endpoints ([#948](#948)) ([3b5b193](3b5b193))
* Update endpoints ([#952](#952)) ([c59523c](c59523c))
* Update endpoints ([#956](#956)) ([5702860](5702860))
* Update endpoints ([#958](#958)) ([df14874](df14874))
* Update timestamps fields ([#891](#891)) ([48b9e6f](48b9e6f))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Extend WAF / WAFv2 logging configuration struct
4 participants