Skip to content

Commit

Permalink
cleanup infrastructure_security.yml (#4439)
Browse files Browse the repository at this point in the history
* cleanup infrastructure_security.yml

* add newline
  • Loading branch information
petercrocker authored Sep 24, 2024
1 parent 6a11b05 commit 7958888
Showing 1 changed file with 15 additions and 72 deletions.
87 changes: 15 additions & 72 deletions models/examples/security/infrastructure_security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ generics:
namespace: Security
description: "Generic Security Address."
label: "Security Address"
default_filter: name__value
human_friendly_id: ["name__value"]
order_by:
- "name__value"
display_labels:
Expand All @@ -24,7 +24,7 @@ nodes:
namespace: Infra
description: "IP Address"
label: "IP Address"
default_filter: address__value
human_friendly_id: ["address__value"]
order_by:
- "address__value"
display_labels:
Expand All @@ -37,18 +37,7 @@ nodes:
unique: true
relationships:
- name: organization
peer: CoreOrganization
optional: true
cardinality: one
kind: Attribute

- name: status
peer: BuiltinStatus
optional: false
cardinality: one
kind: Attribute
- name: role
peer: BuiltinRole
peer: OrganizationGeneric
optional: true
cardinality: one
kind: Attribute
Expand All @@ -62,31 +51,27 @@ nodes:
namespace: Infra
description: "IPv4 or IPv6 network (with mask)"
label: "Prefix"
default_filter: name__value
inherit_from:
- "SecurityAddress"
human_friendly_id: ["prefix__value"]
order_by:
- name__value
- "prefix__value"
display_labels:
- name__value
- prefix__value
inherit_from:
- "SecurityAddress"
attributes:
- name: prefix
kind: IPNetwork
- name: name
kind: Text
- name: description
kind: Text
optional: true
unique: true
relationships:
- name: status
peer: BuiltinStatus
optional: false
- name: organization
peer: OrganizationGeneric
optional: true
cardinality: one
kind: Attribute
- name: role
peer: BuiltinRole
- name: tags
peer: BuiltinTag
optional: true
cardinality: one
cardinality: many
kind: Attribute

- name: IPRange
Expand All @@ -110,17 +95,6 @@ nodes:
identifier: security_iprange__end_address
cardinality: one
kind: Attribute

- name: status
peer: BuiltinStatus
optional: false
cardinality: one
kind: Attribute
- name: role
peer: BuiltinRole
optional: true
cardinality: one
kind: Attribute
- name: tags
peer: BuiltinTag
optional: true
Expand All @@ -138,16 +112,6 @@ nodes:
order_by:
- name__value
relationships:
- name: status
peer: BuiltinStatus
optional: false
cardinality: one
kind: Attribute
- name: role
peer: BuiltinRole
optional: true
cardinality: one
kind: Attribute
- name: tags
peer: BuiltinTag
optional: true
Expand Down Expand Up @@ -198,11 +162,6 @@ nodes:
optional: false
cardinality: one
kind: Attribute
- name: role
peer: BuiltinRole
optional: true
cardinality: one
kind: Attribute
- name: tags
peer: BuiltinTag
optional: true
Expand All @@ -224,11 +183,6 @@ nodes:
kind: Text
optional: true
relationships:
- name: role
peer: BuiltinRole
optional: true
cardinality: one
kind: Attribute
- name: tags
peer: BuiltinTag
optional: true
Expand Down Expand Up @@ -280,17 +234,6 @@ nodes:
identifier: security_rule__destination_applications
peer: SecurityApplication
cardinality: many

- name: status
peer: BuiltinStatus
optional: false
cardinality: one
kind: Attribute
- name: role
peer: BuiltinRole
optional: true
cardinality: one
kind: Attribute
- name: tags
peer: BuiltinTag
optional: true
Expand Down

0 comments on commit 7958888

Please sign in to comment.