instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
snowflakedb__snowflake-connector-python__2212
snowflakedb/snowflake-connector-python
2,212
defect
bd40157c2993955715e68b80d49eb6a94feee03d
96ec55b7e93d21f5f3a5d88adde7de8e0eb03655
SNOW-1917302 refresh token and token cache support in OAuth authorization code flow
- [x] Refresh token support - [x] Token cache support - [x] Unit tests
diff --git a/src/snowflake/connector/auth/_auth.py b/src/snowflake/connector/auth/_auth.py index e3b18d42a5..eba0cbd9af 100644 --- a/src/snowflake/connector/auth/_auth.py +++ b/src/snowflake/connector/auth/_auth.py @@ -51,6 +51,7 @@ ACCEPT_TYPE_APPLICATION_SNOWFLAKE, CONTENT_TYPE_APPLICATION_JSON, ID_TOK...
4
3
1
[{"id": "G0", "claim": "The new connection parameter `oauth_authorization_redirect_uri` duplicates the existing `oauth_redirect_uri` and is not used anywhere.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks whether `_reset_refresh_token`...
null
snowflakedb__snowflake-connector-python__2218
snowflakedb/snowflake-connector-python
2,218
defect
3488e5668e7b17ac71c844d3d8f54f384628acd6
952535295af3d21ffdbfc217e31fc1f5741ea4ca
SNOW-1917232: Client credentials flow
Please answer these questions before submitting your pull requests. Thanks! 1. What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR. Fixes #SNOW-1917232 2. Fill out the following pre-review checklist: - [x] I am adding a new automated test(s) to verify corr...
diff --git a/src/snowflake/connector/auth/__init__.py b/src/snowflake/connector/auth/__init__.py index 7db03fbc20..c0a6c94fb2 100644 --- a/src/snowflake/connector/auth/__init__.py +++ b/src/snowflake/connector/auth/__init__.py @@ -12,6 +12,7 @@ from .no_auth import AuthNoAuth from .oauth import AuthByOAuth from .oau...
2
1
0
[{"id": "G0", "claim": "The new client-credentials tests should be placed into the existing test_oauth_token.py instead of a separate file.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The constant OAUTH_AUTHORIZATION_CODE is defined twice in ...
null
snowflakedb__snowflake-connector-python__2388
snowflakedb/snowflake-connector-python
2,388
defect
a51bec48689e04c54f5b3afac2955de2901417dd
1d533ad31d8d79945af6f4e20cb3ddc7d8591463
SNOW-2021009: test optimisation
Please answer these questions before submitting your pull requests. Thanks! 1. What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR. SNOW-2021009: test optimisation First GH Action results: 9 minutes -> 2 minutes GH Action avg: 35 minutes -> 16 minutes Jenkins fr...
diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml index 1652a32d39..4d9d3ece5b 100644 --- a/.github/workflows/build_test.yml +++ b/.github/workflows/build_test.yml @@ -173,7 +173,7 @@ jobs: - name: Run tests # To run a single test on GHA use the below command: # run...
1
1
1
[{"id": "G0", "claim": "find_free_port binds the socket to '' (all network interfaces) instead of only the local interface, as flagged by the code-scanning alert.", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
snowflakedb__snowflake-connector-python__2389
snowflakedb/snowflake-connector-python
2,389
defect
7cfff2575baf2ed621a7b9ffcec6a07e560756ec
449d66862692d61f8af4668bb1e4940e777d730c
SNOW-2187871: Cherry picks to `dev/aio-connector`, part 0 - fix tests
## What to review? Most of lines in this change are cherry-picks of commits already on main, majority of which can be skipped. Below I listed all `aio` changes which reflect changes in sync code. To make the review easier, I arranged the commits in a way that the changes introduced ny hand follow cherry-pick they ref...
diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml index ef22ea711e..9e4abb0d20 100644 --- a/.github/workflows/build_test.yml +++ b/.github/workflows/build_test.yml @@ -72,11 +72,11 @@ jobs: strategy: matrix: os: - - image: ubuntu-20.04 + - image: ubu...
2
2
0
[{"id": "G0", "claim": "Refactor the sync and async connection code into a separate shared connection_state class/property so the two almost identical versions do not have to be maintained separately.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim"...
null
snowflakedb__snowflake-connector-python__2443
snowflakedb/snowflake-connector-python
2,443
defect
e34a73ce95767a06151dc59e514a8aa11c509662
8108c513eeb63303ad148abb6615182ece75d54b
SNOW-2216803 allow re-raising error in file transfer work function in main thread
### Description - provide an option to allow errors in work function of file transfer agent to be re-raised as is - server side change https://github.com/snowflakedb/snowflake/pull/322140 ### Tests - unit test to verify the behaviors with config as true and false - manual end-to-end test with server side change ...
diff --git a/src/snowflake/connector/constants.py b/src/snowflake/connector/constants.py index 26a2c8d79c..2b9b96e982 100644 --- a/src/snowflake/connector/constants.py +++ b/src/snowflake/connector/constants.py @@ -39,6 +39,10 @@ _PARAM_USE_SCOPED_TEMP_FOR_PANDAS_TOOLS = "ENABLE_FIX_1375538" +_PYTHON_RERAISE_FILE_...
1
1
0
[{"id": "G0", "claim": "The re-raise behavior should be controlled by a connection-level config (default disabled) instead of a session parameter, since the parameter approach would have to be kept on the server side forever.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
snowflakedb__snowflake-connector-python__2457
snowflakedb/snowflake-connector-python
2,457
defect
a269f159b9cb6b751034ed6897f15bf378df1a15
fee21770e76d8a0bec87c0fb1c4bb48ee3437ac0
Remove WIF autodetect and all its problems (error messages, issuer checks, explicit timeouts), support explicit client_id for Azure VMs
SNOW-2246093 This is part of some final pre-GA improvements for WIF: **1. Remove support for "autodetect" of providers in WIF.** Previously, you could use wif like this: ``` snowflake.connector.connect( account="a1", authenticator="WORKLOAD_IDENTITY" ) ``` Now, the `workload_identity_provider` par...
diff --git a/src/snowflake/connector/connection.py b/src/snowflake/connector/connection.py index f4dd34e989..3aa01018a6 100644 --- a/src/snowflake/connector/connection.py +++ b/src/snowflake/connector/connection.py @@ -1326,13 +1326,21 @@ def __open_connection(self): ) elif self._authentic...
5
5
1
[{"id": "G0", "claim": "The error raised when a customer specifies workload_identity_provider without authenticator=WORKLOAD_IDENTITY is very misleading (\"251005: User is empty\"), and it is worth improving that message.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"},...
null
snowflakedb__snowflake-connector-python__2490
snowflakedb/snowflake-connector-python
2,490
defect
5c5b7372d9dcbed17c239103b997bb508fd47c94
89b1943e298a13e2d952d1b113131500689eb811
SNOW-2268606 zero timeout disables endpoint-based cloud platform detection
Please answer these questions before submitting your pull requests. Thanks! 1. What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR. Fixes #NNNN 2. Fill out the following pre-review checklist: - [x] I am adding a new automated test(s) to verify correctn...
diff --git a/DESCRIPTION.md b/DESCRIPTION.md index 4bd6c1b899..1bd7180f10 100644 --- a/DESCRIPTION.md +++ b/DESCRIPTION.md @@ -7,6 +7,9 @@ https://docs.snowflake.com/ Source code is also available at: https://github.com/snowflakedb/snowflake-connector-python # Release Notes +- v3.17.2(TBD) + - Added disabling endp...
4
2
2
[{"id": "G0", "claim": "base_auth_data is called from webbrowser.py and okta.py without passing platform_detection_timeout_seconds from the connection, and that propagation should be added (or a follow-up jira created) so users can switch off this traffic fully.", "category": "correctness", "verdict": "supported", "pri...
null
snowflakedb__snowflake-connector-python__2509
snowflakedb/snowflake-connector-python
2,509
defect
7985a5fd5349225345afd22d9b976d0d2ef1b33f
f5619e79fcf9524a31e3050775572359d38b13f7
Add option to send oauth client credentials in body
1. What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR. #2508 2. Fill out the following pre-review checklist: - [ ] I am adding a new automated test(s) to verify correctness of my new code - [ ] I am adding new logging messages - [ ] I am adding a new te...
diff --git a/src/snowflake/connector/auth/oauth_credentials.py b/src/snowflake/connector/auth/oauth_credentials.py index 2eb8057b2c..21aa0edc85 100644 --- a/src/snowflake/connector/auth/oauth_credentials.py +++ b/src/snowflake/connector/auth/oauth_credentials.py @@ -4,6 +4,7 @@ from __future__ import annotations +...
5
5
3
[{"id": "G0", "claim": "StrEnum is unavailable on the Python versions the project supports (3.9-3.13), so deriving TokenRequestMode from StrEnum breaks import below Python 3.11.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "Keep two empty lines bet...
null
snowflakedb__snowflake-connector-python__2520
snowflakedb/snowflake-connector-python
2,520
defect
53e0165eda81b344dc18a8501475466c9e68b653
69c875501fa6ae126460c38489cc245244092f3e
SNOW-2176203: Support intermediates in trust stores
Our current python connector does not support a configuration with intermediate certificates in a trust store as roots of trust. This is allowed by RFCs; the root does not need to be self signed, and this is the behavior we have in our Go client. These changes enable partial chain validation to normalize behavior ac...
diff --git a/src/snowflake/connector/ssl_wrap_socket.py b/src/snowflake/connector/ssl_wrap_socket.py index 2cebb66262..d035b9f214 100644 --- a/src/snowflake/connector/ssl_wrap_socket.py +++ b/src/snowflake/connector/ssl_wrap_socket.py @@ -8,6 +8,7 @@ # # and added OCSP validator on the top. import logging +import ss...
3
1
0
[{"id": "G0", "claim": "The new test TLS server creates its SSLContext without restricting the protocol, which the security bot flags as allowing the insecure TLSv1 and TLSv1_1 versions.", "category": "security", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Since PROTOCOL_TLS...
null
snowflakedb__snowflake-connector-python__2567
snowflakedb/snowflake-connector-python
2,567
defect
d6113bad0f0949d98ad15c38c06f8c3290288580
a3094b4afbb493cfa9e2124453c66010ee07c80a
Snow 2388762 crl post review fixes
This PR covers most important notes from CRL implementation post-review - mostly changing an algorithm for certificate verification. Changes: * traverse CRL chain instead of iterating through + check root among known certificates * fail for issuer - subject mismatch instead of simply logging a warning * fix short-li...
diff --git a/src/snowflake/connector/crl.py b/src/snowflake/connector/crl.py index 69d5261d29..3a92ee4eea 100644 --- a/src/snowflake/connector/crl.py +++ b/src/snowflake/connector/crl.py @@ -54,7 +54,7 @@ class CRLConfig: ) allow_certificates_without_crl_url: bool = False connection_timeout_ms: int = 300...
10
6
3
[{"id": "G0", "claim": "The short-lived certificate calculation under-counts the lifetime by one second because not_valid_after is inclusive, so certificates should get a little extra breathing room rather than sitting exactly on the boundary.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scop...
null
snowflakedb__snowflake-connector-python__2611
snowflakedb/snowflake-connector-python
2,611
defect
012eed64f83b0b8227ab551754faf3922ed46d2d
96ddd66e9d87520e93a605e503172622433e9bce
NO-SNOW: Cherry-picks to aio branch
[Add option to exclude boto3 and botocore from dependencies (](https://github.com/snowflakedb/snowflake-connector-python/commit/1878c5a778dd2c587e848858b85ff6a90283efe6) cherry picked without impact on aio code. [Ensure Arrow to_pandas maps Interval types (](https://github.com/snowflakedb/snowflake-connector-python/...
diff --git a/.github/workflows/check_installation.yml b/.github/workflows/check_installation.yml new file mode 100644 index 0000000000..4c8d31b80d --- /dev/null +++ b/.github/workflows/check_installation.yml @@ -0,0 +1,56 @@ +name: Test Installation + +on: + push: + branches: + - master + - main + pull_r...
4
4
2
[{"id": "G0", "claim": "The packaging should add separate logic for the aio/aioboto dependencies while keeping the same SNOWFLAKE_NO_BOTO flag (e.g. SNOWFLAKE_NO_BOTO=1 pip install snowflake-connector-python[aio]).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c...
null
snowflakedb__snowflake-connector-python__2633
snowflakedb/snowflake-connector-python
2,633
defect
11803c559622deb9eeadd541bb128bde2f8d7378
8dddd5a206078f60d65391d324355e26de288d61
NO-SNOW: Stop CRL cache background task when closing conn
Please answer these questions before submitting your pull requests. Thanks! 1. What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR. Fixes #NNNN 2. Fill out the following pre-review checklist: - [ ] I am adding a new automated test(s) to verify correctness ...
diff --git a/src/snowflake/connector/connection.py b/src/snowflake/connector/connection.py index 75f6451777..4ec1e9495a 100644 --- a/src/snowflake/connector/connection.py +++ b/src/snowflake/connector/connection.py @@ -88,6 +88,7 @@ ) from .converter import SnowflakeConverter from .crl import CRLConfig +from .crl_ca...
2
1
1
[{"id": "G0", "claim": "The change setting crl_cache_start_cleanup default to True may reintroduce the Jenkins errors seen with PR#2572, so it should be confirmed first that periodic cleanup was not the cause there.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G...
null
snowflakedb__snowflake-connector-python__2742
snowflakedb/snowflake-connector-python
2,742
defect
fef4999534be5180aa0e601a2a4cc2a95d1c2c0e
653a068e0a87d142d683616d5b772cf3d6a67a9f
SNOW-3012459: Extend core telemetry
Please answer these questions before submitting your pull requests. Thanks! 1. What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR. Fixes #NNNN 2. Fill out the following pre-review checklist: - [ ] I am adding a new automated test(s) to verify correctness ...
diff --git a/src/snowflake/connector/_utils.py b/src/snowflake/connector/_utils.py index cc07935d70..08bf34c7e4 100644 --- a/src/snowflake/connector/_utils.py +++ b/src/snowflake/connector/_utils.py @@ -7,6 +7,7 @@ import platform import string import threading +import time from enum import Enum from inspect impor...
2
2
2
[{"id": "G0", "claim": "A test should be added that shows an example actual result of the extended telemetry call, so its contents can be run before releasing instead of being surprised with empty or super-noisy telemetry logs.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {...
null
snowflakedb__snowflake-connector-python__2766
snowflakedb/snowflake-connector-python
2,766
defect
d1251d9f01bbf06b4b58d09f81d5e0717cc546be
b05573db99426cc4627103fb80a52b2ded7dbb66
support jwt in aws wif
[Please answer these questions before submitting your pull requests. Thanks! 1. What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR. JIRA: [SNOW-2919437](https://snowflakecomputing.atlassian.net/browse/SNOW-2919437) ## Test Coverage ...
diff --git a/src/snowflake/connector/wif_util.py b/src/snowflake/connector/wif_util.py index 0b681d265c..444d41e8aa 100644 --- a/src/snowflake/connector/wif_util.py +++ b/src/snowflake/connector/wif_util.py @@ -195,29 +195,45 @@ def create_aws_attestation( ) region = get_aws_region() partition = sess...
5
5
1
[{"id": "G0", "claim": "Add a TODO to clean up the environment-variable gate once the AWS WIF outbound token feature is released.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Update the platform_detection logic to emit telemetry about the ENAB...
null
snyk__driftctl__1025
snyk/driftctl
1,025
defect
3459a1754589381a1ebb4f117d23378554602e00
751e23fc470b41da8bc0503964c41a79b20ff593
Add google_compute_firewall
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | yes | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #989 | ❓ Documentation | https://github.com/cloudskiff/driftctl-docs/pull/110
diff --git a/pkg/iac/terraform/state/terraform_state_reader_test.go b/pkg/iac/terraform/state/terraform_state_reader_test.go index 9922daa4b..9a5848051 100644 --- a/pkg/iac/terraform/state/terraform_state_reader_test.go +++ b/pkg/iac/terraform/state/terraform_state_reader_test.go @@ -9,9 +9,12 @@ import ( "github.c...
1
1
0
[{"id": "G0", "claim": "The new asset repository method should be named SearchAllFirewalls (plural) rather than SearchAllFirewall.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
snyk__driftctl__1066
snyk/driftctl
1,066
defect
49d48b350b6daeebd86d6b39906fc1740ebffc25
363e8a672ef63f9fa360e433f39c0198d18a8831
add support for google_storage_bucket_iam_binding
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | yes | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #1065 | ❓ Documentation | https://github.com/cloudskiff/driftctl-docs/pull/131 ## Description add support for google_storage_bucket_ia...
diff --git a/go.mod b/go.mod index 6b4f8049a..6c8183282 100644 --- a/go.mod +++ b/go.mod @@ -4,6 +4,7 @@ go 1.16 require ( cloud.google.com/go/asset v0.1.0 + cloud.google.com/go/storage v1.10.0 github.com/Azure/azure-sdk-for-go/sdk/armcore v0.8.0 github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.9.2 github...
6
5
1
[{"id": "G0", "claim": "The middleware's copied comment says \"Ignore all resources other than routes\" although the filter is about bucket IAM bindings, so it names the wrong resource.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The logging bl...
null
snyk__driftctl__1073
snyk/driftctl
1,073
defect
49d48b350b6daeebd86d6b39906fc1740ebffc25
fc6876fbf3ac7dfd2bc68650c237441c2a537704
Add google_compute_instance
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | yes | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #1000 | ❓ Documentation | https://github.com/cloudskiff/driftctl-docs/pull/113
diff --git a/pkg/iac/terraform/state/terraform_state_reader_test.go b/pkg/iac/terraform/state/terraform_state_reader_test.go index e1bd16d19..811273b82 100644 --- a/pkg/iac/terraform/state/terraform_state_reader_test.go +++ b/pkg/iac/terraform/state/terraform_state_reader_test.go @@ -315,6 +315,7 @@ func TestTerraformS...
1
1
0
[{"id": "G0", "claim": "The new enumerator should use the common function introduced by #1067 to trim the resource name instead of an inline strings.TrimPrefix, possibly by waiting for #1067 to merge first.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
snyk__driftctl__1082
snyk/driftctl
1,082
defect
be5a84aa7f49b52eee02e82d1df5d3fa6c731bdc
df75e4120f5f4b0a13b55256d34da5d237377f6a
Add azurerm virtual network
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | yes | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #1037 | ❓ Documentation | https://github.com/cloudskiff/driftctl-docs/pull/124
diff --git a/go.mod b/go.mod index b0882ec53..908400e65 100644 --- a/go.mod +++ b/go.mod @@ -6,6 +6,7 @@ require ( cloud.google.com/go/asset v0.1.0 github.com/Azure/azure-sdk-for-go/sdk/azcore v0.19.0 github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.11.0 + github.com/Azure/azure-sdk-for-go/sdk/network/armnetwo...
3
3
0
[{"id": "G0", "claim": "The newly added armnetwork dependency in go.mod should not be marked `// indirect`; running `go mod tidy` should update the file.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The method listing virtual networks is misna...
null
snyk__driftctl__1087
snyk/driftctl
1,087
defect
22dfeee0404d0510512d373b056bab43692a4799
2f2522ac0393e01e8b32b274c690612c2e3fef37
Add readable name for azurerm_virtual_network resource
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | no | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #1037 | ❓ Documentation | no <!-- does this require documentation update ? --> Azure resources does not have really readable names in the ...
diff --git a/pkg/remote/azurerm/azurerm_virtual_network_enumerator.go b/pkg/remote/azurerm/azurerm_virtual_network_enumerator.go index 60bbee483..d202ef0bb 100644 --- a/pkg/remote/azurerm/azurerm_virtual_network_enumerator.go +++ b/pkg/remote/azurerm/azurerm_virtual_network_enumerator.go @@ -37,7 +37,9 @@ func (e *Azur...
2
2
0
[{"id": "G0", "claim": "Revert the change of the test's virtual network IDs back to the simple placeholders, since the complicated realistic IDs were not needed for testing purposes.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "In the new huma...
null
snyk__driftctl__1090
snyk/driftctl
1,090
defect
7f7c239d5b6b014aa5ae6b3a4243e25c7b9635ff
7befcf9204c1a43c0cde36e5ebc7d7117a21082a
Add azurerm_route
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | yes | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #1043 | ❓ Documentation | https://github.com/cloudskiff/driftctl-docs/pull/133
diff --git a/pkg/driftctl.go b/pkg/driftctl.go index ba8268b65..89543e9aa 100644 --- a/pkg/driftctl.go +++ b/pkg/driftctl.go @@ -111,6 +111,7 @@ func (d DriftCTL) Run() (*analyser.Analysis, error) { middlewares.NewEipAssociationExpander(d.resourceFactory), middlewares.NewRDSClusterInstanceExpander(d.resourceFacto...
2
1
0
[{"id": "G0", "claim": "The Execute loop could be simplified by appending the resource first and using a plain continue for non-route-table resources, instead of duplicating the append.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In the nil-r...
null
snyk__driftctl__1093
snyk/driftctl
1,093
defect
49c4ec82f9872f8731e5b974fb639864a4aa2b41
df19b23f91e0d4c45ee3f359ed923ca49d81b719
Add azurerm_container_registry resource
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | yes | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #1050 | ❓ Documentation | https://github.com/cloudskiff/driftctl-docs/pull/135 <!-- does this require documentation update ? -->
diff --git a/go.mod b/go.mod index 226a6cdba..5e0c0492f 100644 --- a/go.mod +++ b/go.mod @@ -7,6 +7,7 @@ require ( cloud.google.com/go/storage v1.10.0 github.com/Azure/azure-sdk-for-go/sdk/azcore v0.19.0 github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.11.0 + github.com/Azure/azure-sdk-for-go/sdk/containerregi...
2
2
0
[{"id": "G0", "claim": "The `Name` field should be removed from the container registry test mocks.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The acceptance test fixture's resource group should be changed to a QA resource group instead of th...
null
snyk__driftctl__1103
snyk/driftctl
1,103
defect
e2af9c3e2bf68281e92ccf3fc9109cf56cb637a2
1462df919fdd4186497267c516ae3388b56d0212
Add azurerm_postgresql_database resource
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | yes | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #1052 | ❓ Documentation | https://github.com/cloudskiff/driftctl-docs/pull/149 <!-- does this require documentation update ? -->
diff --git a/pkg/remote/azurerm/azurerm_postgresql_database_enumerator.go b/pkg/remote/azurerm/azurerm_postgresql_database_enumerator.go new file mode 100644 index 000000000..ea2e412ec --- /dev/null +++ b/pkg/remote/azurerm/azurerm_postgresql_database_enumerator.go @@ -0,0 +1,54 @@ +package azurerm + +import ( + "githu...
4
4
0
[{"id": "G0", "claim": "ListAllDatabasesByServer should take the server object (*armpostgresql.Server) as argument instead of separate strings, for consistency with other repositories.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ListByServer call ...
null
snyk__driftctl__1106
snyk/driftctl
1,106
defect
fa3b0c3391b8211472a71986563ec08a264e302d
4f005c67cc9750edde9b9d9cb3730fe4b2c49c0d
Add lock for cache concurrent calls
| Q | A | ----------------- | --- | 🐛 Bug fix? | yes | 🚀 New feature? | no | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #963 | ❓ Documentation | no ## Description You can find below a list of repo call that may happen in parallel ```yml AWS: ApiG...
diff --git a/pkg/remote/aws/repository/api_gateway_repository.go b/pkg/remote/aws/repository/api_gateway_repository.go index 81e415815..2e55459a7 100644 --- a/pkg/remote/aws/repository/api_gateway_repository.go +++ b/pkg/remote/aws/repository/api_gateway_repository.go @@ -32,7 +32,10 @@ func NewApiGatewayRepository(ses...
1
1
1
[{"id": "G0", "claim": "The new lockMap field of LRUCache should be a pointer (*sync.Map) rather than a sync.Map value, including in New's initializer.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
snyk__driftctl__1131
snyk/driftctl
1,131
defect
cd9eb465969b67afdd9e9463de4ac39d789579ee
0d689b818d692a870945488290b14b9008558310
Add resource type hierarchy for smart ignore
| Q | A | ----------------- | --- | 🐛 Bug fix? | yes | 🚀 New feature? | no | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | none | ❓ Documentation | no ## Description This PR add resource type hierarchy. It allows to avoid to ignore a type if at least any of...
diff --git a/pkg/filter/driftignore.go b/pkg/filter/driftignore.go index 3f44c78e9..94a7dca89 100644 --- a/pkg/filter/driftignore.go +++ b/pkg/filter/driftignore.go @@ -67,7 +67,26 @@ func (r *DriftIgnore) readIgnoreFile() error { return nil } +func (r *DriftIgnore) isAnyOfChildTypeNotIgnored(ty resource.ResourceT...
3
1
0
[{"id": "G0", "claim": "The reviewer asks whether supported resource types should be registered through children instead of duplicating entries, since the file is starting to be huge.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The plural of ch...
null
snyk__driftctl__1144
snyk/driftctl
1,144
defect
7b84f9c1e8e2166cde7d8cebcab6953e7fcb2bfc
28b7790f542ef8c29046cf01e235850eff5f4e00
Fix deep mode for aws_rds_cluster_instance
| Q | A | ----------------- | --- | 🐛 Bug fix? | yes | 🚀 New feature? | no | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | https://github.com/cloudskiff/driftctl/issues/947#issuecomment-932373190 | ❓ Documentation | no <!-- does this require documentation update ...
diff --git a/pkg/middlewares/aws_rds_cluster_instance_expander.go b/pkg/middlewares/aws_rds_cluster_instance_expander.go index 5c8ce23e5..b8e78741d 100644 --- a/pkg/middlewares/aws_rds_cluster_instance_expander.go +++ b/pkg/middlewares/aws_rds_cluster_instance_expander.go @@ -41,7 +41,7 @@ func (m AwsRDSClusterInstance...
2
2
0
[{"id": "G0", "claim": "The `!aws_rds_cluster_instance` line in the testdata .driftignore can be removed because the resource hierarchy logic handles it internally.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new db instance should be bui...
null
snyk__driftctl__1146
snyk/driftctl
1,146
defect
7c653d0500440a35eba12700ba4734f571a959e6
3e163913f83ad75cef4cc053aa2beaeadc78e4a0
Add google bigquery table
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | yes | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #976 | ❓ Documentation | https://github.com/cloudskiff/driftctl-docs/pull/157
diff --git a/pkg/iac/terraform/state/terraform_state_reader_test.go b/pkg/iac/terraform/state/terraform_state_reader_test.go index 7f5524bad..8eb52f189 100644 --- a/pkg/iac/terraform/state/terraform_state_reader_test.go +++ b/pkg/iac/terraform/state/terraform_state_reader_test.go @@ -339,6 +339,7 @@ func TestTerraformS...
1
1
0
[{"id": "G0", "claim": "The new TestGoogleBigqueryTable test case runs the scanner in deep mode (`ScannerOptions{Deep: true}`), which is not necessary for this test.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
snyk__driftctl__1154
snyk/driftctl
1,154
defect
7d19ee10b1f5af092b5f3f791f9849e74501f030
5c1952a89a9f03c08d6fb0defaf6c97b3c6aaac1
Add google_compute_subnetwork resource
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | yes | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #1005 | ❓ Documentation | https://github.com/cloudskiff/driftctl-docs/pull/169 <!-- does this require documentation update ? -->
diff --git a/pkg/iac/terraform/state/terraform_state_reader_test.go b/pkg/iac/terraform/state/terraform_state_reader_test.go index 7f5524bad..b04f18c57 100644 --- a/pkg/iac/terraform/state/terraform_state_reader_test.go +++ b/pkg/iac/terraform/state/terraform_state_reader_test.go @@ -339,6 +339,7 @@ func TestTerraformS...
1
1
1
[{"id": "G0", "claim": "The children declaration on google_compute_network is only required when a resource can be expanded from another, which is not the case here, so it should not be added.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
snyk__driftctl__1160
snyk/driftctl
1,160
defect
29452a3de2384c5b048bebccde69225dc4ee3e8b
6ce427493f23b3b473bd03764b844a632f688d4f
Add google_bigtable_instance
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | yes | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #980 | ❓ Documentation | https://github.com/cloudskiff/driftctl-docs/pull/162
diff --git a/pkg/iac/terraform/state/terraform_state_reader_test.go b/pkg/iac/terraform/state/terraform_state_reader_test.go index fc5490cbe..25a25f055 100644 --- a/pkg/iac/terraform/state/terraform_state_reader_test.go +++ b/pkg/iac/terraform/state/terraform_state_reader_test.go @@ -344,6 +344,7 @@ func TestTerraformS...
1
1
0
[{"id": "G0", "claim": "The test comment saying \"cloud function resources\" should be reworded, since the acceptance test is about bigtable instances.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
snyk__driftctl__1161
snyk/driftctl
1,161
defect
29452a3de2384c5b048bebccde69225dc4ee3e8b
1ad7f2fc6e8eb0894c8b07d465a23011de1608c0
Add azurerm_lb
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | yes | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #1059 | ❓ Documentation | https://github.com/cloudskiff/driftctl-docs/pull/165 <!-- does this require documentation update ? -->
diff --git a/pkg/iac/terraform/state/terraform_state_reader_test.go b/pkg/iac/terraform/state/terraform_state_reader_test.go index fc5490cbe..b3df9bf49 100644 --- a/pkg/iac/terraform/state/terraform_state_reader_test.go +++ b/pkg/iac/terraform/state/terraform_state_reader_test.go @@ -426,6 +426,7 @@ func TestTerraformS...
3
3
1
[{"id": "G0", "claim": "The failure message in Test_Network_ListAllLoadBalancers should be changed because it still names ListAllSecurityGroups.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The --filter on the load balancer name in the accepta...
null
snyk__driftctl__1162
snyk/driftctl
1,162
defect
29452a3de2384c5b048bebccde69225dc4ee3e8b
3c5a45923d3a24590af331973682385d58e6381b
Add google_bigtable_table
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | yes | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #981 | ❓ Documentation | https://github.com/cloudskiff/driftctl-docs/pull/163
diff --git a/pkg/iac/terraform/state/terraform_state_reader_test.go b/pkg/iac/terraform/state/terraform_state_reader_test.go index fc5490cbe..681d0b2e6 100644 --- a/pkg/iac/terraform/state/terraform_state_reader_test.go +++ b/pkg/iac/terraform/state/terraform_state_reader_test.go @@ -344,6 +344,7 @@ func TestTerraformS...
1
1
0
[{"id": "G0", "claim": "The added test comment should say 'resources' instead of \"'cloud function resources'\", since the acceptance test is for a bigtable table.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
snyk__driftctl__1178
snyk/driftctl
1,178
defect
3659f9341b1913cda4fb9504cf4a6d238c1a68f3
bb3b36450a3d95fd43af47397c0c8bb032268514
Add google_compute_global_address
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | yes | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #991 | ❓ Documentation | https://github.com/cloudskiff/driftctl-docs/pull/174
diff --git a/pkg/iac/terraform/state/terraform_state_reader_test.go b/pkg/iac/terraform/state/terraform_state_reader_test.go index 61880602a..326531806 100644 --- a/pkg/iac/terraform/state/terraform_state_reader_test.go +++ b/pkg/iac/terraform/state/terraform_state_reader_test.go @@ -346,6 +346,7 @@ func TestTerraformS...
3
2
0
[{"id": "G0", "claim": "The google_compute_address instance in the new terraform.tfstate fixture appears unnecessary and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks why the new acceptance-test fixture also...
null
snyk__driftctl__1208
snyk/driftctl
1,208
defect
af77f6620442d04da562cca700696fe6a7a20335
fc55c72d7088800d17d53ff4ca9912f0742f0336
gen-driftignore input/output UX
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | yes | ⚠ Deprecations? | no | ❌ BC Break | yes | 🔗 Related issues | #... | ❓ Documentation | yes <!-- does this require documentation update ? --> ## Description The overall intent behind this PR is to...
diff --git a/pkg/analyser/analysis.go b/pkg/analyser/analysis.go index 0bdaf8bf2..88136f713 100644 --- a/pkg/analyser/analysis.go +++ b/pkg/analyser/analysis.go @@ -69,6 +69,7 @@ type GenDriftIgnoreOptions struct { ExcludeDeleted bool ExcludeDrifted bool InputPath string + OutputPath string } ...
9
6
2
[{"id": "G0", "claim": "Opening the output file with O_TRUNC silently destroys the user's existing driftignore rules, so truncation should be dropped in favour of O_EXCL or O_APPEND, with append preferred.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim...
null
snyk__driftctl__1213
snyk/driftctl
1,213
defect
1521fa9449ab4bcb03704ce017128c18194db95a
4415b207217fa6cfcb75767ab072ea3d48cf9ab7
add azurerm private dns cname record
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | yes | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #1063 | ❓ Documentation | yes <!-- does this require documentation update ? --> ## Description add azurerm private dns cname record
diff --git a/pkg/iac/terraform/state/terraform_state_reader_test.go b/pkg/iac/terraform/state/terraform_state_reader_test.go index 1dc568ef1..b5629062e 100644 --- a/pkg/iac/terraform/state/terraform_state_reader_test.go +++ b/pkg/iac/terraform/state/terraform_state_reader_test.go @@ -444,6 +444,7 @@ func TestTerraformS...
3
2
1
[{"id": "G0", "claim": "ListAllPrivateZones should be updated to use the cache locking mechanism, since with this pull request's new enumerator it may now be called in parallel.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Caching the filtered per...
null
snyk__driftctl__1235
snyk/driftctl
1,235
defect
b02f9e09a908910be46525986514e3f95ef84751
9aa787f8b0c2c43e1acad056bbc96c9cdf035ce9
Display out of sync drifts only in deep mode
| Q | A | ----------------- | --- | 🐛 Bug fix? | yes | 🚀 New feature? | no | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #964 | ❓ Documentation | no <!-- does this require documentation update ? --> ## Description A fix for #964. It breaks some tests ...
diff --git a/pkg/analyser/analysis.go b/pkg/analyser/analysis.go index 88136f713..d1fbafab9 100644 --- a/pkg/analyser/analysis.go +++ b/pkg/analyser/analysis.go @@ -39,6 +39,7 @@ type Analysis struct { managed []*resource.Resource deleted []*resource.Resource differences []Difference + analyse...
4
4
2
[{"id": "G0", "claim": "The Analyze function creates an Analysis without setting the analyserOptions field, so the value stored on Analysis is never populated from the Analyzer's options.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new field ...
null
snyk__driftctl__1238
snyk/driftctl
1,238
defect
b02f9e09a908910be46525986514e3f95ef84751
808dbb8361c31f1e5ef69591cf7835ca6e235ff5
Add a global switch to disable third party
## Description This PR is adding a more convenient way to disable any third-party network calls. You can now build an telemetry-free version of driftctl easily with ```shell $ go build -ldflags="-X 'github.com/cloudskiff/driftctl/build.enableThirdPartyNetworkCalls=false'" ``` ## References - https://gith...
diff --git a/build/build.go b/build/build.go index 8e3e2f52f..232f60f24 100644 --- a/build/build.go +++ b/build/build.go @@ -2,8 +2,15 @@ package build var env = "dev" +// This flag could be switched to false while building to create a binary without third party network calls +// That mean that following services ...
3
2
0
[{"id": "G0", "claim": "The build flag introduced as enableThirdPartyNetworkCalls needs a clearer name (several alternatives proposed, privateMode called a loaded term, settling on enableUsageReporting).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla...
null
snyk__driftctl__1250
snyk/driftctl
1,250
defect
964ff9c04f53c0bf0443a5d7af225cac885b8f92
eeff4713362250eda01af64b21309238a60363a4
add support for google_compute_node_group
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | yes | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #1002 | ❓ Documentation | yes <!-- does this require documentation update ? --> ## Description add support for google_compute_node_gr...
diff --git a/pkg/iac/terraform/state/terraform_state_reader_test.go b/pkg/iac/terraform/state/terraform_state_reader_test.go index b161d9489..5a53065df 100644 --- a/pkg/iac/terraform/state/terraform_state_reader_test.go +++ b/pkg/iac/terraform/state/terraform_state_reader_test.go @@ -361,6 +361,7 @@ func TestTerraformS...
1
1
0
[{"id": "G0", "claim": "The variable holding the results of SearchAllNodeGroups is named `checks`, which looks like a copy-paste mistake and should be renamed to say what it holds.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
snyk__driftctl__1253
snyk/driftctl
1,253
defect
233b7885d216d5fe279fd2ecc324847ecaba4278
906e29c224d70a2df43e25399399c82cb6b18854
Avoid reading unmanaged resources
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | no | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #916 | ❓ Documentation | no <!-- does this require documentation update ? --> ## Description Currently, the scan fetch details of ever...
diff --git a/pkg/analyser/analysis.go b/pkg/analyser/analysis.go index 3989f5863..b3f8d57bc 100644 --- a/pkg/analyser/analysis.go +++ b/pkg/analyser/analysis.go @@ -74,7 +74,14 @@ type GenDriftIgnoreOptions struct { } func NewAnalysis(options AnalyzerOptions) *Analysis { - return &Analysis{options: options} + retur...
4
3
2
[{"id": "G0", "claim": "CompareEnumeration no longer returns an error but the error check left behind in DriftCTL.Run should be removed since there is no error to handle.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new analyzer API is confusi...
null
snyk__driftctl__1254
snyk/driftctl
1,254
defect
964ff9c04f53c0bf0443a5d7af225cac885b8f92
46ea266c9cbeafc0f9e58199784d2718414fcbb7
feat: human readable tfc workspace names
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | yes | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #1251 | ❓ Documentation | [#197](https://github.com/snyk/driftctl-docs/pull/197) ## Description Adds ability to resolve terraform clo...
diff --git a/go.mod b/go.mod index 834452f8b..60d5c1f15 100644 --- a/go.mod +++ b/go.mod @@ -26,6 +26,7 @@ require ( github.com/hashicorp/go-getter v1.5.3 github.com/hashicorp/go-hclog v0.9.2 github.com/hashicorp/go-plugin v1.3.0 + github.com/hashicorp/go-tfe v0.8.1 github.com/hashicorp/go-version v1.3.0 gith...
8
7
1
[{"id": "G0", "claim": "The reviewer asks whether errors returned from the new tfe client calls should be wrapped to give the user more context on what failed, since it is unclear what the raw error looks like.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1...
null
snyk__driftctl__1332
snyk/driftctl
1,332
defect
926d1b863856ad754f4d3e20bb761aa9a011b3d6
0965239d8e5dc602a7a6ec2b2d20f3303cbc1066
Ignore default aws_api_gateway_account resources
| Q | A | ----------------- | --- | 🐛 Bug fix? | yes | 🚀 New feature? | no | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #1217 | ❓ Documentation | yes <!-- does this require documentation update ? --> ## Description > We all have an aws_api_gateway_accoun...
diff --git a/pkg/driftctl.go b/pkg/driftctl.go index 7fc6dc674..57cfc7b07 100644 --- a/pkg/driftctl.go +++ b/pkg/driftctl.go @@ -129,6 +129,7 @@ func (d DriftCTL) Run() (*analyser.Analysis, error) { middlewares.NewAwsDefaults(), middlewares.NewGoogleLegacyBucketIAMMember(), middlewares.NewGoogleDefaultIAMMe...
3
3
0
[{"id": "G0", "claim": "The middleware doc comment should read 'that ignores the default API Gateway account resource in the current region' since there can only be one API Gateway account.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test n...
null
snyk__driftctl__1336
snyk/driftctl
1,336
defect
97595bb6112750f9eec51708d4525495ffa7bf62
ab9595a775a15ad61be74ac371aa88c766d862b9
Add iac source count to telemetry
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | no | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #1317 | ❓ Documentation | yes <!-- does this require documentation update ? --> ## Description This PR adds the field `iac_source_count...
diff --git a/pkg/driftctl.go b/pkg/driftctl.go index 57cfc7b07..d8dc2f49b 100644 --- a/pkg/driftctl.go +++ b/pkg/driftctl.go @@ -189,6 +189,7 @@ func (d DriftCTL) scan() (remoteResources []*resource.Resource, resourcesFromSta if err != nil { return nil, nil, err } + d.store.Bucket(memstore.TelemetryBucket).Set("...
3
3
1
[{"id": "G0", "claim": "SourceCount should not be added to the existing Supplier interface (remote suppliers would be forced to implement it); instead a new IacSupplier interface should be introduced and TerraformStateReader composed with both.", "category": "design", "verdict": "supported", "priority": "P1", "scope": ...
null
snyk__driftctl__1347
snyk/driftctl
1,347
defect
d256d98a1c246003a11898ace27706dc8f95a0d8
7192a7fee822c198729076ada47856d840e04061
Add retry policy for remaining GCP acc tests
## Description This PR adds a retry policy for some GCP tests that failed recently without retrying. It also creates a new common `LinearBackoff` function so we don't duplicate the retry policy for each test. Tests where I added the retry policy : - `TestAcc_Google_ComputeInstance` - `TestAcc_Google_ComputeNet...
diff --git a/pkg/resource/google/google_compute_instance_test.go b/pkg/resource/google/google_compute_instance_test.go index cf2361f33..667a0474e 100644 --- a/pkg/resource/google/google_compute_instance_test.go +++ b/pkg/resource/google/google_compute_instance_test.go @@ -2,6 +2,7 @@ package google_test import ( "...
1
1
0
[{"id": "G0", "claim": "Extract the inline ShouldRetry closure and its explanatory comment into one shared helper instead of duplicating them in every acceptance test.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
snyk__driftctl__1348
snyk/driftctl
1,348
defect
d256d98a1c246003a11898ace27706dc8f95a0d8
c6b53668ba9b07a99e5f98f54c83517c77e92822
Add a new ignores flag to parse ignore patterns as array
Q | A -- | -- 🐛 Bug fix? | no 🚀 New feature? | yes ⚠ Deprecations? | no ❌ BC Break | no 🔗 Related issues | ❓ Documentation | TODO ## Description This feature is for adding a new ignore flag to parse ignore patterns as arguments and as an alternative way to using driftignore file. In order to avoid c...
diff --git a/pkg/cmd/scan.go b/pkg/cmd/scan.go index 1b006992e..9190b82c5 100644 --- a/pkg/cmd/scan.go +++ b/pkg/cmd/scan.go @@ -196,6 +196,13 @@ func NewScanCmd(opts *pkg.ScanOptions) *cobra.Command { ".driftignore", "Path to the driftignore file", ) + fl.StringSliceVar(&opts.Driftignores, + "ignore", + []st...
2
1
1
[{"id": "G0", "claim": "Because the new flag is a StringSlice, values are split on commas, so passing patterns as repeated --ignores flags (e.g. '#,*') can ignore different resources than the same patterns in a simple driftignore file would.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope"...
null
snyk__driftctl__1363
snyk/driftctl
1,363
defect
c9bdbb0e0a34ab6f2a4c0e1f9dc96df3883eb36d
395ad09fe3ccd9689ee34530bf7c44c29802ffaa
chore: fix failed ACC tests
## Description Fix acceptance test on state reader
diff --git a/pkg/iac/terraform/state/enumerator/azurerm.go b/pkg/iac/terraform/state/enumerator/azurerm.go index c38521f0f..139652bc7 100644 --- a/pkg/iac/terraform/state/enumerator/azurerm.go +++ b/pkg/iac/terraform/state/enumerator/azurerm.go @@ -82,6 +82,10 @@ func (s *AzureRMEnumerator) Enumerate() ([]string, error...
3
2
0
[{"id": "G0", "claim": "The new error-handling block in AzureRMEnumerator.Enumerate could be written as a one-line if combining the type assertion and the RawResponse() nil check.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks ...
null
snyk__driftctl__1371
snyk/driftctl
1,371
defect
79dddd161c1ff5854d12e38cca987fb14cc8dca3
641afd92427979d594ac1255024e5e4ab3c47a8c
Add total_iac_source_count json field
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | yes | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #1370 | ❓ Documentation | https://github.com/snyk/driftctl-docs/pull/224 <!-- does this require documentation update ? --> ## Description...
diff --git a/pkg/analyser/analysis.go b/pkg/analyser/analysis.go index 8ea587168..e4bd3bb96 100644 --- a/pkg/analyser/analysis.go +++ b/pkg/analyser/analysis.go @@ -27,11 +27,12 @@ type Difference struct { } type Summary struct { - TotalResources int `json:"total_resources"` - TotalDrifted int `json:"total_change...
1
1
1
[{"id": "G0", "claim": "Update TestAnalysis_UnmarshalJSON and UnmarshalJSON so that the new total_iac_source_count field is also covered on unmarshalling, since unmarshalled analysis results will be used beyond acceptance tests in the future.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "...
null
snyk__driftctl__1379
snyk/driftctl
1,379
defect
5bc324f148c48ff2a317a603bc87b908b6a3a5a6
0330f54647390ebcef5a42c2465fcb5410b3ed37
Add google_compute_instance_group_manager
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | yes | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | https://github.com/snyk/driftctl/issues/998 | ❓ Documentation | https://github.com/snyk/driftctl-docs/pull/226 <!-- does this require docume...
diff --git a/pkg/driftctl.go b/pkg/driftctl.go index 61d4a3f99..8be78447c 100644 --- a/pkg/driftctl.go +++ b/pkg/driftctl.go @@ -126,6 +126,7 @@ func (d DriftCTL) Run() (*analyser.Analysis, error) { middlewares.NewGoogleIAMBindingTransformer(d.resourceFactory), middlewares.NewGoogleIAMPolicyTransformer(d.resour...
2
2
0
[{"id": "G0", "claim": "Add a comment on the middleware explaining its goal, why it exists, and how the state/instance-group matching logic works, complete enough for someone who knows nothing about that particular resource.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}...
null
snyk__driftctl__1380
snyk/driftctl
1,380
defect
856df942e9583c99f0ff9d3bc36cf415af89b992
a8539d7305bf240e705c37c3a4b54c94bcbdd78c
Fix panic in apigatewayv2_api_mapping enumerator
| Q | A | ----------------- | --- | 🐛 Bug fix? | yes | 🚀 New feature? | no | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #... | ❓ Documentation | no <!-- does this require documentation update ? --> ## Description User on Discord recently reported a crash...
diff --git a/pkg/remote/aws/apigatewayv2_mapping_enumerator.go b/pkg/remote/aws/apigatewayv2_mapping_enumerator.go index f9f92201f..dbbf5b6c8 100644 --- a/pkg/remote/aws/apigatewayv2_mapping_enumerator.go +++ b/pkg/remote/aws/apigatewayv2_mapping_enumerator.go @@ -1,6 +1,7 @@ package aws import ( + "github.com/siru...
1
1
1
[{"id": "G0", "claim": "The enumerator should not skip a mapping whose optional Stage/ApiId attributes are missing — since those attributes are only used for display, it should instead omit them and still return the resource, as skipping would cause inconsistency and false positive drifts.", "category": "correctness", ...
null
snyk__driftctl__141
snyk/driftctl
141
defect
c9192c33a489e8613b64821402d6f353f75f5294
571740472baff8d9d74f6e09a3c067daf46419f4
only send one alert for computed fieds
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | no | ⚠ Deprecations? | no | ❌ BC Break | yes | 🔗 Related issues | . | ❓ Documentation | no ## Description Change driftctl behavior when it find drift on computed field. We use to send one alert per c...
diff --git a/pkg/analyser/analyzer.go b/pkg/analyser/analyzer.go index c4ee1821f..ab78e898c 100644 --- a/pkg/analyser/analyzer.go +++ b/pkg/analyser/analyzer.go @@ -1,10 +1,8 @@ package analyser import ( - "fmt" "reflect" "sort" - "strings" "github.com/cloudskiff/driftctl/pkg/alerter" "github.com/cloudski...
1
1
0
[{"id": "G0", "claim": "The dedicated sendAlertOnComputedField function is no longer needed and the alert should be sent inline instead, e.g. \"if haveComputedDiff { a.alerter.SendAlert(\"\", alerter.Alert{Message: \"You have diffs on computed fields, ...\"}) }\".", "category": "design", "verdict": "supported", "priori...
null
snyk__driftctl__1453
snyk/driftctl
1,453
defect
28dffc6fe4a085c47285872e3428213497c35b10
e9f906e8fc7c5c04ea5244291c78d7986831c548
feat: google compute global forwarding rule
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | yes | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | https://github.com/snyk/driftctl/issues/992 | ❓ Documentation | https://github.com/snyk/driftctl-docs/pull/230 ## Description This PR ...
diff --git a/pkg/iac/terraform/state/terraform_state_reader_test.go b/pkg/iac/terraform/state/terraform_state_reader_test.go index 48aa4fab2..d65f84f5f 100644 --- a/pkg/iac/terraform/state/terraform_state_reader_test.go +++ b/pkg/iac/terraform/state/terraform_state_reader_test.go @@ -379,6 +379,7 @@ func TestTerraformS...
2
2
0
[{"id": "G0", "claim": "Rename the `nodeGroups` variable in the enumerator's Enumerate method to `globalForwardingRules` so the name reflects what it holds.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Regenerate mock_AssetRepository.go with `...
null
snyk__driftctl__1501
snyk/driftctl
1,501
defect
c5ed5b9c6de7fe20680a6e7108a03f0760af2c77
7c11ef6084b35a44f4d99264d0e2ecac11127e66
fix: driftignore that ignore type
| Q | A | ----------------- | --- | 🐛 Bug fix? | yes | 🚀 New feature? | no | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #1499 | ❓ Documentation | no ## Description In some case driftignore filtering engine was ignoring some types event if some inclusio...
diff --git a/pkg/filter/driftignore.go b/pkg/filter/driftignore.go index d7885f402..4eb13b732 100644 --- a/pkg/filter/driftignore.go +++ b/pkg/filter/driftignore.go @@ -90,7 +90,7 @@ func (r *DriftIgnore) parseIgnorePattern(line string, patterns *[]gitignore.Patt func (r *DriftIgnore) isAnyOfChildrenTypesNotIgnored(ty...
1
1
0
[{"id": "G0", "claim": "In shouldIgnoreType, simplify the negation-prefix check to a single strings.HasPrefix(pattern, fmt.Sprintf(\"!%s.\", ty)) call.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
snyk__driftctl__153
snyk/driftctl
153
defect
4d05870a4e6cf63296db816c27d385b0edd138dc
7461e5c53e6668dd57953e67aa26b96802a8813d
Allow to override env vars for terraform operations in acc tests
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | no | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #83 | ❓ Documentation | yes
diff --git a/doc/contributing/tests.md b/doc/contributing/tests.md index 9588a1ee8..dcecb73a5 100644 --- a/doc/contributing/tests.md +++ b/doc/contributing/tests.md @@ -124,6 +124,34 @@ Each acceptance test should be prefixed by `TestAcc_` and should be run using en DRIFTCTL_ACC=true go test -run=TestAcc_ ./pkg/resour...
6
6
1
[{"id": "G0", "claim": "In the special case where an ACC_-prefixed variable is set to the empty string, the map presence check environMap[key] == \"\" lets a plain environment entry set afterwards win, so the ACC_ override would not take effect (TEST_VAR_5 would end up as \"test2\").", "category": "correctness", "verdi...
null
snyk__driftctl__1562
snyk/driftctl
1,562
defect
516609f12dd352079019bae308143134ddf97e25
7ded2d22ebe73833d0605f705880585eeba70ba5
Support tfstate discovery within workspaces
| Q | A | ----------------- | --- | 🐛 Bug fix? | yes | 🚀 New feature? | no | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | [CTX-336](https://snyksec.atlassian.net/browse/CTX-336) | ❓ Documentation | no <!-- does this require documentation update ? --> ## Descr...
diff --git a/pkg/cmd/scan.go b/pkg/cmd/scan.go index 28c51035d..52d9271a0 100644 --- a/pkg/cmd/scan.go +++ b/pkg/cmd/scan.go @@ -399,7 +399,8 @@ func retrieveBackendsFromHCL(workdir string) ([]config.SupplierConfig, error) { continue } - if supplierConfig := body.Backend.SupplierConfig(); supplierConfig != ni...
2
2
1
[{"id": "G0", "claim": "The `test with default workspace` case in TestHCL_getCurrentWorkspaceName duplicates the `test with non-default workspace` case and should be removed.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Taking the workspace into accou...
null
snyk__driftctl__1662
snyk/driftctl
1,662
defect
00cbd1cf2149a11259cc93e584385adb5de8988f
aac9461c07b2cc51a34ed6b6a1d6e13dc62a7f07
[CTX-601] chore: fix various AWS acceptance tests
**chore: fix various AWS acceptance tests** **chore: re-enable nightly acceptance tests** This reverts commit 9907b1cd4245006d77670f66cd74fac4eaf2bf9c. **chore: manual acceptance test job** In order to trigger acceptance tests for certain branches pre-merge, and without having to wait for a n...
diff --git a/pkg/resource/aws/aws_api_gateway_authorizer_test.go b/pkg/resource/aws/aws_api_gateway_authorizer_test.go index 44aee41ac..aa966bf75 100644 --- a/pkg/resource/aws/aws_api_gateway_authorizer_test.go +++ b/pkg/resource/aws/aws_api_gateway_authorizer_test.go @@ -9,7 +9,7 @@ import ( func TestAcc_Aws_ApiGat...
2
1
0
[{"id": "G0", "claim": "The PR bumps the Lambda runtime in aws_lambda_event_source_mapping/main.tf to nodejs14.x while the same change bumps aws_apigatewayv2_authorizer/terraform.tf to nodejs18.x, although both were originally the same version, and the reviewer asks what the reason for the difference is.", "category": ...
null
snyk__driftctl__229
snyk/driftctl
229
defect
5bb611de9b605d083732ba2e77afa5dda73bfe1e
cb359c8028eb39206158bb220b0da0386644893e
Improve aws_iam_access_key output
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | no | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #184 | ❓ Documentation | no ## Description Creation of a String() method that returns the id and the user for the resource aws_iam_acc...
diff --git a/pkg/resource/aws/aws_iam_access_key_ext.go b/pkg/resource/aws/aws_iam_access_key_ext.go index 696eae4ec..f2d2188c2 100644 --- a/pkg/resource/aws/aws_iam_access_key_ext.go +++ b/pkg/resource/aws/aws_iam_access_key_ext.go @@ -1,6 +1,12 @@ package aws -import "github.com/cloudskiff/driftctl/pkg/resource" +...
2
2
0
[{"id": "G0", "claim": "The String() method should check `r.User == nil` instead of `aws.StringValue(r.User) == \"\"`, to be more consistent with what was done before on the route53 resources.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remov...
null
snyk__driftctl__267
snyk/driftctl
267
defect
4e452bf2b0526f021e38e22b0d06640b01079fb2
e6ecd68f6c8697df00e9148a8f48eb177cdd5a79
Point to the policy for driftctl when an access denied is encountered
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | no | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #226 | ❓ Documentation | no ## Description I modified the composition of the alerts to make it an interface and be able to interact wi...
diff --git a/pkg/alerter/alert.go b/pkg/alerter/alert.go index 1db4d8f79..9e0d868f8 100644 --- a/pkg/alerter/alert.go +++ b/pkg/alerter/alert.go @@ -1,8 +1,40 @@ package alerter +import "encoding/json" + type Alerts map[string][]Alert -type Alert struct { - Message string `json:"message"` - ShouldIgn...
14
12
4
[{"id": "G0", "claim": "Tests should not need a newFakeAlert constructor; fakeAlert fields should match the old Alert fields so tests only change the []Alert lines.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The computed-diff message should be retur...
null
snyk__driftctl__314
snyk/driftctl
314
defect
1ff858ccde017ff178ceef296704cc9acb895c82
c3a8809d5574f3439dc7b1307b17da751f1468bf
DriftIgnore implement new wildcard match checker
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | yes | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #232 | ❓ Documentation | yes -> wildcard examples for .driftignore ## Description I decide to check the resources of the driftignore ...
diff --git a/pkg/filter/driftignore.go b/pkg/filter/driftignore.go index 688ab791a..26b225e60 100644 --- a/pkg/filter/driftignore.go +++ b/pkg/filter/driftignore.go @@ -11,14 +11,16 @@ import ( ) type DriftIgnore struct { - resExclusionList map[string]struct{} // map[type.id] exists to ignore - driftExclusionList...
3
3
1
[{"id": "G0", "claim": "Add tests to TestDriftIgnore_IsResourceIgnored with a new case dedicated to wildcards, using a new folder under testdata.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new comment should read 'multiple asterisks' instead of ...
null
snyk__driftctl__339
snyk/driftctl
339
defect
ead1d41ce6b355f20a8ce2f240fe1f9e1796c54d
c46dad204f8f0649ed0bccd0f8fac7303193243e
fix race condition on progress that could cause deadlock
| Q | A | ----------------- | --- | 🐛 Bug fix? | yes | 🚀 New feature? | no | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | | ❓ Documentation | no <!-- does this require documentation update ? --> ## Description fix race condition on progress that could cause...
diff --git a/pkg/output/progress.go b/pkg/output/progress.go index 97ed60f9d..2893cacd0 100644 --- a/pkg/output/progress.go +++ b/pkg/output/progress.go @@ -23,7 +23,6 @@ type Progress interface { } type progress struct { - ticChan chan struct{} endChan chan struct{} started *atomic.Bool count *atomic.Uint6...
2
2
1
[{"id": "G0", "claim": "The new test's assertion swaps testify's expected and actual arguments and should read assert.Equal(t, uint64(0), progress.Val()).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reworked timeout test dropped the asser...
null
snyk__driftctl__345
snyk/driftctl
345
defect
288332d907638f2e9c3bc45ef396b6db728f8e82
20f8824c3a90f6f3c6f94ba8ea8ed828738691d5
when sns subscription is pending prevent crash and show an alert
| Q | A | ----------------- | --- | 🐛 Bug fix? | yes | 🚀 New feature? | no | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #... | ❓ Documentation | no <!-- does this require documentation update ? --> ## Description SNS Topic subscription can be pending confi...
diff --git a/pkg/remote/aws/init.go b/pkg/remote/aws/init.go index 21102c211..a57c0d4af 100644 --- a/pkg/remote/aws/init.go +++ b/pkg/remote/aws/init.go @@ -68,7 +68,7 @@ func Init(alerter *alerter.Alerter, providerLibrary *terraform.ProviderLibrary, supplierLibrary.AddSupplier(NewSqsQueuePolicySupplier(provider)) ...
3
2
0
[{"id": "G0", "claim": "Maybe pass only subscription.Endpoint to the pendingTopicAlert and build the message string inside the alert itself.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The struct field name `alertr` is a typo of `alerter` and should b...
null
snyk__driftctl__353
snyk/driftctl
353
defect
f34d5443f8bec6368d3a0a735abdaef4211ba096
0500da05dc41d6af7310d634a0db817156fc2526
Implement glob support for enumerators
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | yes | ⚠ Deprecations? | no | ❌ BC Break | yes | 🔗 Related issues | #316 | ❓ Documentation | yes <!-- does this require documentation update ? --> ## Description Limited glob support. Support go glob...
diff --git a/pkg/iac/terraform/state/enumerator/extglob.go b/pkg/iac/terraform/state/enumerator/extglob.go new file mode 100644 index 000000000..76531ab9f --- /dev/null +++ b/pkg/iac/terraform/state/enumerator/extglob.go @@ -0,0 +1,298 @@ +/* +MIT License + +Copyright (c) 2017 Nuno Cruces + +Permission is hereby grante...
2
2
0
[{"id": "G0", "claim": "The new comment in s3.go reads \"filpath match does not compile so we try to match to be able to report the pattern error\" and should be reworded (typo plus grammar).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "In file....
null
snyk__driftctl__361
snyk/driftctl
361
defect
e238772b702cb72c5b10f4e4f6c8d09b35f3ff90
2faadeb86b15284c3cecb8ba6212257f3c88e669
Detect & exclude unsupported Terraform versions
| Q | A | ----------------- | --- | 🐛 Bug fix? | yes | 🚀 New feature? | no | ⚠ Deprecations? | yes | ❌ BC Break | no | 🔗 Related issues | #340 | ❓ Documentation | yes <!-- does this require documentation update ? --> ## Description The goal of this patch is to warn the u...
diff --git a/pkg/iac/terraform/state/terraform_state_reader.go b/pkg/iac/terraform/state/terraform_state_reader.go index 1bb7a93ec..0a9458420 100644 --- a/pkg/iac/terraform/state/terraform_state_reader.go +++ b/pkg/iac/terraform/state/terraform_state_reader.go @@ -3,13 +3,7 @@ package state import ( "fmt" - "githu...
2
2
0
[{"id": "G0", "claim": "The single constant TerraformStateReaderSupplier should not have been wrapped in a parenthesized const block; revert it to the original single-line declaration.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The documenta...
null
snyk__driftctl__385
snyk/driftctl
385
defect
f34d5443f8bec6368d3a0a735abdaef4211ba096
91062de22754db74386b758386594788515afd89
Make differences output predictable
| Q | A | ----------------- | --- | 🐛 Bug fix? | yes | 🚀 New feature? | no | ⚠ Deprecations? | no | ❌ BC Break | **yes** | 🔗 Related issues | #374 | ❓ Documentation | no <!-- does this require documentation update ? --> ## Description Differences was expected to be sorte...
diff --git a/pkg/analyser/analysis.go b/pkg/analyser/analysis.go index 80e0a37ae..babc27645 100644 --- a/pkg/analyser/analysis.go +++ b/pkg/analyser/analysis.go @@ -2,10 +2,12 @@ package analyser import ( "encoding/json" + "sort" + + "github.com/r3labs/diff/v2" "github.com/cloudskiff/driftctl/pkg/alerter" "g...
1
1
1
[{"id": "G0", "claim": "The pull request's sorting does not sort the changes inside each difference by path (the old analyzer sort ordered by type only), so the differences output is not fully predictable; the changes within a difference should be sorted on Change.Type and/or Change.Path.", "category": "correctness", "...
null
snyk__driftctl__388
snyk/driftctl
388
defect
fd9213d6b9e66d0ed3a0db72d4e7b37bd59c194d
df7c29de58e929c32227e7e389614eb15e70476e
Implement strict mode
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | yes | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #331 | ❓ Documentation | yes <!-- does this require documentation update ? --> ## Description When scanning a brand new AWS account, s...
diff --git a/.circleci/config.yml b/.circleci/config.yml index 622acf596..07e4ae830 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -26,7 +26,7 @@ jobs: steps: - checkout - go/install: - version: "1.16" + version: "1.16.2" # Disable cache at it seem to bro...
15
14
3
[{"id": "G0", "claim": "The iam role defaults middleware's debug log says it is ignoring a default iam policy attachment, but it should say iam role.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The exact scope of what the --strict flag ignores ...
null
snyk__driftctl__394
snyk/driftctl
394
defect
fd9213d6b9e66d0ed3a0db72d4e7b37bd59c194d
8d4e50f8d45cfefa6108b177e94c733e0ebe2d5b
Add missing truncate option when writting JSON twice in the same file
| Q | A | ----------------- | --- | 🐛 Bug fix? | yes | 🚀 New feature? | no | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | none | ❓ Documentation | none ## Description Add truncate directive to remove file content when writing json output multiples times to...
diff --git a/pkg/cmd/scan/output/json.go b/pkg/cmd/scan/output/json.go index 6f535577e..29f7da3b7 100644 --- a/pkg/cmd/scan/output/json.go +++ b/pkg/cmd/scan/output/json.go @@ -21,7 +21,7 @@ func NewJSON(path string) *JSON { func (c *JSON) Write(analysis *analyser.Analysis) error { file := os.Stdout if !isStdOut(c...
2
1
1
[{"id": "G0", "claim": "The golden testdata file output_multiples_times.json uses the key names \"deleted\"/\"total_deleted\" where the analysis output on v0.7 uses \"missing\"/\"total_missing\", so the unit tests are not passing.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduc...
null
snyk__driftctl__407
snyk/driftctl
407
defect
88e729c293eb4d68cb37a08707a119127c1a3433
991c9ae48c1e7bda6fb3fb39a7dc8014b842f2b8
Fix body reader of http backend
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | no | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #... | ❓ Documentation | no <!-- does this require documentation update ? --> ## Description As discussed in #406 , we should mock the ...
diff --git a/mocks/http.go b/mocks/http.go new file mode 100644 index 000000000..5c255dcab --- /dev/null +++ b/mocks/http.go @@ -0,0 +1,19 @@ +package mocks + +import ( + "net/http" + + mock "github.com/stretchr/testify/mock" +) + +// HttpClient is an autogenerated mock type for the Client type +type HttpClient struct ...
6
5
1
[{"id": "G0", "claim": "The HttpClient interface and its generated mock should not live in the backend package: the interface belongs in a dedicated package (pkg/http) with the mock alongside it, per the mockery configuration.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduc...
null
snyk__driftctl__433
snyk/driftctl
433
defect
1924900e9a9958e0e6520a3c226d43f1a3aac385
8a8bbb63b81913835f8aeb04bac213ef63c4247a
Create driftignore generator command
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | yes | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #415 | ❓ Documentation | yes <!-- does this require documentation update ? --> TL;DR: The purpose of this change is to be able to generat...
diff --git a/pkg/cmd/driftctl.go b/pkg/cmd/driftctl.go index bc7a998ea..63f4d7aa0 100644 --- a/pkg/cmd/driftctl.go +++ b/pkg/cmd/driftctl.go @@ -65,6 +65,7 @@ func NewDriftctlCmd(build build.BuildInterface) *DriftctlCmd { cmd.PersistentFlags().BoolP("send-crash-report", "", false, "Enable error reporting. Crash data ...
12
11
3
[{"id": "G0", "claim": "The gen-driftignore business logic should not live in the command's RunE; it should be moved into a dedicated options struct (e.g. GenDriftIgnoreOptions, like ScanOptions) and a business-logic layer so the command only reads input and delegates, making the code easier to test and maintain.", "ca...
null
snyk__driftctl__435
snyk/driftctl
435
defect
c091d04acd9ba880a668dd53e6974e5584c6346f
da6412717525d13b2de7486c6bb8f20794273654
Add a extra test case for the strict mode
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | no | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #... | ❓ Documentation | no <!-- does this require documentation update ? --> ## Description As discussed in https://github.com/cloudsk...
diff --git a/pkg/driftctl_test.go b/pkg/driftctl_test.go index 382673c7d..5d333bd54 100644 --- a/pkg/driftctl_test.go +++ b/pkg/driftctl_test.go @@ -5,7 +5,6 @@ import ( "testing" awssdk "github.com/aws/aws-sdk-go/aws" - "github.com/jmespath/go-jmespath" "github.com/r3labs/diff/v2" "github.com/stretchr/testif...
2
1
0
[{"id": "G0", "claim": "The reviewer wonders if it would be better to add a boolean for the strict mode on the test case struct instead of rewriting the filtering options in each test case.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a test case tha...
null
snyk__driftctl__506
snyk/driftctl
506
defect
035788e150788aa1a5c9f2b7800e116c646c86b2
b6a537c2dd073703ab336166ef86a544e826c813
Report when no tfstate found in backend
| Q | A | ----------------- | --- | 🐛 Bug fix? | yes | 🚀 New feature? | no | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #461 | ❓ Documentation | no <!-- does this require documentation update ? --> ## Description As a user, when I run driftctl scan again...
diff --git a/pkg/iac/terraform/state/terraform_state_reader.go b/pkg/iac/terraform/state/terraform_state_reader.go index 6856d30c8..9d6ec8869 100644 --- a/pkg/iac/terraform/state/terraform_state_reader.go +++ b/pkg/iac/terraform/state/terraform_state_reader.go @@ -242,9 +242,14 @@ func (r *TerraformStateReader) retriev...
2
2
2
[{"id": "G0", "claim": "The responsibility to trigger the 'no Terraform state was found' error should be in the enumerator, not in the reader itself.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "In v0.11, scanning via a glob pattern (tfstate+s3://{buck...
null
snyk__driftctl__51
snyk/driftctl
51
defect
110813b5041abe8a59b98339993a47e8507beaeb
b6d9274e3c0da6d68b4fd66c86de63f2c20a2c5e
add fmt check in ci
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | no | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | | ❓ Documentation | no ## Description We had badly formated (not passed to fmt) file in main. `make` will create diff that add noise to...
diff --git a/.circleci/config.yml b/.circleci/config.yml index 01592695a..e38161202 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -17,6 +17,9 @@ jobs: - image: golang:1.15 steps: - checkout + - run: + name: Enforce Go Formatted Code + command: test -z "$(go fm...
1
1
0
[{"id": "G0", "claim": "The CI fmt check could display which files need re-formatting (like Terraform's pipeline does) instead of just failing via `test -z`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
snyk__driftctl__522
snyk/driftctl
522
defect
88e729c293eb4d68cb37a08707a119127c1a3433
f2b1252c5dc0c829e8ca399540b7762b8e32b44d
Add nat_gateways to ec2_repository
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | no | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #165 | ❓ Documentation | no ## Description Add nat_gateway_supplier to ec2_repository to avoid possible hidden dependency.
diff --git a/pkg/remote/aws/nat_gateway_supplier.go b/pkg/remote/aws/nat_gateway_supplier.go index 16dd77045..ae354e853 100644 --- a/pkg/remote/aws/nat_gateway_supplier.go +++ b/pkg/remote/aws/nat_gateway_supplier.go @@ -2,7 +2,7 @@ package aws import ( "github.com/aws/aws-sdk-go/service/ec2" - "github.com/aws/aws...
1
1
0
[{"id": "G0", "claim": "The 'single aws_nat_gateway' test should reuse the old gateway id (nat-0a5408508b19ef490) and its existing golden files instead of the new id nat-0bb462a8a4b4bf460.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
snyk__driftctl__523
snyk/driftctl
523
defect
88e729c293eb4d68cb37a08707a119127c1a3433
ca35d2585b79b7150ec4f226d344ba6aae54bd61
Add internet_gateway to ec2_repository
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | no | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #165 | ❓ Documentation | no ## Description Add internet_gateway_supplier to ec2_repository to avoid possible hidden dependency.
diff --git a/pkg/remote/aws/internet_gateway_supplier.go b/pkg/remote/aws/internet_gateway_supplier.go index a4f5391d9..3aefdd7a6 100644 --- a/pkg/remote/aws/internet_gateway_supplier.go +++ b/pkg/remote/aws/internet_gateway_supplier.go @@ -2,7 +2,7 @@ package aws import ( "github.com/aws/aws-sdk-go/service/ec2" -...
1
1
1
[{"id": "G0", "claim": "The pull request should not create a new repository (internet_repository) for each supplier; it should reuse the AWS SDK-style architecture and put the internet gateway listing into the existing EC2 repository.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduce...
null
snyk__driftctl__545
snyk/driftctl
545
defect
91eb23ba2414630866e8507d8660645c471d98ae
6bddc5e1864306fe5206fc692792fd1903486303
Fix aws_db_instance false-positives
| Q | A | ----------------- | --- | 🐛 Bug fix? | yes | 🚀 New feature? | no | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #542 | ❓ Documentation | no ## Description Fix false positive for aws_db_instance CharacterSetName Add Acc test. Maybe it's need to...
diff --git a/pkg/resource/aws/aws_db_instance_ext.go b/pkg/resource/aws/aws_db_instance_ext.go index b066956e7..a7a5228d5 100644 --- a/pkg/resource/aws/aws_db_instance_ext.go +++ b/pkg/resource/aws/aws_db_instance_ext.go @@ -14,9 +14,15 @@ func (r *AwsDbInstance) NormalizeForState() (resource.Resource, error) { if r....
5
5
2
[{"id": "G0", "claim": "The acceptance test should use result.AssertInfrastructureIsInSync() and result.AssertManagedCount(1) instead of AssertDriftCountTotal(0) plus a manual Equal on TotalManaged.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ...
null
snyk__driftctl__589
snyk/driftctl
589
defect
8ea1af582c3059be86fdebc567ecfde177ec879d
9fbd8e52abeea0a886e5129368529dba36a9e265
Fix crash when capacity is set to 0 in cache
| Q | A | ----------------- | --- | 🐛 Bug fix? | yes | 🚀 New feature? | no | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #... | ❓ Documentation | no <!-- does this require documentation update ? --> ## Description In some cases, we may want to not use the...
diff --git a/pkg/remote/cache/cache.go b/pkg/remote/cache/cache.go index 9b19740be..3acb5d33c 100644 --- a/pkg/remote/cache/cache.go +++ b/pkg/remote/cache/cache.go @@ -49,6 +49,10 @@ func (c *LRUCache) Put(key string, value interface{}) bool { c.mu.Lock() defer c.mu.Unlock() + if c.cap == 0 { + return false + }...
1
1
0
[{"id": "G0", "claim": "Remove the useless `overridden` bool field (and the `expectedValue` field) from the test struct since with a cache of capacity 0 they must always be false/nil, asserting the literals directly instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced...
null
snyk__driftctl__647
snyk/driftctl
647
defect
0da5e2ea3666934610915cb61be203bee20b9af5
c45760d94e613e37c0e699c4ff777745e2e82231
Upgrade driftignore syntax to support exclusion gitignore like
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | yes | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #617 | ❓ Documentation | yes ## Description Replace our custom driftignore implementation by go-git gitignore. This way it's now pos...
diff --git a/go.mod b/go.mod index 5d4292bb3..2f94ea337 100644 --- a/go.mod +++ b/go.mod @@ -8,6 +8,7 @@ require ( github.com/eapache/go-resiliency v1.2.0 github.com/fatih/color v1.9.0 github.com/getsentry/sentry-go v0.10.0 + github.com/go-git/go-git/v5 v5.1.0 // indirect github.com/hashicorp/go-getter v1.5.1 ...
3
2
1
[{"id": "G0", "claim": "With the new gitignore-based driftignore parsing, resources present in the reviewer's .driftignore (including `aws_iam_policy_attachment.*`) still show up as unexpected drifts, so the new matching fails to exclude them.", "category": "correctness", "verdict": "supported", "priority": "P1", "scop...
null
snyk__driftctl__664
snyk/driftctl
664
defect
4ac335e7a1bc5b4f7ec157e02205764d46d83511
f6b692622f6b6843b1f883a0d7dc98d7b480e534
Fix EBS volume drift on throughput
| Q | A | ----------------- | --- | 🐛 Bug fix? | yes | 🚀 New feature? | no | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #612 | ❓ Documentation | no
diff --git a/pkg/resource/aws/aws_ebs_volume.go b/pkg/resource/aws/aws_ebs_volume.go index b76080712..3576e3588 100644 --- a/pkg/resource/aws/aws_ebs_volume.go +++ b/pkg/resource/aws/aws_ebs_volume.go @@ -12,5 +12,6 @@ func initAwsEbsVolumeMetaData(resourceSchemaRepository resource.SchemaRepository val.SafeDelete([]...
1
1
0
[{"id": "G0", "claim": "The new TestAcc_AwsInstance check should rely on the shared in-sync assertion (AssertInfrastructureIsInSync) instead of hand-writing redundant count/drift assertions (AssertDeletedCount(0), AssertDriftCountTotal(0), AssertManagedCount(2)).", "category": "maintainability", "verdict": "supported",...
null
snyk__driftctl__705
snyk/driftctl
705
defect
86827b5396176bad43daf43038199de15d24b7b0
1027db8325c9db26c72f5cf07941360461024109
Implement in-memory store for analysis data
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | no | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #443 | ❓ Documentation | no <!-- does this require documentation update ? --> ## Description Following a discussion with @eliecharra , ...
diff --git a/pkg/cmd/scan.go b/pkg/cmd/scan.go index c19df4606..1202bce98 100644 --- a/pkg/cmd/scan.go +++ b/pkg/cmd/scan.go @@ -9,6 +9,7 @@ import ( "syscall" "time" + "github.com/cloudskiff/driftctl/pkg/memstore" "github.com/cloudskiff/driftctl/pkg/remote/common" "github.com/cloudskiff/driftctl/pkg/telemetr...
9
6
0
[{"id": "G0", "claim": "The DriftCTL struct field holding the memstore should have a more complete name like `store` or `memoryStore` instead of `s`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "SendTelemetry should take no argument, with the ...
null
snyk__driftctl__854
snyk/driftctl
854
defect
373bb0918bd8e3ce6ef82844d65a48e0cd2d593d
784aa096b4da742979d21351fe0622273e0a2032
Add policy to `aws_sqs_queue_policy` enumerator
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | no | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | Fix #849 | ❓ Documentation | no
diff --git a/pkg/remote/aws/repository/mock_SQSRepository.go b/pkg/remote/aws/repository/mock_SQSRepository.go index 9028b57c4..a5c7ebbe9 100644 --- a/pkg/remote/aws/repository/mock_SQSRepository.go +++ b/pkg/remote/aws/repository/mock_SQSRepository.go @@ -1,14 +1,40 @@ -// Code generated by mockery v1.0.0. DO NOT EDIT...
1
1
0
[{"id": "G0", "claim": "The queue URL parameter of GetQueueAttributes need not be a *string — a plain string would do, with aws.String() used where a pointer is needed.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
snyk__driftctl__859
snyk/driftctl
859
defect
47785e7b3ac7dce52459c2fbca42dd071d5b9526
e6cf5ecfb0d3cad5724fa90b04dd906add0b9ef2
do not fail if one multiple from is incorrect
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | yes | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #697 | ❓ Documentation | no <!-- does this require documentation update ? --> ## Description do not fail if one multiple from is inco...
diff --git a/pkg/cmd/scan.go b/pkg/cmd/scan.go index 719de1c38..b061a883c 100644 --- a/pkg/cmd/scan.go +++ b/pkg/cmd/scan.go @@ -209,6 +209,7 @@ func scanRun(opts *pkg.ScanOptions) error { err := remote.Activate(opts.To, opts.ProviderVersion, alerter, providerLibrary, remoteLibrary, scanProgress, resourceSchemaRepo...
9
9
2
[{"id": "G0", "claim": "Scanning still exits with a blocking error (exit status 1) when one specified state file does not exist, although the pull request is meant not to fail when one --from is incorrect.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim...
null
snyk__driftctl__865
snyk/driftctl
865
defect
751a8369938d8c5d3e313872870db1cb8811edf3
8d4eb9bec7e07ab3d0de8c83b3be4b33ce9c0d28
Allow multiple output flags for a single scan
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | yes | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #831 | ❓ Documentation | yes https://github.com/cloudskiff/driftctl-docs/pull/86 <!-- does this require documentation update ? --> ## Des...
diff --git a/pkg/cmd/scan.go b/pkg/cmd/scan.go index 26a2667f7..e6f701872 100644 --- a/pkg/cmd/scan.go +++ b/pkg/cmd/scan.go @@ -60,12 +60,16 @@ func NewScanCmd() *cobra.Command { ) } - outputFlag, _ := cmd.Flags().GetString("output") - out, err := parseOutputFlag(outputFlag) + outputFlag, _ := cmd.Fla...
4
4
1
[{"id": "G0", "claim": "Set the default of the --output flag to []string{output.Example(output.ConsoleOutputType)} instead of []string{} so the `if len(outputFlag) == 0` fallback branch can be removed while keeping console as the default output.", "category": "design", "verdict": "supported", "priority": "P2", "scope":...
null
snyk__driftctl__868
snyk/driftctl
868
defect
89ea2262fde93251b193a650b686002be9254d39
258675d95ce520cbc443f4a1d2a493bd68b5a23c
fix crash when sqs queue is just deleted and still appears in listing
| Q | A | ----------------- | --- | 🐛 Bug fix? | yes | 🚀 New feature? | no | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | | ❓ Documentation | no <!-- does this require documentation update ? --> ## Description fix crash when sqs queue is just deleted and st...
diff --git a/pkg/remote/aws/init.go b/pkg/remote/aws/init.go index 8220f112d..90dca6f80 100644 --- a/pkg/remote/aws/init.go +++ b/pkg/remote/aws/init.go @@ -133,7 +133,7 @@ func Init(version string, alerter *alerter.Alerter, remoteLibrary.AddDetailsFetcher(aws.AwsDbSubnetGroupResourceType, common.NewGenericDetailsFet...
2
1
0
[{"id": "G0", "claim": "The debug message logged when a just-deleted queue is ignored could be more explicit and carry additional context (e.g. the resource id), as done previously for EC2 instances.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim":...
null
snyk__driftctl__885
snyk/driftctl
885
defect
f54656ccd4ba7474653bd9c32c3b59b4e1d0e7b9
8240e6f357655a174852c7b86a33f68952bee4d4
Should read terraform config file
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | yes | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #780 | ❓ Documentation | yes ## Description Whenever possible we should read the terraform configuration file if the user doesn't wan...
diff --git a/pkg/cmd/scan.go b/pkg/cmd/scan.go index 78cc87eff..1ae1b0007 100644 --- a/pkg/cmd/scan.go +++ b/pkg/cmd/scan.go @@ -93,6 +93,14 @@ func NewScanCmd() *cobra.Command { opts.ConfigDir, _ = cmd.Flags().GetString("config-dir") + if backend.ContainsBackend(iacSource, backend.BackendKeyTFCloud) && opts....
5
4
1
[{"id": "G0", "claim": "The TFCloud token lookup does not belong in the scan command: the config-file-reading logic should live in the TFCloudBackend.Read() method (with no API call in the NewTFCloudReader constructor), which would make the ContainsBackend helper unnecessary.", "category": "design", "verdict": "support...
null
snyk__driftctl__927
snyk/driftctl
927
defect
2f575018f61a1087dbd0ae574ed2b2770c98e596
51ce0d25d8ace0e7a6c4ead9713bb9b335aa7a36
Fix JSON diff formatting in HTML output
| Q | A | ----------------- | --- | 🐛 Bug fix? | yes | 🚀 New feature? | no | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #921 | ❓ Documentation | no <!-- does this require documentation update ? --> ## Description When we have a diff on a JSON field, the ...
diff --git a/pkg/cmd/scan/output/console.go b/pkg/cmd/scan/output/console.go index bdb67fcce..7f795fcf0 100644 --- a/pkg/cmd/scan/output/console.go +++ b/pkg/cmd/scan/output/console.go @@ -98,7 +98,7 @@ func (c *Console) Write(analysis *analyser.Analysis) error { if change.Type == diff.UPDATE { if change.J...
2
2
0
[{"id": "G0", "claim": "The call site should pass isatty.IsTerminal(os.Stdout.Fd()) instead of true so that jsonDiff only needs the coloring parameter instead of the && with the terminal check.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test coul...
null
snyk__driftctl__931
snyk/driftctl
931
defect
2f575018f61a1087dbd0ae574ed2b2770c98e596
a455519d185d86a475cced9419a66272dc105420
Display resource source in HTML output
| Q | A | ----------------- | --- | 🐛 Bug fix? | no | 🚀 New feature? | yes | ⚠ Deprecations? | no | ❌ BC Break | no | 🔗 Related issues | #876 | ❓ Documentation | no <!-- does this require documentation update ? --> ## Description This PR adds IaC source to drifts in HTML...
diff --git a/pkg/cmd/scan/output/assets/index.tmpl b/pkg/cmd/scan/output/assets/index.tmpl index ed78c4123..9c52437e2 100644 --- a/pkg/cmd/scan/output/assets/index.tmpl +++ b/pkg/cmd/scan/output/assets/index.tmpl @@ -55,13 +55,20 @@ <form role="search"> <label for="search" class="visuallyhidden">S...
4
4
1
[{"id": "G0", "claim": "getIaCSources may miss the IaC source of resources that have no diff (e.g. managed resources in non-deep mode, now the default); it should build the list from deleted and managed resources via distinctIaCSources, and that behaviour should be tested.", "category": "correctness", "verdict": "suppo...
null
snyk__kubernetes-monitor__1094
snyk/kubernetes-monitor
1,094
defect
257279921f1b375dfa755070a21b1c30c69d8ef5
7e15c792f659731bfffc02f5677fef0cc4edd8aa
Feature/argo rollout support
- [x] Tests written and linted [ℹ︎](https://github.com/snyk/general/wiki/Tests) - [ ] Documentation written [ℹ︎](https://github.com/snyk/general/wiki/Documentation) - [x] Commit history is tidy [ℹ︎](https://github.com/snyk/general/wiki/Git) ### What this does Add support for the custom resource Rollout which is...
diff --git a/snyk-monitor-cluster-permissions.yaml b/snyk-monitor-cluster-permissions.yaml index 5f7c6fc21..4d79c1dfa 100644 --- a/snyk-monitor-cluster-permissions.yaml +++ b/snyk-monitor-cluster-permissions.yaml @@ -54,6 +54,14 @@ rules: - get - list - watch +- apiGroups: + - argoproj.io + resources: + - r...
3
1
0
[{"id": "G0", "claim": "Use a type-only import: `import type { IncomingMessage } from 'http';` instead of a value import.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Replace the terse '// TODO: Why any?' comment with a comment that describes ...
null
snyk__kubernetes-monitor__1255
snyk/kubernetes-monitor
1,255
defect
0c147e74cda69c4c346a9e0328740e593e2adb37
89948959b06a58c1626cef3b485e90b94c9be974
feat: INST-265 Scrape Service and Ingress by kubernetes-monitor
- [x] Tests written and linted [ℹ︎](https://github.com/snyk/general/wiki/Tests) - [ ] Documentation written [ℹ︎](https://github.com/snyk/general/wiki/Documentation) - [x] Commit history is tidy [ℹ︎](https://github.com/snyk/general/wiki/Git) ### What this does _Explain why this PR exists_ ### Notes for the re...
diff --git a/.gitignore b/.gitignore index c390cb7e4..61957f418 100644 --- a/.gitignore +++ b/.gitignore @@ -43,6 +43,7 @@ jspm_packages config.local.json .vscode/* +.idea # test utilities kind diff --git a/package-lock.json b/package-lock.json index 9e0a81d8b..69186358f 100644 --- a/package-lock.json +++ b/pac...
1
1
0
[{"id": "G0", "claim": "Nit: the nullable labels/annotations properties (L166-L169) should drop the `|| {}` fallbacks, since they may hold `undefined`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
snyk__kubernetes-monitor__1322
snyk/kubernetes-monitor
1,322
defect
a7e024bb23f84911a55ebe02a231d68b103851d9
c860889e98440d92ae266a2f125a5de270af7e1e
chore: remove delete request body
- [x] Tests written and linted [ℹ︎](https://github.com/snyk/general/wiki/Tests) - [ ] Documentation written [ℹ︎](https://github.com/snyk/general/wiki/Documentation) - [x] Commit history is tidy [ℹ︎](https://github.com/snyk/general/wiki/Git) ### What this does Remove the body from delete requests.
diff --git a/src/transmitter/index.ts b/src/transmitter/index.ts index ee4a7f1cf..251b4aa50 100644 --- a/src/transmitter/index.ts +++ b/src/transmitter/index.ts @@ -8,7 +8,7 @@ import { NeedleResponse, NeedleHttpVerbs, NeedleOptions } from 'needle'; import { logger } from '../common/logger'; import { config } from '....
1
1
1
[{"id": "G0", "claim": "The 3-argument needle call used when the payload is missing cannot be distinguished from passing a payload instead of options, so the reviewer suggests passing null explicitly whenever the payload is missing.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"...
null
snyk__kubernetes-monitor__419
snyk/kubernetes-monitor
419
defect
6a136c8a0c8134b3a12360ce3e631bd54cfc9cf7
6f0b686a2f0fe9f09e0feee82e9d4f456ba8ff03
chore/deploy with helm
- [ ] Tests written and linted [ℹ︎](https://github.com/snyk/general/wiki/Tests) - [ ] Documentation written [ℹ︎](https://github.com/snyk/general/wiki/Documentation) - [x] Commit history is tidy [ℹ︎](https://github.com/snyk/general/wiki/Git) - [ ] Potential release notes have been inspected ### What this does C...
diff --git a/.gitignore b/.gitignore index 0a4376156..a35b08663 100644 --- a/.gitignore +++ b/.gitignore @@ -48,6 +48,7 @@ config.local.json kind kubectl oc +helm kubeconfig-integration-test-kind snyk-monitor-test-deployment.yaml snyk-operator/helm-charts diff --git a/test/setup/deployers/helm.ts b/test/setup/dep...
3
1
0
[{"id": "G0", "claim": "The three helm constants (helmVersion, helmPath, helmChartPath) could be grouped under a helmConfig object.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment '// rwxr-xr-x' on the chmodSync(helmPath, 0o755) call is...
null
snyk__kubernetes-monitor__718
snyk/kubernetes-monitor
718
defect
8edd3054655b1360052764cf460ee60726e0b1ef
f08991f56f1feaeae22fd884375430155f423f68
Feat/deployment config
- [x] Tests written and linted [ℹ︎](https://github.com/snyk/general/wiki/Tests) - [ ] Documentation written [ℹ︎](https://github.com/snyk/general/wiki/Documentation) - [x] Commit history is tidy [ℹ︎](https://github.com/snyk/general/wiki/Git) ### What this does Add support for [DeploymentConfig](https://docs.open...
diff --git a/package-lock.json b/package-lock.json index e704683c0..4439950d1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1581,9 +1581,9 @@ } }, "@kubernetes/client-node": { - "version": "0.14.2", - "resolved": "https://registry.npmjs.org/@kubernetes/client-node/-/client-node-0...
10
4
1
[{"id": "G0", "claim": "Since @kubernetes/client-node 0.14.3 removed the use of net-keepalive, the build dependencies the Dockerfile installs (make, gcc and friends) can now be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Replace the ...
null
snyk__kubernetes-monitor__771
snyk/kubernetes-monitor
771
defect
76ee6279b10d8faf58731b061d44393007912d18
20bceaa0fc73ecf362afba3309700a1165437d3c
[RUN-1559] Rename workload-auto-import policy to workload-events
- [x] Tests written and linted [ℹ︎](https://github.com/snyk/general/wiki/Tests) - [ ] Documentation written [ℹ︎](https://github.com/snyk/general/wiki/Documentation) - [x] Commit history is tidy [ℹ︎](https://github.com/snyk/general/wiki/Git) ### What this does Rename workload-auto-import policy to workload-event...
diff --git a/src/common/policy.ts b/src/common/policy.ts index 551110f8f..9fa71c944 100644 --- a/src/common/policy.ts +++ b/src/common/policy.ts @@ -14,7 +14,7 @@ export async function loadAndSendWorkloadAutoImportPolicy(): Promise<void> { /** This path is set in snyk-monitor during installation/deployment and is ...
1
1
0
[{"id": "G0", "claim": "The remaining 'auto import' references should also be renamed, e.g. constructWorkloadAutoImportPolicy() to constructWorkloadPolicy() and sendWorkloadAutoImportPolicy() to sendWorkloadPolicy().", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}]
null
snyk__kubernetes-monitor__815
snyk/kubernetes-monitor
815
defect
b691347585ca07fcc2095a540c3ecd3c991ad420
bab10cc7244b5653eedbdbb6b2e5fdaf0dbf4e52
[RUN-1602] Remove slashes from cluster names
- [x] Tests written and linted [ℹ︎](https://github.com/snyk/general/wiki/Tests) - [ ] Documentation written [ℹ︎](https://github.com/snyk/general/wiki/Documentation) - [x] Commit history is tidy [ℹ︎](https://github.com/snyk/general/wiki/Git) ### What this does Having `/ `in cluster name shows the cluster as empt...
diff --git a/snyk-monitor/README.md b/snyk-monitor/README.md index 08616af8a..06e6b6852 100644 --- a/snyk-monitor/README.md +++ b/snyk-monitor/README.md @@ -98,7 +98,7 @@ helm upgrade --install snyk-monitor snyk-charts/snyk-monitor --namespace snyk-mo To better organise the data scanned inside your cluster, the monito...
2
2
1
[{"id": "G0", "claim": "The reviewer questions why ':' was chosen as the character to replace disallowed '/' with in cluster names, implying the choice is arbitrary.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The log message still says the cluster na...
null
snyk__kubernetes-monitor__996
snyk/kubernetes-monitor
996
defect
40f6cab7bca71a11c5768384a10edc1ac1385827
3d8093b400885d0cf0f5e45ebc7245276158dfea
[RUN-1518] fix: support both v1 and v1beta1 CronJobs
- [x] Tests written and linted [ℹ︎](https://github.com/snyk/general/wiki/Tests) - [ ] Documentation written [ℹ︎](https://github.com/snyk/general/wiki/Documentation) - [x] Commit history is tidy [ℹ︎](https://github.com/snyk/general/wiki/Git) ### What this does Support both v1 and v1beta1 CronJobs.
diff --git a/src/supervisor/types.ts b/src/supervisor/types.ts index c6bbe961a..ca60ba635 100644 --- a/src/supervisor/types.ts +++ b/src/supervisor/types.ts @@ -2,6 +2,7 @@ import { IncomingMessage } from 'http'; import { AppsV1Api, BatchV1Api, + BatchV1beta1Api, CoreV1Api, CustomObjectsApi, KubeConfig...
5
3
1
[{"id": "G0", "claim": "The CronJob list-failure debug logs should carry a bit more detail so support is not pestered when users see the error, as happens for DeploymentConfig.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The three near-identi...
null
snyk__policy-engine__185
snyk/policy-engine
185
defect
9ca1c56e006893f1efaabce05cc3ebd039a5d684
d4c78d2cd219e751dd99faaebdce02e0b5be684b
feat: add support for cloud resources in run, fixture, and eval commands
This PR adds new options to the `run`, `fixture`, and `eval` commands that enable you to fetch cloud resources from the Snyk Cloud API: ```sh SNYK_TOKEN='<your Snyk token>' \ policy-engine run \ --cloud-org '<your Snyk org ID>' \ --cloud-resource-type aws_s3_bucket \ -d examples ``` ```sh SNYK_TOKEN=...
diff --git a/changes/unreleased/Added-20230313-094901.yaml b/changes/unreleased/Added-20230313-094901.yaml new file mode 100644 index 00000000..faa9a940 --- /dev/null +++ b/changes/unreleased/Added-20230313-094901.yaml @@ -0,0 +1,3 @@ +kind: Added +body: support for cloud resources in run, fixture, and eval commands +t...
4
3
0
[{"id": "G0", "claim": "The cloud flags should use '-' as the separator (e.g. cloud-org) instead of '.' (cloud.org) unless there is a good reason for dots.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The docs should add a new subheader for the Snyk Cl...
null
snyk__policy-engine__211
snyk/policy-engine
211
defect
d8cb07a9f111d750e9fe1c37012f9fce78bb6287
9fd4413079c797d5ea21fd818a0d29ac323847c2
perf: CLOUD-1332 add configurable timeouts to engine
This commit adds three configurable timeouts to the engine package: * Policy set initialization timeout - defaults to 30 seconds * Policy set evaluation timeout - defaults to 5 minutes * Query timeout - defaults to 45 seconds The policy set timeouts are self-explanatory. The query timeout is applied to a few op...
diff --git a/changes/unreleased/Added-20230516-134233.yaml b/changes/unreleased/Added-20230516-134233.yaml new file mode 100644 index 00000000..1138c5b5 --- /dev/null +++ b/changes/unreleased/Added-20230516-134233.yaml @@ -0,0 +1,3 @@ +kind: Added +body: Configurable timeouts to the engine package +time: 2023-05-16T13:...
1
1
0
[{"id": "G0", "claim": "The three timeout fields on Engine (init, eval, query) should be grouped into a `type Timeouts struct`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
snyk__policy-engine__23
snyk/policy-engine
23
defect
852ce53b8bf199f1f699ca225815f0ec85fe5b1e
35a97530a931b562275d250639430a07ec0600b0
[CLOUD-153] Source code location info for CFN input
To test: ``` $ cat cfn-infra.yaml AWSTemplateFormatVersion: '2010-09-09' Parameters: AvailabilityZone: Type: String Default: 'us-east-1b' Resources: ValidVolume01: Type: AWS::EC2::Volume Properties: AvailabilityZone: !Ref AvailabilityZone Encrypted: true Size: 1 ...
diff --git a/Makefile b/Makefile index 0c81ed73..713f28b5 100644 --- a/Makefile +++ b/Makefile @@ -32,6 +32,8 @@ swagger: -e 's/OneOfRuleResultResourceAttributePathItems/interface\{\}/g' \ -e 's/int32/int/g' \ -e 's/\*State /State /g' \ + -e 's/\*\[]SourceLocation /[]SourceLocation /g' \ + -e 's/\tResources ...
1
1
1
[{"id": "G0", "claim": "The new annotation code is too tightly coupled to the loader implementation (it hard-codes that the IaC resource namespace is the filepath), and should live in the loader package or on loadedConfigurations instead of the upe package.", "category": "design", "verdict": "supported", "priority": "P...
null
snyk__policy-engine__233
snyk/policy-engine
233
defect
ef0456ad401ae20648352d1f4ed23b1288ebe5fe
070041820703b37c38d6cf912f1395f87b26eaad
[CLOUD-1573]: Initial support for evaluating ARM template expressions
**feat: evaluate ARM template expressions** Detect whether Azure resource manager template string fields are expressions (https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/template-expressions) and try to evaluate them if so. * If evaluation fails, fall back on treating the expression...
diff --git a/changes/unreleased/Added-20230627-100510.yaml b/changes/unreleased/Added-20230627-100510.yaml new file mode 100644 index 00000000..a9155747 --- /dev/null +++ b/changes/unreleased/Added-20230627-100510.yaml @@ -0,0 +1,3 @@ +kind: Added +body: Initial support for evaluating ARM template expressions +time: 20...
9
7
0
[{"id": "G0", "claim": "The new expression-evaluation code is lax about testing error paths and the author is unsure whether that is acceptable.", "category": "testing", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The refResolver / arm_ReferenceResolver type, whose purpose the...
null
snyk__policy-engine__235
snyk/policy-engine
235
defect
1a1c56ad441067c125c48328e3a13ab2d578b684
c9036dbbf8dcee799630cb8fd2b21114d9f4beee
chore: refactor EvaluationContext
- I wanted to make NewEvaluationContext take an options struct, so we could more easily add parameters without breaking call sites. Since this options struct ended up being the context itself, I removed `NewEvaluationContext` for now... - I tweaked the interface of functions, so all functions have the same shap...
diff --git a/changes/unreleased/Changed-20230628-174616.yaml b/changes/unreleased/Changed-20230628-174616.yaml new file mode 100644 index 00000000..eb8b6125 --- /dev/null +++ b/changes/unreleased/Changed-20230628-174616.yaml @@ -0,0 +1,3 @@ +kind: Changed +body: 'refactor: arm EvaluationContext' +time: 2023-06-28T17:46...
3
1
0
[{"id": "G0", "claim": "The reviewer asks what unifying all function implementations into a single `Function` signature buys and suggests, speculatively and non-blocking, that the previous distinct signatures made clear which functions depend on state beyond their args.", "category": "design", "verdict": "opposed", "pr...
null
snyk__policy-engine__250
snyk/policy-engine
250
defect
281cc773a6e2d2bbd1c1ce2a74899397b57cb092
2458a4c681fe7f1da7dc8edb8facdb732bf31e48
chore: refactor resources query
The `inputResolver` was responsible for two things: - Returning resources from the input - Tracking which resource types were used by policy This change splits that apart, adding a new `trackResourceTypes` to `Query` takes care of the latter. Aside from making input resolver code a bit simpler, this has the a...
diff --git a/changes/unreleased/Changed-20230816-142851.yaml b/changes/unreleased/Changed-20230816-142851.yaml new file mode 100644 index 00000000..3c99475b --- /dev/null +++ b/changes/unreleased/Changed-20230816-142851.yaml @@ -0,0 +1,3 @@ +kind: Changed +body: 'BREAKING: EvalOptions now takes a ResourcesQueryCache in...
2
2
0
[{"id": "G0", "claim": "The doc comment above the ResourcesQuery field refers to the outdated name 'ResourceResolver' instead of the field's actual name.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The author should explain why `queriedResource...
null
snyk__policy-engine__37
snyk/policy-engine
37
defect
5a0e167a9fd35d319cce92aa31f55f2e7fd3c148
5a33bd8d096e62371ea27d49605b1a6ac91c7846
[CLOUD-224] Add and document errors
This PR adds and documents sentinel errors that can be distinguished via `errors.Is`. A helpful doc on the `errors` package and error wrapping: https://go.dev/blog/go1.13-errors
diff --git a/cmd/run.go b/cmd/run.go index 301d7106..0a47dd92 100644 --- a/cmd/run.go +++ b/cmd/run.go @@ -63,10 +63,9 @@ var runCmd = &cobra.Command{ engine, err := upe.NewEngine(ctx, options) check(err) - results, err := engine.Eval(ctx, &upe.EvalOptions{ + results := engine.Eval(ctx, &upe.EvalOptions{ ...
1
1
0
[{"id": "G0", "claim": "The loader should surface which input files failed to parse (for example as 'error results' or a typed []error embedding the failing file and the reason) without blocking the scan of the other inputs.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}]
null
snyk__policy-engine__44
snyk/policy-engine
44
defect
1248b39d6bd8b9f364176cce50145405e3cf734d
b8116f10acb36c206781ec1cf7c6fe6d0ebb82e9
Return multiple, non-blocking errors when loading configurations
This PR adds a new aggregate error type `ConfigurationLoaderErrors` that allows the local configuration loader to return all the errors encountered while scanning for IaC files. Even if the API of the of the configuration loader doesn't change syntactically, its semantics did. The configuration loader could now retu...
diff --git a/cmd/fixture.go b/cmd/fixture.go index 1c79e8c4..310cc01b 100644 --- a/cmd/fixture.go +++ b/cmd/fixture.go @@ -3,6 +3,7 @@ package cmd import ( "encoding/json" "fmt" + "os" "path/filepath" "strings" @@ -29,9 +30,12 @@ var fixtureCmd = &cobra.Command{ NoGitIgnore: false, IgnoreDirs: false...
1
1
1
[{"id": "G0", "claim": "With check called inside the loop over errs, run would only ever print the first error and exit; check should take variadic args and loop through them instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
snyk__policy-engine__9
snyk/policy-engine
9
defect
e7184c40b4b2a6a8a5c81645dbe7044e1414d8b6
0d541f5af91d18db56c4f7678d1ef4a4f970a7c2
[CLOUD-124] Port cloudformation resource view from Rego to Go
This ports the CFN input processing from Regula (in Rego) to Go. It is more or less a literal port of the Rego code, and it's clear that it can be much improved in the future, but it should be at feature parity with Regula for now. Due to these changes, I also moved the `intrinsics` test over to the golden tests, a...
diff --git a/.gitignore b/.gitignore index 1c32f3ab..648c817c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ /unified-policy-engine +.scratch +.vscode diff --git a/Makefile b/Makefile index 503140f1..82426b6c 100644 --- a/Makefile +++ b/Makefile @@ -30,6 +30,7 @@ swagger: -e 's/Object/interface\{\}/g' \ ...
3
2
2
[{"id": "G0", "claim": "For FunctionPermissionByNameAndAliasUsingFunctions the old resource view produced FunctionName \"AWS::Region\", while the new Go port produces a different, unresolved Fn::Join result for this entry — a behavioral difference from the old resource view that the reviewer flags even while considerin...
null
snyk__policy-engine__95
snyk/policy-engine
95
defect
6244792a29881cf6f98e2adf183a6a7d8bedc766
1b2c22ddbf510e5f8e6cea1c41008df8c375d3d9
[CLOUD-566] Update references in metadata schema
See also: https://github.com/snyk/opa-rules/pull/100 `policy-engine` now supports both methods of providing metadata (markdown and structured). The markdown format is due to be removed when all rules are updated and should no longer be used. The output always uses the new structured format.
diff --git a/changes/unreleased/Added-20220811-131158.yaml b/changes/unreleased/Added-20220811-131158.yaml new file mode 100644 index 00000000..93023148 --- /dev/null +++ b/changes/unreleased/Added-20220811-131158.yaml @@ -0,0 +1,3 @@ +kind: Added +body: update metadata schema to have references in structured format +t...
1
1
1
[{"id": "G0", "claim": "The references field should be filtered down based on input type, as is done with remediation, rather than exposing all references grouped by format to consumers.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
socialincome-san__public__1694
socialincome-san/public
1,694
defect
d3dee229e19259581e7f9fa33348fb9e6ddf5c9a
8d1db797c0851d2cf4bfb9199f6145def8ef0c19
fix: success form with failing newsletter update
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Tests** * Added a Playwright project and public-website e2e test scaffold; made the donation success terms checkbox testable. * **Chores** * CI e2e job now provides Stripe secrets; removed an unused sample St...
diff --git a/website/playwright.config.ts b/website/playwright.config.ts index cba900df87..0fd4574b9d 100644 --- a/website/playwright.config.ts +++ b/website/playwright.config.ts @@ -63,6 +63,10 @@ export default defineConfig({ name: 'mobile-app-api', testMatch: /mobile-app-api\/.*\.e2e\.ts/, }, + { + nam...
4
2
2
[{"id": "G0", "claim": "Remove `test.only` from the Stripe donation e2e test before merging, because it skips all other tests in the suite.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The card number filled in the donation e2e test has 17 digits inst...
null