Skip to content

Commit

Permalink
Add user_id to .fleet-actions schema (#198)
Browse files Browse the repository at this point in the history
(cherry picked from commit cfb6a22)
  • Loading branch information
aleksmaus authored and mergify-bot committed Apr 2, 2021
1 parent 2729c2e commit 494b91a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/pkg/es/mapping.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions internal/pkg/model/schema.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions model/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@
"description": "The input type the actions should be routed to.",
"type": "string"
},
"user_id": {
"description": "The ID of the user who created the action.",
"type": "string"
},
"agents": {
"description": "The Agent IDs the action is intended for. No support for json.RawMessage with the current generator. Could be useful to lazy parse the agent ids",
"type": "array",
Expand Down

0 comments on commit 494b91a

Please sign in to comment.