Skip to content

Commit f39961b

Browse files
authored
Bump 0.11.3 (#138)
1 parent b38fda0 commit f39961b

File tree

8 files changed

+39
-19
lines changed

8 files changed

+39
-19
lines changed

CHANGELOG.md

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,36 @@
11
# Changelog
22

3-
## Version TBD
3+
## Version 0.11.3
44

5-
### agentless-scanner 2024032202
5+
- Add permissions to copy AMIs (ec2:CopyImage) to improve coverage of cross-account AMI scanning
6+
- Fix permissions to be able to scan for volumes encrypted with a customer-managed key
67

7-
- Bump Trivy to version 2024-02-28.
8+
## Version 0.11.2
9+
10+
- Adds a scanner_channel variable at the root module level to allow specifying the channel to install the agentless scanner from
11+
- Upgrade datadog-agent to version 7.53
12+
- Add permissions to be able to scan for Lambda layers
13+
- Add sensitive_data_scanning_enabled parameter to opt-in to DSPM scanning
14+
- Add validation to api_key_secret_arns to be non-empty
15+
- Add parameters to allow specififying custom configuration for the agent and scanner
16+
17+
## Version 0.11.1
18+
19+
- Allow auto-update of the agentless scanner package
20+
21+
## Version 0.11.0
22+
23+
- Encrypted snapshots: allow granting KMS keys for AWS resources (#79) [Pierre Guilleminot]
24+
25+
## Version 0.10.0
826

927
### Terraform
1028

29+
- Add IAM permission to allow decrypting snapshots using CMK (#71)
1130
- Add missing CopySnapshot permissions to allow AMI scanning
1231
- Create a dedicated security-group for scanner instead of relying on the VPC default one.
1332
- Always rely on SecretsManager to store the Datadog API Key
33+
- Add subnets per Availability Zone to the scanner
1434

1535
### CloudFormation
1636

examples/cross_account/other_account/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ provider "aws" {
1414
}
1515

1616
module "delegate_role" {
17-
source = "git::https://github.com/DataDog/terraform-module-datadog-agentless-scanner//modules/scanning-delegate-role?ref=0.11.2"
17+
source = "git::https://github.com/DataDog/terraform-module-datadog-agentless-scanner//modules/scanning-delegate-role?ref=0.11.3"
1818

1919
scanner_roles = [var.scanner_role_arn]
2020
}

examples/cross_account/scanner_account/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ provider "aws" {
1414
}
1515

1616
module "scanner_role" {
17-
source = "git::https://github.com/DataDog/terraform-module-datadog-agentless-scanner//modules/agentless-scanner-role?ref=0.11.2"
17+
source = "git::https://github.com/DataDog/terraform-module-datadog-agentless-scanner//modules/agentless-scanner-role?ref=0.11.3"
1818

1919
# compact remove empty value for cross_account_delegate_arn during the first run
2020
account_roles = compact([
@@ -25,13 +25,13 @@ module "scanner_role" {
2525
}
2626

2727
module "self_delegate_role" {
28-
source = "git::https://github.com/DataDog/terraform-module-datadog-agentless-scanner//modules/scanning-delegate-role?ref=0.11.2"
28+
source = "git::https://github.com/DataDog/terraform-module-datadog-agentless-scanner//modules/scanning-delegate-role?ref=0.11.3"
2929

3030
scanner_roles = [module.scanner_role.role.arn]
3131
}
3232

3333
module "agentless_scanner" {
34-
source = "git::https://github.com/DataDog/terraform-module-datadog-agentless-scanner?ref=0.11.2"
34+
source = "git::https://github.com/DataDog/terraform-module-datadog-agentless-scanner?ref=0.11.3"
3535

3636
api_key = var.api_key
3737
instance_profile_name = module.scanner_role.instance_profile.name

examples/custom_vpc/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,20 @@ module "agentless_scanner_role" {
2020
}
2121

2222
module "delegate_role" {
23-
source = "git::https://github.com/DataDog/terraform-module-datadog-agentless-scanner//modules/scanning-delegate-role?ref=0.11.2"
23+
source = "git::https://github.com/DataDog/terraform-module-datadog-agentless-scanner//modules/scanning-delegate-role?ref=0.11.3"
2424

2525
scanner_roles = [module.agentless_scanner_role.role.arn]
2626
}
2727

2828
module "user_data" {
29-
source = "git::https://github.com/DataDog/terraform-module-datadog-agentless-scanner//modules/user_data?ref=0.11.2"
29+
source = "git::https://github.com/DataDog/terraform-module-datadog-agentless-scanner//modules/user_data?ref=0.11.3"
3030

3131
hostname = "agentless-scanning-us-east-1"
3232
api_key = var.api_key
3333
}
3434

3535
module "instance" {
36-
source = "git::https://github.com/DataDog/terraform-module-datadog-agentless-scanner//modules/instance?ref=0.11.2"
36+
source = "git::https://github.com/DataDog/terraform-module-datadog-agentless-scanner//modules/instance?ref=0.11.3"
3737

3838
user_data = module.user_data.install_sh
3939
iam_instance_profile = module.agentless_scanner_role.profile.name

examples/multi_region/main.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ provider "aws" {
2020
}
2121

2222
module "agentless_scanner_role" {
23-
source = "git::https://github.com/DataDog/terraform-module-datadog-agentless-scanner//modules/agentless-scanner-role?ref=0.11.2"
23+
source = "git::https://github.com/DataDog/terraform-module-datadog-agentless-scanner//modules/agentless-scanner-role?ref=0.11.3"
2424

2525
account_roles = [module.delegate_role.role.arn]
2626
api_key_secret_arns = [
@@ -30,13 +30,13 @@ module "agentless_scanner_role" {
3030
}
3131

3232
module "delegate_role" {
33-
source = "git::https://github.com/DataDog/terraform-module-datadog-agentless-scanner//modules/scanning-delegate-role?ref=0.11.2"
33+
source = "git::https://github.com/DataDog/terraform-module-datadog-agentless-scanner//modules/scanning-delegate-role?ref=0.11.3"
3434

3535
scanner_roles = [module.agentless_scanner_role.role.arn]
3636
}
3737

3838
module "agentless_scanner_us" {
39-
source = "git::https://github.com/DataDog/terraform-module-datadog-agentless-scanner?ref=0.11.2"
39+
source = "git::https://github.com/DataDog/terraform-module-datadog-agentless-scanner?ref=0.11.3"
4040

4141
providers = {
4242
aws = aws.us
@@ -47,7 +47,7 @@ module "agentless_scanner_us" {
4747
}
4848

4949
module "agentless_scanner_eu" {
50-
source = "git::https://github.com/DataDog/terraform-module-datadog-agentless-scanner?ref=0.11.2"
50+
source = "git::https://github.com/DataDog/terraform-module-datadog-agentless-scanner?ref=0.11.3"
5151

5252
providers = {
5353
aws = aws.eu

examples/single_region/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,20 @@ provider "aws" {
1414
}
1515

1616
module "scanner_role" {
17-
source = "git::https://github.com/DataDog/terraform-module-datadog-agentless-scanner//modules/agentless-scanner-role?ref=0.11.2"
17+
source = "git::https://github.com/DataDog/terraform-module-datadog-agentless-scanner//modules/agentless-scanner-role?ref=0.11.3"
1818

1919
account_roles = [module.delegate_role.role.arn]
2020
api_key_secret_arns = [module.agentless_scanner.api_key_secret_arn]
2121
}
2222

2323
module "delegate_role" {
24-
source = "git::https://github.com/DataDog/terraform-module-datadog-agentless-scanner//modules/scanning-delegate-role?ref=0.11.2"
24+
source = "git::https://github.com/DataDog/terraform-module-datadog-agentless-scanner//modules/scanning-delegate-role?ref=0.11.3"
2525

2626
scanner_roles = [module.scanner_role.role.arn]
2727
}
2828

2929
module "agentless_scanner" {
30-
source = "git::https://github.com/DataDog/terraform-module-datadog-agentless-scanner?ref=0.11.2"
30+
source = "git::https://github.com/DataDog/terraform-module-datadog-agentless-scanner?ref=0.11.3"
3131

3232
api_key = var.api_key
3333
instance_profile_name = module.scanner_role.instance_profile.name

modules/azure/custom-data/templates/install.sh.tftpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ api_key: $DD_API_KEY
9797
site: $DD_SITE
9898
azure_client_id: ${azure_client_id}
9999
installation_mode: terraform
100-
installation_version: 0.11.2
100+
installation_version: 0.11.3
101101
%{if length(scanner_configuration) > 0}
102102
${yamlencode(scanner_configuration)}
103103
%{endif}

modules/user_data/templates/install.sh.tftpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ hostname: $DD_HOSTNAME
102102
api_key: $DD_API_KEY
103103
site: $DD_SITE
104104
installation_mode: terraform
105-
installation_version: 0.11.2
105+
installation_version: 0.11.3
106106
%{if length(scanner_configuration) > 0}
107107
${yamlencode(scanner_configuration)}
108108
%{endif}

0 commit comments

Comments
 (0)