Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[D4C] change resource.label and resource.annotation to keyword type #5902

Merged
merged 2 commits into from
Apr 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/cloud_defend/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "1.0.4"
changes:
- description: Updated orchestrator.resource.label and annotation to use keyword type.
type: enhancement
link: https://github.com/elastic/integrations/pull/5902
- version: "1.0.3"
changes:
- description: Added kubernetes as a category. Renamed trace_point to hook_point
Expand Down
8 changes: 4 additions & 4 deletions packages/cloud_defend/data_stream/alerts/fields/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
type: keyword
description: An array of hook points used to source the events data.
- name: orchestrator.resource.label
type: flattened
description: An object containing the labels for the resource being acted upon.
type: keyword
description: An array of labels added to the resource. e.g. ['key:value', 'key2:value2']
- name: orchestrator.resource.annotation
type: flattened
description: An object containing the annotations for the resource being acted upon.
type: keyword
description: An array of annotations added to the resource. e.g. ['key:value', 'key2:value2']
8 changes: 4 additions & 4 deletions packages/cloud_defend/data_stream/file/fields/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
type: keyword
description: An array of hook points used to source the events data.
- name: orchestrator.resource.label
type: flattened
description: An object containing the labels for the resource being acted upon.
type: keyword
description: An array of labels added to the resource. e.g. ['key:value', 'key2:value2']
- name: orchestrator.resource.annotation
type: flattened
description: An object containing the annotations for the resource being acted upon.
type: keyword
description: An array of annotations added to the resource. e.g. ['key:value', 'key2:value2']
8 changes: 4 additions & 4 deletions packages/cloud_defend/data_stream/process/fields/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
type: keyword
description: An array of hook points used to source the events data.
- name: orchestrator.resource.label
type: flattened
description: An object containing the labels for the resource being acted upon.
type: keyword
description: An array of labels added to the resource. e.g. ['key:value', 'key2:value2']
- name: orchestrator.resource.annotation
type: flattened
description: An object containing the annotations for the resource being acted upon.
type: keyword
description: An array of annotations added to the resource. e.g. ['key:value', 'key2:value2']
8 changes: 4 additions & 4 deletions packages/cloud_defend/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,8 @@ responses:
| [orchestrator.cluster.name](https://www.elastic.co/guide/en/ecs/current/ecs-orchestrator.html#field-orchestrator-cluster-name) | 'website' |
| [orchestrator.namespace](https://www.elastic.co/guide/en/ecs/current/ecs-orchestrator.html#field-orchestrator-namespace) | default |
| [orchestrator.resource.ip](https://www.elastic.co/guide/en/ecs/current/ecs-orchestrator.html#field-orchestrator-resource-ip) | '172.18.0.6' |
| [orchestrator.resource.annotation](https://www.elastic.co/guide/en/ecs/current/ecs-orchestrator.html#field-orchestrator-resource-annotation) | ['test one two'] |
| [orchestrator.resource.label](https://www.elastic.co/guide/en/ecs/current/ecs-orchestrator.html#field-orchestrator-resource-label) | ['service:webapp'] |
| orchestrator.resource.annotation | ['note:testing'] |
| orchestrator.resource.label | ['service:webapp'] |
| [orchestrator.resource.name](https://www.elastic.co/guide/en/ecs/current/ecs-orchestrator.html#field-orchestrator-resource-name) | webapp-proxy |
| [orchestrator.resource.parent.type](https://www.elastic.co/guide/en/ecs/current/ecs-orchestrator.html#field-orchestrator-resource-parent-type) | 'DaemonSet', 'ReplicaSet' etc... |
| [orchestrator.resource.type](https://www.elastic.co/guide/en/ecs/current/ecs-orchestrator.html#field-orchestrator-resource-type) | pod |
Expand Down Expand Up @@ -334,8 +334,8 @@ responses:
| [orchestrator.cluster.name](https://www.elastic.co/guide/en/ecs/current/ecs-orchestrator.html#field-orchestrator-cluster-name) | 'website' |
| [orchestrator.namespace](https://www.elastic.co/guide/en/ecs/current/ecs-orchestrator.html#field-orchestrator-namespace) | default |
| [orchestrator.resource.ip](https://www.elastic.co/guide/en/ecs/current/ecs-orchestrator.html#field-orchestrator-resource-ip) | '172.18.0.6' |
| [orchestrator.resource.annotation](https://www.elastic.co/guide/en/ecs/current/ecs-orchestrator.html#field-orchestrator-resource-annotation) | ['test one two'] |
| [orchestrator.resource.label](https://www.elastic.co/guide/en/ecs/current/ecs-orchestrator.html#field-orchestrator-resource-label) | ['service:webapp'] |
| orchestrator.resource.annotation | ['note:testing'] |
| orchestrator.resource.label | ['service:webapp'] |
| [orchestrator.resource.name](https://www.elastic.co/guide/en/ecs/current/ecs-orchestrator.html#field-orchestrator-resource-name) | webapp-proxy |
| [orchestrator.resource.parent.type](https://www.elastic.co/guide/en/ecs/current/ecs-orchestrator.html#field-orchestrator-resource-parent-type) | ... |
| [orchestrator.resource.type](https://www.elastic.co/guide/en/ecs/current/ecs-orchestrator.html#field-orchestrator-resource-type) | pod |
Expand Down
4 changes: 2 additions & 2 deletions packages/cloud_defend/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
format_version: 2.3.0
name: cloud_defend
title: "Defend for Containers"
version: 1.0.3
version: 1.0.4
source:
license: "Elastic-2.0"
description: "Elastic Defend for Containers provides cloud-native runtime protections for containerized environments."
description: "Elastic Defend for Containers (BETA) provides cloud-native runtime protections for containerized environments."
type: integration
categories:
- containers
Expand Down