Skip to main content

ElasticSearch

Consumer component that pushes findings to an ElasticSearch instance. Read more about ElasticSearch here.

How to use

Open-Source

  1. Add the Helm package to the pipeline settings:
---
# file: ./my-pipeline/kustomization.yaml
kind: Kustomization
components:
- pkg:helm/smithy-security-oss-components/consumer-elasticsearch
  1. Configure the run parameters of the component in the pipeline run file:
# file: ./my-pipeline/pipelinerun.yaml
---
...
spec:
params:
- name: consumer-elasticsearch-url
value: <Your ES URL>
- name: consumer-elasticsearch-description-template
value: <Your description template>
- name: consumer-elasticsearch-api-key
value: <ES API key>
- name: consumer-elasticsearch-index-name
value: <ES index to push to>
- name: consumer-elasticsearch-cloud-id
value: <ES cloud ID>

SaaS

  1. In the Smithy UI, open the page to create a new workflow.
  2. Find the ElasticSearch component in the Consumers dropdown.
  3. Click on the ElasticSearch flow icon to bring the form to the top
  4. Fill the form on the right

Options

You can configure this component with the following options:

Option NameDescriptionDefaultType
consumer-elasticsearch-urlURL of your ElasticSearch instance""String
consumer-elasticsearch-description-templateA Go Template string describing how to show Raw or Enriched issues""String
consumer-elasticsearch-api-keyAPI key for your ElasticSearch instance""String
consumer-elasticsearch-index-nameThe index in ElasticSearch to push results to""String
consumer-elasticsearch-cloud-idThe cloud id in ElasticSearch to contact results to""String