Skip to content

Commit 2df1871

Browse files
[Cloud Security Posture] Add cloud connector support for Asset Discovery Integration (#13992)
* Add cloud connector support for Asset Discovery Integration * add support cloud connectors
1 parent afc519c commit 2df1871

File tree

4 files changed

+44
-1
lines changed

4 files changed

+44
-1
lines changed

packages/cloud_asset_inventory/changelog.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# newer versions go on top
22
# version map:
33
# 0.1.x - 8.15.x
4+
- version: "0.17.0"
5+
changes:
6+
- description: Add cloud connector support Asset Inventory for AWS
7+
type: enhancement
8+
link: https://github.com/elastic/integrations/pull/13992
49
- version: "0.16.0"
510
changes:
611
- description: Move object Attributes to flattened entity.raw

packages/cloud_asset_inventory/data_stream/asset_inventory/agent/stream/aws.yml.hbs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ config:
55
asset_inventory_provider: aws
66
aws:
77
account_type: {{aws.account_type}}
8+
{{#if aws.supports_cloud_connectors}}
9+
supports_cloud_connectors: {{aws.supports_cloud_connectors}}
10+
{{/if}}
811
credentials:
912
{{#if aws.access_key_id}}
1013
access_key_id: {{aws.access_key_id}}
@@ -24,4 +27,7 @@ config:
2427
{{#if aws.role_arn}}
2528
role_arn: {{aws.role_arn}}
2629
{{/if}}
30+
{{#if aws.credentials.external_id}}
31+
external_id: {{aws.credentials.external_id}}
32+
{{/if}}
2733
type: {{aws.credentials.type}}

packages/cloud_asset_inventory/data_stream/asset_inventory/manifest.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ streams:
4949
value: cloud_formation
5050
- name: aws.account_type
5151
value: single-account
52+
cloud_connectors:
53+
- name: aws.credentials.type
54+
value: cloud_connectors
55+
- name: aws.account_type
56+
- name: aws.role_arn
57+
- name: aws.credentials.external_id
5258
vars:
5359
- name: aws.account_type
5460
title: Account type
@@ -79,6 +85,8 @@ streams:
7985
value: temporary_keys
8086
- text: Shared Credentials (Manual)
8187
value: shared_credentials
88+
- text: Cloud Connectors
89+
value: cloud_connectors
8290
- name: aws.access_key_id
8391
type: text
8492
title: Access Key ID
@@ -124,6 +132,20 @@ streams:
124132
required: false
125133
show_user: false
126134
description: Required when using Assume Role
135+
- name: aws.supports_cloud_connectors
136+
type: bool
137+
title: Supports Cloud Connectors
138+
multi: false
139+
required: false
140+
show_user: false
141+
secret: false
142+
- name: aws.credentials.external_id
143+
type: password
144+
title: External ID
145+
multi: false
146+
required: false
147+
show_user: false
148+
secret: true
127149
- input: cloudbeat/asset_inventory_azure
128150
title: Azure Asset Discovery
129151
description: Asset Discovery Discovery for Azure

packages/cloud_asset_inventory/manifest.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
format_version: 3.3.2
22
name: cloud_asset_inventory
33
title: "Cloud Asset Discovery"
4-
version: "0.16.0"
4+
version: "0.17.0"
55
source:
66
license: "Elastic-2.0"
77
description: "Discover and Create Cloud Assets Discovery"
@@ -67,6 +67,16 @@ policy_templates:
6767
description: Template URL to Cloud Formation Cloud Credentials Stack
6868
# ACCOUNT_TYPE value should be either "single-account" or "organization-account"
6969
default: https://console.aws.amazon.com/cloudformation/home#/stacks/quickcreate?templateURL=https://elastic-cspm-cft.s3.eu-central-1.amazonaws.com/cloudformation-asset-inventory-ACCOUNT_TYPE-8.17.0.yml
70+
- name: cloud_formation_cloud_connectors_template
71+
type: text
72+
title: CloudFormation Cloud Connectors Template
73+
multi: false
74+
required: true
75+
show_user: false
76+
description: Template URL to Cloud Formation Cloud Connectors Stack
77+
# ACCOUNT_TYPE value should be either "single-account" or "organization-account"
78+
# RESOURCE_ID is the project id for serverless / kibana component id for ess
79+
default: https://console.aws.amazon.com/cloudformation/home#/stacks/quickcreate?templateURL=https://elastic-cspm-cft.s3.eu-central-1.amazonaws.com/cloudformation-cloud-connectors-ACCOUNT_TYPE-8.19.0.yml&param_ElasticResourceId=RESOURCE_ID
7080
- type: cloudbeat/asset_inventory_azure
7181
title: Azure Asset Discovery
7282
description: Azure Asset Discovery

0 commit comments

Comments
 (0)