Skip to content

Commit

Permalink
[OAS] Add description for has_fields_for_a_a_d in rule APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
lcawl committed Nov 6, 2023
1 parent 002e685 commit 048228c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x-pack/plugins/alerting/docs/openapi/bundled.json
Original file line number Diff line number Diff line change
Expand Up @@ -1017,7 +1017,8 @@
"type": "boolean"
},
"has_fields_for_a_a_d": {
"type": "boolean"
"type": "boolean",
"description": "Indicates whether the rule has fields for alerts as data. This property is specific to Observability rule types. It affects whether the rule supports actions that run only when an alert matches a KQL query.\n"
},
"id": {
"description": "The unique identifier for the rule type.",
Expand Down
2 changes: 2 additions & 0 deletions x-pack/plugins/alerting/docs/openapi/bundled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -653,6 +653,8 @@ paths:
type: boolean
has_fields_for_a_a_d:
type: boolean
description: |
Indicates whether the rule has fields for alerts as data. This property is specific to Observability rule types. It affects whether the rule supports actions that run only when an alert matches a KQL query.
id:
description: The unique identifier for the rule type.
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,10 @@ get:
type: boolean
has_fields_for_a_a_d:
type: boolean
description: >
Indicates whether the rule has fields for alerts as data.
This property is specific to Observability rule types.
It affects whether the rule supports actions that run only when an alert matches a KQL query.
id:
description: The unique identifier for the rule type.
type: string
Expand Down

0 comments on commit 048228c

Please sign in to comment.