Skip to content

Commit a5cbb1d

Browse files
committed
Add agentless deployment
1 parent cab1994 commit a5cbb1d

File tree

49 files changed

+198
-90
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+198
-90
lines changed

packages/ti_google_threat_intelligence/_dev/build/docs/README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ Data collection is available for all nine feed types: `cryptominer`, `first_stag
3434

3535
## Requirements
3636

37+
### Agentless-enabled integration
38+
Agentless integrations allow you to collect data without having to manage Elastic Agent in your cloud. They make manual agent deployment unnecessary, so you can focus on your data instead of the agent that collects it. For more information, refer to [Agentless integrations](https://www.elastic.co/guide/en/serverless/current/security-agentless-integrations.html) and the [Agentless integrations FAQ](https://www.elastic.co/guide/en/serverless/current/agentless-integration-troubleshooting.html).
39+
40+
Agentless deployments are only supported in Elastic Serverless and Elastic Cloud environments. This functionality is in beta and is subject to change. Beta features are not subject to the support SLA of official GA features.
41+
42+
### Agent-based installation
3743
Elastic Agent must be installed. For more details, check the Elastic Agent [installation instructions](docs-content://reference/fleet/install-elastic-agents.md).
3844

3945
## Setup
@@ -145,7 +151,7 @@ The following transform and its associated pipelines are used to filter relevant
145151
- Prefix the pipeline name with the integration version.
146152
For example:
147153
```
148-
0.2.0-ti_google_threat_intelligence-latest_ip_ioc-transform-pipeline
154+
{package_version}-ti_google_threat_intelligence-latest_ip_ioc-transform-pipeline
149155
```
150156
- Click **Update** to save the changes.
151157
5. Click the **three dots** again next to the transform and select **Start** to activate it.

packages/ti_google_threat_intelligence/changelog.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# newer versions go on top
2+
- version: 0.4.0
3+
changes:
4+
- description: Enable Agentless deployment.
5+
type: enhancement
6+
link: https://github.com/elastic/integrations/pull/1
27
- version: 0.3.0
38
changes:
49
- description: Add data streams - linux, malicious_network_infrastructure, malware, mobile, osx.

packages/ti_google_threat_intelligence/data_stream/cryptominer/agent/stream/cel.yml.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ program: |
3333
?"query": has(state.query) ? optional.of([state.query]) : optional.none(),
3434
"limit": ["4000"],
3535
"x-tool": ["Elastic"],
36-
"User-Agent": ["v0.3.0"], // Keep this in sync with 'version' in package level manifest.yml.
36+
"User-Agent": ["v0.4.0"], // Keep this in sync with 'version' in package level manifest.yml.
3737
}.format_query()
3838
).with({
3939
"Header": {

packages/ti_google_threat_intelligence/data_stream/cryptominer/elasticsearch/ingest_pipeline/default.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,17 @@ processors:
1212
- drop:
1313
if: ctx.message == 'retry'
1414
tag: drop_retry_events
15+
- remove:
16+
field:
17+
- organization
18+
- division
19+
- team
20+
ignore_missing: true
21+
if: ctx.organization instanceof String && ctx.division instanceof String && ctx.team instanceof String
22+
tag: remove_agentless_tags
23+
description: >-
24+
Removes the fields added by Agentless as metadata,
25+
as they can collide with ECS fields.
1526
- rename:
1627
field: message
1728
tag: rename_message_to_event_original

packages/ti_google_threat_intelligence/data_stream/first_stage_delivery_vectors/agent/stream/cel.yml.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ program: |
3333
?"query": has(state.query) ? optional.of([state.query]) : optional.none(),
3434
"limit": ["4000"],
3535
"x-tool": ["Elastic"],
36-
"User-Agent": ["v0.3.0"], // Keep this in sync with 'version' in package level manifest.yml.
36+
"User-Agent": ["v0.4.0"], // Keep this in sync with 'version' in package level manifest.yml.
3737
}.format_query()
3838
).with({
3939
"Header": {

packages/ti_google_threat_intelligence/data_stream/first_stage_delivery_vectors/elasticsearch/ingest_pipeline/default.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,17 @@ processors:
1212
- drop:
1313
if: ctx.message == 'retry'
1414
tag: drop_retry_events
15+
- remove:
16+
field:
17+
- organization
18+
- division
19+
- team
20+
ignore_missing: true
21+
if: ctx.organization instanceof String && ctx.division instanceof String && ctx.team instanceof String
22+
tag: remove_agentless_tags
23+
description: >-
24+
Removes the fields added by Agentless as metadata,
25+
as they can collide with ECS fields.
1526
- rename:
1627
field: message
1728
tag: rename_message_to_event_original

packages/ti_google_threat_intelligence/data_stream/infostealer/agent/stream/cel.yml.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ program: |
3333
?"query": has(state.query) ? optional.of([state.query]) : optional.none(),
3434
"limit": ["4000"],
3535
"x-tool": ["Elastic"],
36-
"User-Agent": ["v0.3.0"], // Keep this in sync with 'version' in package level manifest.yml.
36+
"User-Agent": ["v0.4.0"], // Keep this in sync with 'version' in package level manifest.yml.
3737
}.format_query()
3838
).with({
3939
"Header": {

packages/ti_google_threat_intelligence/data_stream/infostealer/elasticsearch/ingest_pipeline/default.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,17 @@ processors:
1212
- drop:
1313
if: ctx.message == 'retry'
1414
tag: drop_retry_events
15+
- remove:
16+
field:
17+
- organization
18+
- division
19+
- team
20+
ignore_missing: true
21+
if: ctx.organization instanceof String && ctx.division instanceof String && ctx.team instanceof String
22+
tag: remove_agentless_tags
23+
description: >-
24+
Removes the fields added by Agentless as metadata,
25+
as they can collide with ECS fields.
1526
- rename:
1627
field: message
1728
tag: rename_message_to_event_original

packages/ti_google_threat_intelligence/data_stream/iot/agent/stream/cel.yml.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ program: |
3333
?"query": has(state.query) ? optional.of([state.query]) : optional.none(),
3434
"limit": ["4000"],
3535
"x-tool": ["Elastic"],
36-
"User-Agent": ["v0.3.0"], // Keep this in sync with 'version' in package level manifest.yml.
36+
"User-Agent": ["v0.4.0"], // Keep this in sync with 'version' in package level manifest.yml.
3737
}.format_query()
3838
).with({
3939
"Header": {

packages/ti_google_threat_intelligence/data_stream/iot/elasticsearch/ingest_pipeline/default.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,17 @@ processors:
1212
- drop:
1313
if: ctx.message == 'retry'
1414
tag: drop_retry_events
15+
- remove:
16+
field:
17+
- organization
18+
- division
19+
- team
20+
ignore_missing: true
21+
if: ctx.organization instanceof String && ctx.division instanceof String && ctx.team instanceof String
22+
tag: remove_agentless_tags
23+
description: >-
24+
Removes the fields added by Agentless as metadata,
25+
as they can collide with ECS fields.
1526
- rename:
1627
field: message
1728
tag: rename_message_to_event_original

0 commit comments

Comments
 (0)