This schema extension contains models for implementing detailed security.
Details
Nodes
Zone
- Label: Security zone
- Description: Security zones
- Namespace: Security
- Icon: game-icons:fire-zone
- Human Friendly ID: name__value
Attributes
| name | description | kind | optional | default_value | choices |
|---|
| name | | Text | False | | |
Relationships
| name | peer | optional | cardinality | kind |
|---|
| interfaces | SecurityFirewallInterface | True | | Attribute |
IPAMIPAddress
- Label: IPAM IP Address
- Description: Infrahub IPv4/6 address
- Namespace: Security
- Icon: mdi:ip-outline
- Human Friendly ID: name__value
- Inherit From: SecurityGenericAddress
Attributes
| name | description | kind | optional | default_value | choices |
|---|
| description | | Text | True | | |
Relationships
| name | peer | optional | cardinality | kind |
|---|
| ip_address | InfraIPAddress | False | one | Attribute |
IPAMIPPrefix
- Label: IPAM IP Prefix
- Description: Infrahub IPv4/6 prefix
- Namespace: Security
- Icon: mdi:ip-network-outline
- Human Friendly ID: name__value
- Inherit From: SecurityGenericAddress
Attributes
| name | description | kind | optional | default_value | choices |
|---|
| description | | Text | True | | |
Relationships
| name | peer | optional | cardinality | kind |
|---|
| ip_prefix | InfraPrefix | False | one | Attribute |
IPAddress
- Label: IP Address
- Description: IPv4/6 address
- Namespace: Security
- Icon: mdi:ip-outline
- Human Friendly ID: name__value
- Inherit From: SecurityGenericAddress
Attributes
| name | description | kind | optional | default_value | choices |
|---|
| address | | IPHost | | | |
| description | | Text | True | | |
Prefix
- Label: Prefix
- Description: IPv4/6 prefix
- Namespace: Security
- Icon: mdi:ip-network-outline
- Human Friendly ID: name__value
- Inherit From: SecurityGenericAddress
Attributes
| name | description | kind | optional | default_value | choices |
|---|
| prefix | | IPNetwork | False | | |
| description | | Text | True | | |
IPRange
- Label: IP Range
- Description: IPv4/6 Range
- Namespace: Security
- Icon: mdi:ip-outline
- Human Friendly ID: name__value
- Inherit From: SecurityGenericAddress
Attributes
| name | description | kind | optional | default_value | choices |
|---|
| start | | IPHost | False | | |
| end | | IPHost | False | | |
FQDN
- Label: FQDN
- Description: Full Qualified Domain Name
- Namespace: Security
- Icon: eos-icons:dns
- Human Friendly ID: name__value
- Inherit From: SecurityGenericAddress
Attributes
| name | description | kind | optional | default_value | choices |
|---|
| fqdn | | Text | False | | |
AddressGroup
- Label: Address Group
- Description: Group of addresses
- Namespace: Security
- Icon: material-symbols:menu-book-outline-rounded
- Human Friendly ID: name__value
- Inherit From: SecurityGenericAddressGroup
IPProtocol
- Label: IP Protocols
- Description: IP protocol
- Namespace: Security
- Icon: mdi:protocol
- Human Friendly ID: name__value
- Inherit From: SecurityGenericService
Attributes
| name | description | kind | optional | default_value | choices |
|---|
| protocol | | Number | True | | |
Service
- Label: Service
- Description: Service
- Namespace: Security
- Icon: eos-icons:application-outlined
- Human Friendly ID: name__value
- Inherit From: SecurityGenericService
Attributes
| name | description | kind | optional | default_value | choices |
|---|
| port | | Number | | | |
Relationships
| name | peer | optional | cardinality | kind |
|---|
| ip_protocol | SecurityIPProtocol | True | one | Attribute |
ServiceRange
- Label: Service range
- Description: Service range
- Namespace: Security
- Icon: eos-icons:application-outlined
- Human Friendly ID: name__value
- Inherit From: SecurityGenericService
Attributes
| name | description | kind | optional | default_value | choices |
|---|
| start | | Number | False | | |
| end | | Number | False | | |
Relationships
| name | peer | optional | cardinality | kind |
|---|
| ip_protocol | SecurityIPProtocol | False | one | Attribute |
ServiceGroup
- Label: Service group
- Description: Group of services
- Namespace: Security
- Icon: material-symbols:menu-book-outline-rounded
- Human Friendly ID: name__value
- Inherit From: SecurityGenericServiceGroup
Policy
- Label: Security Policy
- Namespace: Security
- Human Friendly ID: name__value
Attributes
| name | description | kind | optional | default_value | choices |
|---|
| name | | Text | False | | |
| description | | Text | True | | |
Relationships
| name | peer | optional | cardinality | kind |
|---|
| rules | SecurityPolicyRule | | many | Component |
| location_target | LocationGeneric | True | one | Attribute |
| device_target | SecurityFirewall | True | one | Attribute |
PolicyRule
- Label: Policy rule
- Description: Policy rule
- Namespace: Security
- Icon: material-symbols:policy
- Uniqueness Constraints:
- index__value, source_zone, destination_zone, policy
Attributes
| name | description | kind | optional | default_value | choices |
|---|
| index | | Number | False | | |
| name | | Text | False | | |
| action | | Text | False | permit | |
| log | | Boolean | True | False | |
Relationships
| name | peer | optional | cardinality | kind |
|---|
| policy | SecurityPolicy | False | one | Attribute |
| source_zone | SecurityZone | False | one | Attribute |
| destination_zone | SecurityZone | False | one | Attribute |
| source_address | SecurityGenericAddress | True | many | Attribute |
| source_groups | SecurityGenericAddressGroup | True | many | Attribute |
| source_services | SecurityGenericService | True | many | Attribute |
| source_service_groups | SecurityGenericServiceGroup | True | many | Attribute |
| destination_address | SecurityGenericAddress | True | many | Attribute |
| destination_groups | SecurityGenericAddressGroup | True | many | Attribute |
| destination_services | SecurityGenericService | True | many | Attribute |
| destination_service_groups | SecurityGenericServiceGroup | True | many | Attribute |
Firewall
- Namespace: Security
- Icon: mdi:firewall
- Human Friendly ID: name__value
- Inherit From: InfraGenericDevice, CoreArtifactTarget, SecurityPolicyAssignment
Attributes
| name | description | kind | optional | default_value | choices |
|---|
| role | | Dropdown | True | | edge_firewall |
Relationships
| name | peer | optional | cardinality | kind |
|---|
| policy | SecurityPolicy | | one | Attribute |
RenderedPolicyRule
- Label: Policy rule
- Description: Policy rule
- Namespace: Security
Attributes
| name | description | kind | optional | default_value | choices |
|---|
| index | | Number | False | | |
| name | | Text | False | | |
| action | | Text | False | permit | |
| log | | Boolean | True | False | |
Relationships
| name | peer | optional | cardinality | kind |
|---|
| source_policy | SecurityPolicy | False | one | Attribute |
| source_zone | SecurityZone | False | one | Attribute |
| destination_zone | SecurityZone | False | one | Attribute |
| source_address | SecurityGenericAddress | True | many | Attribute |
| source_groups | SecurityGenericAddressGroup | True | many | Attribute |
| source_services | SecurityGenericService | True | many | Attribute |
| source_service_groups | SecurityGenericServiceGroup | True | many | Attribute |
| destination_address | SecurityGenericAddress | True | many | Attribute |
| destination_groups | SecurityGenericAddressGroup | True | many | Attribute |
| destination_services | SecurityGenericService | True | many | Attribute |
| destination_service_groups | SecurityGenericServiceGroup | True | many | Attribute |
FirewallInterface
- Label: Firewall Interface
- Namespace: Security
- Icon: mdi:ethernet
- Inherit From: InfraInterface, InfraEndpoint
Relationships
| name | peer | optional | cardinality | kind |
|---|
| ip_addresses | InfraIPAddress | True | many | Component |
| security_zone | SecurityZone | False | one | Attribute |
Generics
PolicyAssignment
- Label: Security Policy
- Namespace: Security
Relationships
| name | peer | optional | cardinality | kind |
|---|
| rules | SecurityRenderedPolicyRule | True | many | Component |
GenericAddressGroup
Attributes
| name | description | kind | optional | default_value | choices |
|---|
| name | | Text | False | | |
| description | | Text | True | | |
Relationships
| name | peer | optional | cardinality | kind |
|---|
| addresses | SecurityGenericAddress | True | many | Component |
GenericAddress
Attributes
| name | description | kind | optional | default_value | choices |
|---|
| name | | Text | False | | |
Relationships
| name | peer | optional | cardinality | kind |
|---|
| address_groups | SecurityGenericAddressGroup | True | many | |
GenericServiceGroup
Attributes
| name | description | kind | optional | default_value | choices |
|---|
| name | | Text | False | | |
| description | | Text | True | | |
Relationships
| name | peer | optional | cardinality | kind |
|---|
| services | SecurityGenericService | True | many | Component |
GenericService
Attributes
| name | description | kind | optional | default_value | choices |
|---|
| name | | Text | False | | |
| description | | Text | True | | |
Relationships