Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cleanup infrastructure_security.yml #4439

Merged
merged 2 commits into from
Sep 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading