Skip to content

Commit

Permalink
Remove query parameter from policy endpoints (#1527)
Browse files Browse the repository at this point in the history
  • Loading branch information
surik committed Feb 5, 2024
1 parent a2f2a6e commit bdf71ab
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
5 changes: 0 additions & 5 deletions management/server/http/api/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -765,15 +765,10 @@ components:
description: Policy status
type: boolean
example: true
query:
description: Policy Rego query
type: string
example: "package netbird\\n\\nall[rule] {\\n is_peer_in_any_group([\\\"ch8i4ug6lnn4g9hqv7m0\\\",\\\"ch8i4ug6lnn4g9hqv7m0\\\"])\\n rule := {\\n rules_from_group(\\\"ch8i4ug6lnn4g9hqv7m0\\\", \\\"dst\\\", \\\"accept\\\", \\\"\\\"),\\n rules_from_group(\\\"ch8i4ug6lnn4g9hqv7m0\\\", \\\"src\\\", \\\"accept\\\", \\\"\\\"),\\n }[_][_]\\n}\\n"
required:
- name
- description
- enabled
- query
PolicyUpdate:
allOf:
- $ref: '#/components/schemas/PolicyMinimum'
Expand Down
9 changes: 0 additions & 9 deletions management/server/http/api/types.gen.go

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

0 comments on commit bdf71ab

Please sign in to comment.