tenable / terrascan

Detect compliance and security violations across Infrastructure as Code to mitigate risk before provisioning cloud native infrastructure.
https://runterrascan.io
Apache License 2.0
4.77k stars 501 forks source link

Resource type attribute changes and stability fixes for yaml parsing and other config changes APE-16695, APE-16692, APE-16734 #1673

Closed nmoretenable closed 8 months ago

codecov-commenter commented 8 months ago

Codecov Report

Attention: Patch coverage is 69.81982% with 134 lines in your changes are missing coverage. Please review.

Project coverage is 77.76%. Comparing base (2e75f8f) to head (ea7113a).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/tenable/terrascan/pull/1673/graphs/tree.svg?width=650&height=150&src=pr&token=1n8e6lmlzU&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tenable)](https://app.codecov.io/gh/tenable/terrascan/pull/1673?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tenable) ```diff @@ Coverage Diff @@ ## master #1673 +/- ## ========================================== - Coverage 78.51% 77.76% -0.76% ========================================== Files 281 283 +2 Lines 7986 8296 +310 ========================================== + Hits 6270 6451 +181 - Misses 1339 1450 +111 - Partials 377 395 +18 ``` | [Files](https://app.codecov.io/gh/tenable/terrascan/pull/1673?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tenable) | Coverage Δ | | |---|---|---| | [pkg/iac-providers/cft/v1/load-file.go](https://app.codecov.io/gh/tenable/terrascan/pull/1673?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tenable#diff-cGtnL2lhYy1wcm92aWRlcnMvY2Z0L3YxL2xvYWQtZmlsZS5nbw==) | `83.78% <100.00%> (ø)` | | | [...er/iac-providers/arm/config/application-gateway.go](https://app.codecov.io/gh/tenable/terrascan/pull/1673?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tenable#diff-cGtnL21hcHBlci9pYWMtcHJvdmlkZXJzL2FybS9jb25maWcvYXBwbGljYXRpb24tZ2F0ZXdheS5nbw==) | `100.00% <100.00%> (ø)` | | | [...per/iac-providers/arm/config/container-registry.go](https://app.codecov.io/gh/tenable/terrascan/pull/1673?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tenable#diff-cGtnL21hcHBlci9pYWMtcHJvdmlkZXJzL2FybS9jb25maWcvY29udGFpbmVyLXJlZ2lzdHJ5Lmdv) | `100.00% <100.00%> (ø)` | | | [...apper/iac-providers/arm/config/cosmosdb-account.go](https://app.codecov.io/gh/tenable/terrascan/pull/1673?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tenable#diff-cGtnL21hcHBlci9pYWMtcHJvdmlkZXJzL2FybS9jb25maWcvY29zbW9zZGItYWNjb3VudC5nbw==) | `100.00% <100.00%> (ø)` | | | [pkg/mapper/iac-providers/arm/config/deployments.go](https://app.codecov.io/gh/tenable/terrascan/pull/1673?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tenable#diff-cGtnL21hcHBlci9pYWMtcHJvdmlkZXJzL2FybS9jb25maWcvZGVwbG95bWVudHMuZ28=) | `48.48% <100.00%> (ø)` | | | [...per/iac-providers/arm/config/diagnostic-setting.go](https://app.codecov.io/gh/tenable/terrascan/pull/1673?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tenable#diff-cGtnL21hcHBlci9pYWMtcHJvdmlkZXJzL2FybS9jb25maWcvZGlhZ25vc3RpYy1zZXR0aW5nLmdv) | `88.46% <100.00%> (ø)` | | | [...g/mapper/iac-providers/arm/config/key-vault-key.go](https://app.codecov.io/gh/tenable/terrascan/pull/1673?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tenable#diff-cGtnL21hcHBlci9pYWMtcHJvdmlkZXJzL2FybS9jb25maWcva2V5LXZhdWx0LWtleS5nbw==) | `100.00% <100.00%> (ø)` | | | [...apper/iac-providers/arm/config/key-vault-secret.go](https://app.codecov.io/gh/tenable/terrascan/pull/1673?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tenable#diff-cGtnL21hcHBlci9pYWMtcHJvdmlkZXJzL2FybS9jb25maWcva2V5LXZhdWx0LXNlY3JldC5nbw==) | `100.00% <100.00%> (ø)` | | | [pkg/mapper/iac-providers/arm/config/key-vault.go](https://app.codecov.io/gh/tenable/terrascan/pull/1673?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tenable#diff-cGtnL21hcHBlci9pYWMtcHJvdmlkZXJzL2FybS9jb25maWcva2V5LXZhdWx0Lmdv) | `100.00% <100.00%> (ø)` | | | [...per/iac-providers/arm/config/kubernetes-cluster.go](https://app.codecov.io/gh/tenable/terrascan/pull/1673?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tenable#diff-cGtnL21hcHBlci9pYWMtcHJvdmlkZXJzL2FybS9jb25maWcva3ViZXJuZXRlcy1jbHVzdGVyLmdv) | `92.59% <100.00%> (ø)` | | | ... and [108 more](https://app.codecov.io/gh/tenable/terrascan/pull/1673?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tenable) | |
sonarcloud[bot] commented 8 months ago

Quality Gate Passed Quality Gate passed

Issues
10 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud