Skip to content

Commit

Permalink
Add additional types to kubernetes metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
vjsamuel committed Jun 28, 2018
1 parent 69e3e2f commit c94880e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ https://github.com/elastic/beats/compare/v6.2.3...master[Check the HEAD diff]
- Add ability to define input configuration as stringified JSON for autodiscover. {pull}7372[7372]
- Add processor definition support for hints builder {pull}7386[7386]
- Add support to disable html escaping in outputs. {pull}7445[7445]
- Add additional types to kubernetes metadata {pull}7457[7457]

*Auditbeat*

Expand Down
12 changes: 12 additions & 0 deletions libbeat/common/kubernetes/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,24 @@ func init() {
// Resource data
type Resource = k8s.Resource

// ObjectMeta data
type ObjectMeta = metav1.ObjectMeta

// Pod data
type Pod = v1.Pod

// PodSpec data
type PodSpec = v1.PodSpec

// PodStatus data
type PodStatus = v1.PodStatus

// Container data
type Container = v1.Container

// ContainerPort data
type ContainerPort = v1.ContainerPort

// Event data
type Event = v1.Event

Expand Down

0 comments on commit c94880e

Please sign in to comment.