Skip to content
Closed
Show file tree
Hide file tree
Changes from 16 commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
c99b314
TYCHON Inital Agent Upload
joeperuzzi Jun 26, 2023
12651b6
Update packages/tychon/changelog.yml
joeperuzzi Jun 28, 2023
9bc9902
Update packages/tychon/_dev/build/build.yml
joeperuzzi Jun 28, 2023
ed2c9c1
Update packages/tychon/changelog.yml
joeperuzzi Jun 28, 2023
4a0fa02
Update packages/tychon/manifest.yml
joeperuzzi Jun 28, 2023
bb3ea07
Please delete this file. It is not needed since the file in the root …
joeperuzzi Jun 28, 2023
4e3ff95
Removed file based on PR Request
joeperuzzi Jun 28, 2023
933b66b
Update packages/tychon/data_stream/tychon_cve/agent/stream/stream.yml…
joeperuzzi Jun 28, 2023
3f2a742
adding TYCHON package to codeowners file
joeperuzzi Jun 28, 2023
be4c100
Update stream.yml.hbs
tychon1 Jun 28, 2023
8c23a3b
Update stream.yml.hbs
tychon1 Jun 28, 2023
f109f93
Update default.yml
tychon1 Jun 28, 2023
1ec1865
Update default.yml
tychon1 Jun 28, 2023
32d77c6
Update stream.yml.hbs
tychon1 Jun 28, 2023
e0bad7a
Update fields.yml
tychon1 Jun 28, 2023
6035366
Update README.md
tychon1 Jun 28, 2023
c6660a2
Update README.md and Fields.
tychon1 Jun 28, 2023
b8f8608
Update missing descriptions
tychon1 Jun 29, 2023
782a7fc
Put License back
tychon1 Jun 29, 2023
ee83a6c
Added pipeline tests
tychon1 Jun 29, 2023
8e83866
Updated pipeline tests
tychon1 Jul 6, 2023
feb2b9a
Merge pull request #1 from joeperuzzi/bruceUpdates
joeperuzzi Jul 6, 2023
45ca0bd
Merge branch 'main' into tychon_agentless
joeperuzzi Jul 6, 2023
0890a32
Moving LIcnese.txt to the root directory
joeperuzzi Jul 7, 2023
3113785
Update Changes from PR 6701
tychon1 Jul 10, 2023
4bbed69
Several code recommendation changes based upon PR comments
joeperuzzi Jul 11, 2023
f67356b
Removal of host.ip~, replaced with tychon.ip~.
skidmoco Jul 11, 2023
f6c27ea
added removal of host.ip~ fields to pipeline for each category area
skidmoco Jul 11, 2023
86439db
Added requested final file carriage return
skidmoco Jul 12, 2023
f5734d8
Remove iteration variable as recommended
skidmoco Jul 13, 2023
aa3e668
Merge pull request #2 from joeperuzzi/justins
skidmoco Jul 18, 2023
1723f65
Added ARF
tychon1 Jul 28, 2023
c4404a8
Updating description of vulnerability ds
joeperuzzi Jul 31, 2023
35874d1
Merge pull request #3 from joeperuzzi/justins
joeperuzzi Jul 31, 2023
9a76695
Converted pipeline method to gsub
tychon1 Aug 8, 2023
f72e9ad
Updated script to yaml pipe syntax
tychon1 Aug 8, 2023
2b70820
Changes to be committed:
joeperuzzi Aug 9, 2023
681f1f5
Changes to be committed:
joeperuzzi Aug 9, 2023
bd27659
Merge branch 'bruceUpdates' into BruceLatest&Greatest
joeperuzzi Aug 9, 2023
7dc7b0f
Changes to be committed:
joeperuzzi Aug 9, 2023
cf48b30
Delete test-arf.json-config.yml
tychon1 Aug 9, 2023
a4803e3
Create test-arf.json-config.yml
tychon1 Aug 9, 2023
a9a38fc
Update default.yml
tychon1 Aug 9, 2023
b20ed4b
Update default.yml
tychon1 Aug 9, 2023
73b7b79
Update test-epp.json-expected.json
tychon1 Aug 9, 2023
63a0620
Update default.yml
tychon1 Aug 9, 2023
c1ba00f
Update test-stig.json-expected.json
tychon1 Aug 9, 2023
6256e4c
updated fields
tychon1 Aug 9, 2023
ad8c478
Removed ARF
tychon1 Aug 9, 2023
7e25d28
Merge pull request #6 from joeperuzzi/BruceChangesNoSync
joeperuzzi Aug 10, 2023
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
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@
/packages/trellix_epo_cloud @elastic/security-external-integrations
/packages/trendmicro @elastic/security-external-integrations
/packages/trend_micro_vision_one @elastic/security-external-integrations
/packages/tychon @elastic/security-external-integrations
/packages/udp @elastic/security-external-integrations
/packages/universal_profiling_agent @elastic/profiling
/packages/universal_profiling_collector @elastic/profiling
Expand Down
93 changes: 0 additions & 93 deletions LICENSE.txt

