Skip to content

Commit 32bcc15

Browse files
committed
Merge upstream/main into add-discovery-field-value
2 parents 2a773a0 + 8208dc3 commit 32bcc15

5 files changed

Lines changed: 15 additions & 4 deletions

File tree

spec/changelog.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@
1010
- description: Add support for semantic_text field definition.
1111
type: enhancement
1212
link: https://github.com/elastic/package-spec/pull/807
13+
- version: 3.4.1-next
14+
changes:
15+
- description: Add fips_compatible boolean flag for input package policy templates.
16+
type: enhancement
17+
link: https://github.com/elastic/package-spec/pull/914
1318
- description: Add support to define an optinal value for discovery fields.
1419
type: enhancement
1520
link: https://github.com/elastic/package-spec/pull/917

spec/input/manifest.spec.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ spec:
7171
$ref: "../integration/manifest.spec.yml#/definitions/deployment_modes"
7272
configuration_links:
7373
$ref: "../integration/manifest.spec.yml#/definitions/configuration_links"
74+
fips_compatible:
75+
$ref: "../integration/manifest.spec.yml#/definitions/fips_compatible"
7476
icons:
7577
$ref: "../integration/manifest.spec.yml#/definitions/icons"
7678
screenshots:

spec/integration/manifest.spec.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,10 @@ spec:
274274
- title
275275
- url
276276
- type
277+
fips_compatible:
278+
type: boolean
279+
description: Indicate if this package is capable of satisfying FIPS requirements. Set to false if it uses any input that cannot be configured to use FIPS cryptography.
280+
default: true
277281
icons:
278282
description: List of icons for by this package.
279283
type: array
@@ -481,6 +485,8 @@ spec:
481485
$ref: "#/definitions/deployment_modes"
482486
configuration_links:
483487
$ref: "#/definitions/configuration_links"
488+
fips_compatible:
489+
$ref: "#/definitions/fips_compatible"
484490
inputs:
485491
description: List of inputs supported by policy template.
486492
type: array
@@ -532,10 +538,6 @@ spec:
532538
$ref: "#/definitions/screenshots"
533539
vars:
534540
$ref: "./data_stream/manifest.spec.yml#/definitions/vars"
535-
fips_compatible:
536-
type: boolean
537-
description: Indicate if this package is capable of satisfying FIPS requirements. Set to false if it uses any input that cannot be configured to use FIPS cryptography.
538-
default: true
539541
required:
540542
- name
541543
- title

test/packages/good_input/manifest.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ policy_templates:
2222
description: Query the database to capture metrics.
2323
input: sql
2424
template_path: input.yml.hbs
25+
fips_compatible: false
2526
vars:
2627
- name: hosts
2728
type: text

test/packages/good_v3/manifest.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ policy_templates:
4444
requests:
4545
memory: 1024M
4646
cpu: "0.5"
47+
fips_compatible: false
4748
configuration_links:
4849
- title: View Agents
4950
url: "kbn:/app/fleet/agents"

0 commit comments

Comments
 (0)