mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-19 16:56:39 +00:00
Compare commits
1 Commits
dependabot
...
resource-f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8800e95e2c |
@@ -870,7 +870,7 @@ components:
|
|||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
example: "ch8i4ug6lnn4g9hqv797"
|
example: "ch8i4ug6lnn4g9hqv797"
|
||||||
sourceResource:
|
source_resource:
|
||||||
description: Policy rule source resource that the rule is applied to
|
description: Policy rule source resource that the rule is applied to
|
||||||
$ref: '#/components/schemas/Resource'
|
$ref: '#/components/schemas/Resource'
|
||||||
destinations:
|
destinations:
|
||||||
@@ -879,7 +879,7 @@ components:
|
|||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
example: "ch8i4ug6lnn4g9h7v7m0"
|
example: "ch8i4ug6lnn4g9h7v7m0"
|
||||||
destinationResource:
|
destination_resource:
|
||||||
description: Policy rule destination resource that the rule is applied to
|
description: Policy rule destination resource that the rule is applied to
|
||||||
$ref: '#/components/schemas/Resource'
|
$ref: '#/components/schemas/Resource'
|
||||||
|
|
||||||
@@ -894,7 +894,7 @@ components:
|
|||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
example: "ch8i4ug6lnn4g9hqv797"
|
example: "ch8i4ug6lnn4g9hqv797"
|
||||||
sourceResource:
|
source_resource:
|
||||||
description: Policy rule source resource that the rule is applied to
|
description: Policy rule source resource that the rule is applied to
|
||||||
$ref: '#/components/schemas/Resource'
|
$ref: '#/components/schemas/Resource'
|
||||||
destinations:
|
destinations:
|
||||||
@@ -903,7 +903,7 @@ components:
|
|||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
example: "ch8i4ug6lnn4g9h7v7m0"
|
example: "ch8i4ug6lnn4g9h7v7m0"
|
||||||
destinationResource:
|
destination_resource:
|
||||||
description: Policy rule destination resource that the rule is applied to
|
description: Policy rule destination resource that the rule is applied to
|
||||||
$ref: '#/components/schemas/Resource'
|
$ref: '#/components/schemas/Resource'
|
||||||
PolicyRule:
|
PolicyRule:
|
||||||
@@ -920,7 +920,7 @@ components:
|
|||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: '#/components/schemas/GroupMinimum'
|
$ref: '#/components/schemas/GroupMinimum'
|
||||||
sourceResource:
|
source_resource:
|
||||||
description: Policy rule source resource that the rule is applied to
|
description: Policy rule source resource that the rule is applied to
|
||||||
$ref: '#/components/schemas/Resource'
|
$ref: '#/components/schemas/Resource'
|
||||||
destinations:
|
destinations:
|
||||||
@@ -928,7 +928,7 @@ components:
|
|||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: '#/components/schemas/GroupMinimum'
|
$ref: '#/components/schemas/GroupMinimum'
|
||||||
destinationResource:
|
destination_resource:
|
||||||
description: Policy rule destination resource that the rule is applied to
|
description: Policy rule destination resource that the rule is applied to
|
||||||
$ref: '#/components/schemas/Resource'
|
$ref: '#/components/schemas/Resource'
|
||||||
PolicyMinimum:
|
PolicyMinimum:
|
||||||
|
|||||||
@@ -1270,7 +1270,7 @@ type PolicyRule struct {
|
|||||||
|
|
||||||
// Description Policy rule friendly description
|
// Description Policy rule friendly description
|
||||||
Description *string `json:"description,omitempty"`
|
Description *string `json:"description,omitempty"`
|
||||||
DestinationResource *Resource `json:"destinationResource,omitempty"`
|
DestinationResource *Resource `json:"destination_resource,omitempty"`
|
||||||
|
|
||||||
// Destinations Policy rule destination group IDs
|
// Destinations Policy rule destination group IDs
|
||||||
Destinations *[]GroupMinimum `json:"destinations,omitempty"`
|
Destinations *[]GroupMinimum `json:"destinations,omitempty"`
|
||||||
@@ -1292,7 +1292,7 @@ type PolicyRule struct {
|
|||||||
|
|
||||||
// Protocol Policy rule type of the traffic
|
// Protocol Policy rule type of the traffic
|
||||||
Protocol PolicyRuleProtocol `json:"protocol"`
|
Protocol PolicyRuleProtocol `json:"protocol"`
|
||||||
SourceResource *Resource `json:"sourceResource,omitempty"`
|
SourceResource *Resource `json:"source_resource,omitempty"`
|
||||||
|
|
||||||
// Sources Policy rule source group IDs
|
// Sources Policy rule source group IDs
|
||||||
Sources *[]GroupMinimum `json:"sources,omitempty"`
|
Sources *[]GroupMinimum `json:"sources,omitempty"`
|
||||||
@@ -1347,7 +1347,7 @@ type PolicyRuleUpdate struct {
|
|||||||
|
|
||||||
// Description Policy rule friendly description
|
// Description Policy rule friendly description
|
||||||
Description *string `json:"description,omitempty"`
|
Description *string `json:"description,omitempty"`
|
||||||
DestinationResource *Resource `json:"destinationResource,omitempty"`
|
DestinationResource *Resource `json:"destination_resource,omitempty"`
|
||||||
|
|
||||||
// Destinations Policy rule destination group IDs
|
// Destinations Policy rule destination group IDs
|
||||||
Destinations *[]string `json:"destinations,omitempty"`
|
Destinations *[]string `json:"destinations,omitempty"`
|
||||||
@@ -1369,7 +1369,7 @@ type PolicyRuleUpdate struct {
|
|||||||
|
|
||||||
// Protocol Policy rule type of the traffic
|
// Protocol Policy rule type of the traffic
|
||||||
Protocol PolicyRuleUpdateProtocol `json:"protocol"`
|
Protocol PolicyRuleUpdateProtocol `json:"protocol"`
|
||||||
SourceResource *Resource `json:"sourceResource,omitempty"`
|
SourceResource *Resource `json:"source_resource,omitempty"`
|
||||||
|
|
||||||
// Sources Policy rule source group IDs
|
// Sources Policy rule source group IDs
|
||||||
Sources *[]string `json:"sources,omitempty"`
|
Sources *[]string `json:"sources,omitempty"`
|
||||||
|
|||||||
Reference in New Issue
Block a user