Skip to content

Commit

Permalink
fix(adapters): Revert new adapters (#1302)
Browse files Browse the repository at this point in the history
* Revert "added autoscaling adapter (#1153)"

This reverts commit 124ecc6.

* Revert "add: multiple adapters added(kendra, kinesis, kinesisvideo, proton, q… (#1227)"

This reverts commit 1a1ff87.

* Revert "added in adapters of codebuild (#1184)"

This reverts commit ff5de60.

* Revert "add: lambda adapter (#1166)"

This reverts commit 32da643.

* Revert "added in adapters of mq and msk (#1218)"

This reverts commit 1169455.
  • Loading branch information
simar7 authored May 4, 2023
1 parent 63a8b4f commit 8eed0d2
Show file tree
Hide file tree
Showing 94 changed files with 86 additions and 3,651 deletions.
13 changes: 0 additions & 13 deletions avd_docs/aws/autoscaling/AVD-AWS-0339/docs.md

This file was deleted.

13 changes: 0 additions & 13 deletions avd_docs/aws/autoscaling/AVD-AWS-0340/docs.md

This file was deleted.

13 changes: 0 additions & 13 deletions avd_docs/aws/autoscaling/AVD-AWS-0341/docs.md

This file was deleted.

6 changes: 4 additions & 2 deletions avd_docs/aws/iam/AVD-AWS-0342/docs.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@

Ensures any IAM pass role attched to roles are flagged and warned.
In iam:PassRole the service carrying out the actions is "provided" a role by the calling principal and implicitly takes on that role to carry out the actions (instead of executing sts:AssumeRole).
The privileges attached to the role are distinct from those of the primary ordering the action and may even be larger and can cause security issues.


### Impact
<!-- Add Impact here -->
Compromise on security of aws resources.

<!-- DO NOT CHANGE -->
{{ remediationActions }}
Expand Down
6 changes: 1 addition & 5 deletions avd_docs/azure/container/AVD-AZU-0041/Terraform.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,9 @@ Limit the access to the API server to a limited IP range

```hcl
resource "azurerm_kubernetes_cluster" "good_example" {
api_server_access_profile {
authorized_ip_ranges = [
api_server_authorized_ip_ranges = [
"1.2.3.4/32"
]
}
}
```
Expand Down
7 changes: 4 additions & 3 deletions avd_docs/dockerfile/general/AVD-DS-0029/docs.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@

'apt-get' install should use '--no-install-recommends' to minimize image size.
Do not install packages because they may be needed, install them only if you require them.

### Impact
<!-- Add Impact here -->

Image will increase substantially in size without `--no-install-recommends` for `apt-get install`.

<!-- DO NOT CHANGE -->
{{ remediationActions }}

### Links
- https://docs.docker.com/develop/develop-images/dockerfile_best-practices/

- https://ubuntu.com/blog/we-reduced-our-docker-images-by-60-with-no-install-recommends

14 changes: 1 addition & 13 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -76,18 +76,6 @@ require (
)

require (
github.com/aws/aws-sdk-go-v2/service/autoscaling v1.28.4
github.com/aws/aws-sdk-go-v2/service/kendra v1.38.5
github.com/aws/aws-sdk-go-v2/service/kinesisvideo v1.15.5
github.com/aws/aws-sdk-go-v2/service/proton v1.20.3
github.com/aws/aws-sdk-go-v2/service/ses v1.15.3
github.com/aws/aws-sdk-go-v2/service/shield v1.18.4
github.com/aws/aws-sdk-go-v2/service/timestreamwrite v1.16.0
github.com/aws/aws-sdk-go-v2/service/transfer v1.28.5
github.com/aws/aws-sdk-go-v2/service/translate v1.17.4
github.com/aws/aws-sdk-go-v2/service/waf v1.12.4
github.com/aws/aws-sdk-go-v2/service/wafv2 v1.26.0
github.com/aws/aws-sdk-go-v2/service/xray v1.16.5
github.com/aws/smithy-go v1.13.5
github.com/mitchellh/mapstructure v1.5.0
k8s.io/utils v0.0.0-20230115233650-391b47cb4029
Expand Down Expand Up @@ -121,7 +109,7 @@ require (
github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.14 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.10 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.18 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.7.23 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.7.19 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.24 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.13.17 // indirect
github.com/aws/aws-sdk-go-v2/service/sso v1.12.4 // indirect
Expand Down
27 changes: 1 addition & 26 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,6 @@ github.com/aws/aws-sdk-go-v2/service/apigatewayv2 v1.12.18 h1:b+6dNRDFDdvW8wZcgH
github.com/aws/aws-sdk-go-v2/service/apigatewayv2 v1.12.18/go.mod h1:Ei6UH6WRGNA0URIdDX3efUFVc23XGfT+QbYLkgBIqQU=
github.com/aws/aws-sdk-go-v2/service/athena v1.18.10 h1:s8cE1HX3Pi53iMg+A+d7gGvmjA+Z4nH6u0BbbuFwXXE=
github.com/aws/aws-sdk-go-v2/service/athena v1.18.10/go.mod h1:LiVr7tVQ2lrlv82VQhyuulN8uysLHsEeptFjA5PY1Pc=
github.com/aws/aws-sdk-go-v2/service/autoscaling v1.28.4 h1:FTzD49N7q3gQyqUyJrG7PX0ENFIyHYWfwka0rkJWeyI=
github.com/aws/aws-sdk-go-v2/service/autoscaling v1.28.4/go.mod h1:EzFSRtBStdkmtYdhuL0EJZ1UMz+EfIO1BVqQ5vEYixE=
github.com/aws/aws-sdk-go-v2/service/cloudfront v1.20.5 h1:nLAPA7/DSmDWYP/MGtRNP6bHjiL8Fmyg8qeDxW90nm0=
github.com/aws/aws-sdk-go-v2/service/cloudfront v1.20.5/go.mod h1:HYQXu2AKM7RLCn3APoQ5EvL2N/RlI4LSNN8pIGbdaDQ=
github.com/aws/aws-sdk-go-v2/service/cloudtrail v1.24.4 h1:4n6EhYGGPyNHffNcz1glTQWa7jU5yLfCgDCb2fmXPno=
Expand Down Expand Up @@ -335,9 +333,8 @@ github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.10 h1:dpiPHgm
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.10/go.mod h1:9cBNUHI2aW4ho0A5T87O294iPDuuUOSIEDjnd1Lq/z0=
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.18 h1:BBYoNQt2kUZUUK4bIPsKrCcjVPUMNsgQpNAwhznK/zo=
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.18/go.mod h1:NS55eQ4YixUJPTC+INxi2/jCqe1y2Uw3rnh9wEOVJxY=
github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.7.19 h1:V03dAtcAN4Qtly7H3/0B6m3t/cyl4FgyKFqK738fyJw=
github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.7.19/go.mod h1:2WpVWFC5n4DYhjNXzObtge8xfgId9UP6GWca46KJFLo=
github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.7.23 h1:5AwQnYQT3ZX/N7hPTAx4ClWyucaiqr2esQRMNbJIby0=
github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.7.23/go.mod h1:s8OUYECPoPpevQHmRmMBemFIx6Oc91iapsw56KiXIMY=
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.17/go.mod h1:4nYOrY41Lrbk2170/BGkcJKBhws9Pfn8MG3aGqjjeFI=
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.23/go.mod h1:9uPh+Hrz2Vn6oMnQYiUi/zbh3ovbnQk19YKINkQny44=
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.24 h1:c5qGfdbCHav6viBwiyDns3OXqhqAbGjfIB4uVu2ayhk=
Expand All @@ -346,12 +343,8 @@ github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.13.17 h1:HfVVR1vItaG6l
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.13.17/go.mod h1:YqMdV+gEKCQ59NrB7rzrJdALeBIsYiVi8Inj3+KcqHI=
github.com/aws/aws-sdk-go-v2/service/kafka v1.19.4 h1:EmEk3gRJzSEK8DUnkvTGDn/RQc/Ud+yimUFIG+PSvTI=
github.com/aws/aws-sdk-go-v2/service/kafka v1.19.4/go.mod h1:+O9qi0UC83Lk0KAnC/ixNcw4piXfUtPzXpYn/KC2Mhg=
github.com/aws/aws-sdk-go-v2/service/kendra v1.38.5 h1:vYyn1h1+/eRL8UxfzRgxhH8tm+Jd6ujsyXmUFztfnks=
github.com/aws/aws-sdk-go-v2/service/kendra v1.38.5/go.mod h1:PMq9hXXhaNxmBMIolmknhJ9gXi4PYDsZwsFBaJs7Zak=
github.com/aws/aws-sdk-go-v2/service/kinesis v1.15.19 h1:qVaBkJxFxm6o/9DPNnJU6L9O3V7ycEKhCvRm2BFBQTU=
github.com/aws/aws-sdk-go-v2/service/kinesis v1.15.19/go.mod h1:9rLNg+J9SEe7rhge/YzKU3QTovlLqOmqH8akb0IB1ko=
github.com/aws/aws-sdk-go-v2/service/kinesisvideo v1.15.5 h1:lVFA8fZBznkErYFE42WM2KyoQ+yRpyA7bLfWOrhGSH4=
github.com/aws/aws-sdk-go-v2/service/kinesisvideo v1.15.5/go.mod h1:JRp3eVmI2W1qreH9VQ+Kh2xtrKG+25ASrt4/lgl+s5g=
github.com/aws/aws-sdk-go-v2/service/kms v1.20.8 h1:R5f4VOFi3ScTe7TtePyxLqEhNqTJIAxL57MzrXFNs6I=
github.com/aws/aws-sdk-go-v2/service/kms v1.20.8/go.mod h1:OtP3pBOgmJM+acQyQcQXtQHets3yJoVuanCx2T5M7v4=
github.com/aws/aws-sdk-go-v2/service/lambda v1.24.6 h1:N7RkXX2SJbN+TCp295J3LdMR0KRFd2Bhi5nIO+svLQY=
Expand All @@ -360,8 +353,6 @@ github.com/aws/aws-sdk-go-v2/service/mq v1.13.15 h1:K0UbxNfaPHoIXo0T4L4jrbE+TKcV
github.com/aws/aws-sdk-go-v2/service/mq v1.13.15/go.mod h1:ycghPMXYItx5Y74iehFgGwDNUMXdq0xCxLaYC5uYZO0=
github.com/aws/aws-sdk-go-v2/service/neptune v1.17.12 h1:QxMwblYXBaAUnQsSbGGmGlqj5/lHJKaEr1HcMXnnaok=
github.com/aws/aws-sdk-go-v2/service/neptune v1.17.12/go.mod h1:0arQRjGdCQgRNLiCIv5FEFCgQkDMUiLkv0mkrUbSrNE=
github.com/aws/aws-sdk-go-v2/service/proton v1.20.3 h1:jcJeALhHrPufi1p3yJV0UhRcLFzIjwkl+5UaN3gbmI8=
github.com/aws/aws-sdk-go-v2/service/proton v1.20.3/go.mod h1:o7oSUtJ+VE7glg1jyTwLLw0AjBdEW49/heU6QkwbOVI=
github.com/aws/aws-sdk-go-v2/service/rds v1.26.1 h1:tiXsw36GaRUWMcH5uRM2uM7vo+bNsa1mEOn68ZOBjWA=
github.com/aws/aws-sdk-go-v2/service/rds v1.26.1/go.mod h1:d8jJiNpy2cyl52sw5msQQ12ajEbPAK+twYPR7J35slw=
github.com/aws/aws-sdk-go-v2/service/redshift v1.27.7 h1:fKg773iDMTGUxd8UNkEfwYGNjT6H6KFSmqV97Yte+jc=
Expand All @@ -370,10 +361,6 @@ github.com/aws/aws-sdk-go-v2/service/s3 v1.27.11 h1:3/gm/JTX9bX8CpzTgIlrtYpB3EVB
github.com/aws/aws-sdk-go-v2/service/s3 v1.27.11/go.mod h1:fmgDANqTUCxciViKl9hb/zD5LFbvPINFRgWhDbR+vZo=
github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.16.2 h1:3x1Qilin49XQ1rK6pDNAfG+DmCFPfB7Rrpl+FUDAR/0=
github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.16.2/go.mod h1:HEBBc70BYi5eUvxBqC3xXjU/04NO96X/XNUe5qhC7Bc=
github.com/aws/aws-sdk-go-v2/service/ses v1.15.3 h1:O7gl6f1Zi80GLQkyWFJi2PYzF8c7qd/iUBmLIVVp8og=
github.com/aws/aws-sdk-go-v2/service/ses v1.15.3/go.mod h1:xIWGz5r8k9h6T0f0jhkFdLMZJ10abjOfxmUWoWevw14=
github.com/aws/aws-sdk-go-v2/service/shield v1.18.4 h1:wG6qU1g1j7/PqpwsVINDEDesWXEIFlT3Jo3Icnanbu4=
github.com/aws/aws-sdk-go-v2/service/shield v1.18.4/go.mod h1:ffYls8/rWoTDASJkCpPZ8sB45G+pedR0UCQeD1v79qs=
github.com/aws/aws-sdk-go-v2/service/sns v1.18.1 h1:nxfBH9r3VUyybIOWdbIBJ/d5I1wdG7FwIoZ/BH/EhS8=
github.com/aws/aws-sdk-go-v2/service/sns v1.18.1/go.mod h1:sIIc12m8ASRbCgOERccSSkTFeekFfHKEM4TKAvzJpG0=
github.com/aws/aws-sdk-go-v2/service/sqs v1.20.6 h1:4P/vyx7zCI5yBhlDZ2kwhoLjMJi0X7iR3cxqjNfbego=
Expand All @@ -384,20 +371,8 @@ github.com/aws/aws-sdk-go-v2/service/ssooidc v1.14.4 h1:YRkWXQveFb0tFC0TLktmmhGs
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.14.4/go.mod h1:zVwRrfdSmbRZWkUkWjOItY7SOalnFnq/Yg2LVPqDjwc=
github.com/aws/aws-sdk-go-v2/service/sts v1.18.5 h1:L1600eLr0YvTT7gNh3Ni24yGI7NSHkq9Gp62vijPRCs=
github.com/aws/aws-sdk-go-v2/service/sts v1.18.5/go.mod h1:1mKZHLLpDMHTNSYPJ7qrcnCQdHCWsNQaT0xRvq2u80s=
github.com/aws/aws-sdk-go-v2/service/timestreamwrite v1.16.0 h1:HHVOprdnZxhM6F5JgljW8nCklfwUyOlbd/wuca6vORA=
github.com/aws/aws-sdk-go-v2/service/timestreamwrite v1.16.0/go.mod h1:d/oxd3ap2hu2jFVz59gwWVK/tKo7cwTFaBQE0+r/M3A=
github.com/aws/aws-sdk-go-v2/service/transfer v1.28.5 h1:/dqvTQdJ9ft48LKYMs2FOEMnFqh6PalEzHIxvkFkK9s=
github.com/aws/aws-sdk-go-v2/service/transfer v1.28.5/go.mod h1:r7g6A0BKTUDCXporXgMuAZTyA/ePlc+ecwgeErbXng4=
github.com/aws/aws-sdk-go-v2/service/translate v1.17.4 h1:YDe25vYZ8vSXtZa+pMYXityWNKk+w7qxq6eZdg6G1tk=
github.com/aws/aws-sdk-go-v2/service/translate v1.17.4/go.mod h1:qdbVoT21RIfEPekui7RbxHvT9azUHBxC7gwXzL5aNxE=
github.com/aws/aws-sdk-go-v2/service/waf v1.12.4 h1:/XibOwP4sHBEwwssi+EpN+EvlQpQbgN+koP65R3Vg6o=
github.com/aws/aws-sdk-go-v2/service/waf v1.12.4/go.mod h1:6eWFoHKs0mvgVDsxp2iezqLZW2sbVC+JefCt3i2G4jI=
github.com/aws/aws-sdk-go-v2/service/wafv2 v1.26.0 h1:s54dXRjvjHaEH6U2tg3VLbPX/72iMPdav3nrpMuZDkw=
github.com/aws/aws-sdk-go-v2/service/wafv2 v1.26.0/go.mod h1:vSTUUghvH8zg+S2i712OAw3M1lXZ5ijNTxC+9MNsO68=
github.com/aws/aws-sdk-go-v2/service/workspaces v1.23.0 h1:lrgZ9pZm9utPOPAXmQhqtf8oWRRksoSFxOE8RoD+pHc=
github.com/aws/aws-sdk-go-v2/service/workspaces v1.23.0/go.mod h1:vPam8+zGthTXeaFWgl3Uqbzo/0QEoXF22jpuMZ97hSk=
github.com/aws/aws-sdk-go-v2/service/xray v1.16.5 h1:yV19Annb9MQXxvvKaGvcFh8ZQAxR3lfi0ydH/dZsQHQ=
github.com/aws/aws-sdk-go-v2/service/xray v1.16.5/go.mod h1:cQhPXZj4AQrHy6DJ+ts+BmNTzhPVfFHHTZ9hh0DKASU=
github.com/aws/smithy-go v1.13.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA=
github.com/aws/smithy-go v1.13.4/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA=
github.com/aws/smithy-go v1.13.5 h1:hgz0X/DX0dGqTYpGALqXJoRKRj5oQ7150i5FdTePzO8=
Expand Down
Loading

0 comments on commit 8eed0d2

Please sign in to comment.