Commit Graph

533 Commits (8a1566f0707423489345d30535ca95ce52202102)

Author SHA1 Message Date
Elie 2e31ee5530
Merge pull request #1458 from snyk/feat/add_aws_iam_group_policy
feat: add support for `iam_group_policy`
2022-04-04 15:45:03 +02:00
William Beuil ec8f2e6ecc
fix: add missing defer to cache.Unlock 2022-04-04 11:59:03 +02:00
sundowndev-snyk 44180707f0
refactor(middlewares): improve godoc for AwsEbsEncryptionByDefaultReconciler
Also reorganize enumerators in aws/init.go
2022-04-04 10:19:20 +04:00
sundowndev-snyk 314a693dba
refactor(remote): remove useless details fetcher
For aws_ebs_encryption_by_default resource type.
2022-04-04 10:19:19 +04:00
sundowndev-snyk b08c6d55ef
feat: add aws_ebs_encryption_by_default 2022-04-04 10:19:19 +04:00
Elie 83907c6638
fix: Bad cache unlocks in IAM repo 2022-04-01 15:43:30 +02:00
Elie bbedd4725c
feat: add support for `iam_group_policy` 2022-04-01 15:42:22 +02:00
Almog Ben-David d4515f8a0d
fix: PR review comments 2022-03-31 11:31:32 +03:00
Almog Ben-David e9f906e8fc
feat: google compute global forwarding rule 2022-03-30 22:09:37 +03:00
sundowndev-snyk 9f4cf99e32 feat: add google_compute_instance_group_manager 2022-03-24 15:25:50 +04:00
Elie f02aaff446
Merge pull request #1437 from snyk/feat/google_compute_forwarding_rule
feat: add google_compute_forwarding_rule resource
2022-03-21 15:31:01 +01:00
sundowndev-snyk 80c37492bd test: route53 name parsing 2022-03-17 15:56:04 +04:00
sundowndev-snyk 6336203574 fix: route53 record name parsing 2022-03-17 15:34:06 +04:00
William Beuil d74e855c35
feat: add google_compute_forwarding_rule resource 2022-03-17 11:55:42 +01:00
sundowndev-snyk 0ed35f5493 fix: panic in apigatewayv2_api_mapping enumerator 2022-03-11 11:56:04 +04:00
Craig Furman 959e489bd4 Disambiguate between drift and error exit codes
`driftctl scan` exits with zero only when there is no detected drift.
Prior to this commit, it exited with 1 when there was a non-panic error,
and also when there was detected drift. This makes error handling in
scripts more awkward than it needs to be.

This commit changes the exit code to 2 whenever there are errors during
a scan, whether that error is from a panic or not, leaving 1 as the exit
code used solely for when drift is detected.

Related: https://github.com/snyk/driftctl/issues/1350
2022-02-17 17:39:35 +00:00
Martin Guibert ec07e9a611
feat: support for aws_apigatewayv2_integration 2022-01-24 16:24:26 +01:00
William Beuil 0b1e85df77
Add aws_apigatewayv2_domain_name resource 2022-01-17 16:45:16 +01:00
Craig Furman b137672cc4
Merge pull request #1321 from snyk/aws_apigatewayv2_deployment
Add aws_apigatewayv2_deployment resource
2022-01-17 15:40:24 +00:00
Elie e779e6288b
Add aws_apigatewayv2_api_mapping 2022-01-17 15:59:11 +01:00
Craig Furman 4daef54980 Add aws_apigatewayv2_deployment resource
Without deep mode.
2022-01-17 12:23:19 +00:00
William Beuil b5f995f6d7
Add aws_apigatewayv2_route_response resource 2022-01-12 17:26:23 +01:00
sundowndev 07f060ba49
feat: add aws_apigatewayv2_stage 2022-01-12 15:34:33 +01:00
Elie ae26120701
Add aws_apigatewayv2_model 2022-01-11 16:53:20 +01:00
William BEUIL c88c45ba32
Merge pull request #1277 from snyk/fea/aws_apigatewayv2_integration
add support for apigatewayv2_integration
2022-01-11 12:01:18 +01:00
sundowndev 82d710cc9e
test(azure): use new arm api 2022-01-06 11:39:58 +04:00
sundowndev 327e5bd73b
refactor: update azure dependencies 2022-01-06 11:26:20 +04:00
sundowndev 117bd9bd90
Revert "refactor: avoid reading unmanaged resources"
This reverts commit 18eea35b4f.
2021-12-22 13:34:14 +04:00
sundowndev a83ce83f5c
fix(google): compute_subnetwork
The scan panics because enumerator attributes are not sync with the resource schema.
2021-12-17 11:44:02 +04:00
Elie d8681bd1f9
Merge pull request #1290 from snyk/fix/google_compute_network
Fix google_compute_network read attributes
2021-12-16 12:22:30 +01:00
sundowndev a3e39025b7
fix: google_compute_network read attributes 2021-12-16 15:10:48 +04:00
William Beuil 154dcc238a
Renaming remote AWS test folders 2021-12-16 09:34:44 +01:00
Martin Guibert f8eff0a73d
feat: gatewayv2 api middleware to support integration 2021-12-15 09:34:25 +01:00
Martin Guibert 9682e71b01
feat: support for apigatewayv2_integration 2021-12-14 18:33:20 +01:00
sundowndev 18eea35b4f
refactor: avoid reading unmanaged resources 2021-12-14 19:03:23 +04:00
Craig Furman cb2042530d Add support for aws_apigatewayv2_route 2021-12-09 13:45:12 +00:00
sundowndev 04c66312d1
refactor: rename driftctl imports 2021-12-09 11:59:26 +01:00
sundowndev 024a3f9552
refactor(aws): disable deep mode for launch configuration 2021-12-09 11:59:26 +01:00
sundowndev a5877fc001
refactor(aws): autoscaling repository
Use pagination and improve testing.
2021-12-09 11:58:55 +01:00
sundowndev 5079c9b315
feat: add aws_launch_configuration 2021-12-09 11:58:54 +01:00
sundowndev a840413568
refactor(aws): launch template enumerator
Remove unused credit_specification attribute
2021-12-08 15:31:03 +01:00
sundowndev 83d279c70f
feat: add aws_launch_template 2021-12-08 15:17:42 +01:00
William Beuil 2c73c9fbd2
Add aws_apigatewayv2_authorizer resource 2021-12-07 16:51:16 +01:00
Martin Guibert 1dc5bd67ab
add support for google_compute_node_group 2021-12-07 09:18:24 +01:00
Elie 1cdccb0be0
Move to @snyk 2021-12-06 14:29:39 +01:00
Elie fdd183e077
Merge branch 'main' into fea/api_gtwv2_vpc_link 2021-12-01 13:51:41 +01:00
Elie c4a0eff309
Merge branch 'main' into feat/add_azurerm_lb_rule 2021-12-01 13:37:47 +01:00
Martin Guibert b36be3b37d
add fields for others resources 2021-11-26 17:30:25 +01:00
Martin Guibert e40aba548c
fix return value for srv too 2021-11-26 17:30:25 +01:00
sundowndev 27be216ed2
fix: return value instead of pointer
Running a non-deep mode scan on those resources produces a panic since some attributes return a pointer instead of a value.
2021-11-26 17:30:25 +01:00