Skip to content

Commit a918c46

Browse files
committed
Support for response_actions
1 parent bab3774 commit a918c46

File tree

5 files changed

+1331
-4
lines changed

5 files changed

+1331
-4
lines changed

generated/kbapi/kibana.gen.go

Lines changed: 31 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

generated/kbapi/transform_schema.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -854,6 +854,14 @@ func transformKibanaPaths(schema *Schema) {
854854
"propertyName": "type",
855855
})
856856

857+
schema.Components.Set("schemas.Security_Detections_API_ResponseAction.discriminator", Map{
858+
"mapping": Map{
859+
".osquery": "#/components/schemas/Security_Detections_API_OsqueryResponseAction",
860+
".endpoint": "#/components/schemas/Security_Detections_API_EndpointResponseAction",
861+
},
862+
"propertyName": "action_type_id",
863+
})
864+
857865
}
858866

859867
func removeBrokenDiscriminator(schema *Schema) {

0 commit comments

Comments
 (0)