This file was deleted.

3 changes: 3 additions & 0 deletions packages/tychon/_dev/build/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
dependencies:
ecs:
reference: git@8.8
6 changes: 6 additions & 0 deletions packages/tychon/changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# newer versions go on top
- version: "0.0.1"
changes:
- description: Fixed incorrect types in field.yml and cleaned up formatting
type: enhancement
link: https://github.com/elastic/integrations/pull/6701
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
paths:
{{#each paths as |path|}}
- {{path}}
{{/each}}
tags:
{{#if preserve_original_event}}
- preserve_original_event
{{/if}}
{{#each tags as |tag|}}
- {{tag}}
{{/each}}
{{#contains "forwarded" tags}}
publisher_pipeline.disable_host: true
{{/contains}}
processors:
- add_locale: ~
{{#if processors}}
{{processors}}
{{/if}}
json:
keys_under_root: true
expand_keys: true

Comment thread
joeperuzzi marked this conversation as resolved.
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
---
description: Pipeline for parsing TYCHON Vulnerability Scan Results
processors:
- set:
if: "ctx.containsKey('tychon') && ctx.tychon.containsKey('id')"
field: 'host.id'
value: '{{tychon.id}}'
- remove:
if: "ctx.containsKey('tychon') && ctx.tychon.containsKey('id')"
field: 'tychon'
- set:
field: '_id'
value: '{{id}}'
Comment thread
joeperuzzi marked this conversation as resolved.
Outdated
- set:
field: '@timestamp'
value: '{{_ingest.timestamp}}'
- set:
field: ecs.version
value: '8.8.0'
- set:
field: event.kind
value: state
- set:
field: event.module
value: tychon
- set:
field: event.category
value: vulnerability
- set:
field: vulnerability.scanner.vendor
value: tychon
- set:
field: vulnerability.category
value: oval
- set:
field: vulnerability.classification
value: cvss
- set:
field: vulnerability.enumeration
value: CVE
- set:
field: event.outcome
value: '{{vulnerability.result}}'
- set:
field: event.ingested
value: '{{_ingest.timestamp}}'
on_failure:
- set:
field: error.message
value: '{{ _ingest.on_failure_message }}'

169 changes: 169 additions & 0 deletions packages/tychon/data_stream/tychon_cve/fields/agent.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,169 @@
- name: cloud
title: Cloud
group: 2
description: Fields related to the cloud or infrastructure the events are coming from.
footnote: 'Examples: If Metricbeat is running on an EC2 host and fetches data from its host, the cloud info contains the data about this machine. If Metricbeat runs on a remote machine outside the cloud and fetches data from a service running in the cloud, the field contains cloud data from the machine the service is running on.'
type: group
fields:
- name: account.id
level: extended
type: keyword
ignore_above: 1024
description: 'The cloud account or organization id used to identify different entities in a multi-tenant environment.

Examples: AWS account id, Google Cloud ORG Id, or other unique identifier.'
example: 666777888999
- name: availability_zone
level: extended
type: keyword
ignore_above: 1024
description: Availability zone in which this host is running.
example: us-east-1c
- name: instance.id
level: extended
type: keyword
ignore_above: 1024
description: Instance ID of the host machine.
example: i-1234567890abcdef0
- name: instance.name
level: extended
type: keyword
ignore_above: 1024
description: Instance name of the host machine.
- name: machine.type
level: extended
type: keyword
ignore_above: 1024
description: Machine type of the host machine.
example: t2.medium
- name: provider
level: extended
type: keyword
ignore_above: 1024
description: Name of the cloud provider. Example values are aws, azure, gcp, or digitalocean.
example: aws
- name: region
level: extended
type: keyword
ignore_above: 1024
description: Region in which this host is running.
example: us-east-1
- name: project.id
type: keyword
description: Name of the project in Google Cloud.
- name: image.id
type: keyword
description: Image ID for the cloud instance.
- name: container
title: Container
group: 2
description: 'Container fields are used for meta information about the specific container that is the source of information.

These fields help correlate data based containers from any runtime.'
type: group
fields:
- name: id
level: core
type: keyword
ignore_above: 1024
description: Unique container id.
- name: image.name
level: extended
type: keyword
ignore_above: 1024
description: Name of the image the container was built on.
- name: name
level: extended
type: keyword
ignore_above: 1024
description: Container name.
- name: host
title: Host
group: 2
description: 'A host is defined as a general computing instance.

ECS host.* fields should be populated with details about the host on which the event happened, or from which the measurement was taken. Host types include hardware, virtual machines, Docker containers, and Kubernetes nodes.'
type: group
fields:
- name: id
type: keyword
- name: biossn
type: keyword
- name: domain
level: extended
type: keyword
ignore_above: 1024
description: 'Name of the domain of which the host is a member.

For example, on Windows this could be the host''s Active Directory domain or NetBIOS domain name. For Linux this could be the domain of the host''s LDAP provider.'
example: CONTOSO
default_field: false
- name: hostname
level: core
type: keyword
ignore_above: 1024
description: 'Hostname of the host.

It normally contains what the `hostname` command returns on the host machine.'
- name: ip
level: core
type: ip
description: Host ip addresses.
- name: ipv4
type: keyword
- name: ipv6
type: keyword
- name: mac
level: core
type: keyword
ignore_above: 1024
description: Host mac addresses.
- name: type
type: keyword
- name: uptime
type: long
- name: workgroup
type: keyword
- name: oem
type: group
fields:
- name: manufacturer
type: keyword
- name: model
type: keyword
- name: os
type: group
fields:
- name: build
type: keyword
- name: description
type: keyword
- name: family
type: keyword
- name: name
type: keyword
- name: organization
type: keyword
- name: version
type: keyword
- name: hardware
type: group
fields:
- name: bios
type: group
fields:
- name: name
type: keyword
- name: version
type: keyword
- name: cpu
type: group
fields:
- name: caption
type: keyword
- name: manufacturer
type: keyword
- name: owner
type: keyword
- name: serial_number
type: keyword
18 changes: 18 additions & 0 deletions packages/tychon/data_stream/tychon_cve/fields/base-fields.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
- name: input.type
type: keyword
- name: log.offset
type: long
- name: data_stream.type
type: constant_keyword
description: Data stream type.
- name: data_stream.dataset
type: constant_keyword
description: Data stream dataset.
- name: data_stream.namespace
type: constant_keyword
description: Data stream namespace.
- name: event.module
type: keyword
description: Event module
- name: '@timestamp'
type: date
Loading