Skip to content

Conversation

@Zenithar
Copy link
Contributor

Context

  • Make owner not mandatory in RuleSetJSON Schema
  • Add a Protobuf to YAML conversion helper who uses protojson as an intermediary encoder to get the right protobuf object annotations
  • Apply fix to RuleSetand Patch tasks which were producing an api_version property instead of the expected apiVersion format
$ harp from object --in ~/demo/219/input.json --out - | harp to ruleset --in -
apiVersion: harp.elastic.co/v1
kind: RuleSet
meta:
  description: Generated from bundle content
  name: qBiWpFkYKhkuBUXyIxxA1fSWCDXV8jHBJkgArt7D2dwqZ4mn_k7s2JbomfjzB_tNEI9CJXJ1n5cflhb96ao3lA
spec:
  rules:
  - constraints:
    - p.has_secret("bar")
    name: LINT-qBiWpF-1
    path: secrets/foo/test

Reference(s)

fix #219

Signed-off-by: Thibault Normand <me@zenithar.org>
Signed-off-by: Thibault Normand <me@zenithar.org>
@fin09pcap fin09pcap merged commit 090fc3c into elastic:main May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

harp to ruleset defined invalid schema

2 participants