Skip to content

Class: EndpointConnection

The Endpoint Connection object contains information detailing a connection

attempt to an endpoint.

URI: ocsf:EndpointConnection

 classDiagram
    class EndpointConnection
    click EndpointConnection href "../EndpointConnection/"
      Object <|-- EndpointConnection
        click Object href "../Object/"

      EndpointConnection : code

      EndpointConnection : network_endpoint





        EndpointConnection --> "0..1 _recommended_" NetworkEndpoint : network_endpoint
        click NetworkEndpoint href "../NetworkEndpoint/"



Inheritance

Slots

Name Cardinality and Range Description Inheritance
code 0..1 recommended
Integer
A numerical response status code providing details about the connection direct
network_endpoint 0..1 recommended
NetworkEndpoint
Provides characteristics of the network endpoint direct

Usages

used by used in type used
LoadBalancer endpoint_connections range EndpointConnection

Rules

Rule Applied Preconditions Postconditions Elseconditions
any_of [{'slot_conditions': {'network_endpoint': {'required': True}}}, {'slot_conditions': {'code': {'required': True}}}]

In Subsets

Aliases

  • Endpoint Connection

Identifier and Mapping Information

Annotations

property value
ocsf_constraints {"at_least_one": ["network_endpoint", "code"]}

Schema Source

Mappings

Mapping Type Mapped Value
self ocsf:EndpointConnection
native ocsf:EndpointConnection

LinkML Source

Direct

name: EndpointConnection
annotations:
  ocsf_constraints:
    tag: ocsf_constraints
    value: '{"at_least_one": ["network_endpoint", "code"]}'
description: 'The Endpoint Connection object contains information detailing a connection

  attempt to an endpoint.'
in_subset:
- objects_subset
from_schema: https://w3id.org/lmodel/ocsf
aliases:
- Endpoint Connection
is_a: Object
slots:
- code
- network_endpoint
slot_usage:
  code:
    name: code
    description: A numerical response status code providing details about the connection.
    recommended: true
  network_endpoint:
    name: network_endpoint
    description: Provides characteristics of the network endpoint.
    recommended: true
rules:
- postconditions:
    any_of:
    - slot_conditions:
        network_endpoint:
          name: network_endpoint
          required: true
    - slot_conditions:
        code:
          name: code
          required: true
  description: 'OCSF at_least_one: at least one of [''network_endpoint'', ''code'']
    must be set.'

Induced

name: EndpointConnection
annotations:
  ocsf_constraints:
    tag: ocsf_constraints
    value: '{"at_least_one": ["network_endpoint", "code"]}'
description: 'The Endpoint Connection object contains information detailing a connection

  attempt to an endpoint.'
in_subset:
- objects_subset
from_schema: https://w3id.org/lmodel/ocsf
aliases:
- Endpoint Connection
is_a: Object
slot_usage:
  code:
    name: code
    description: A numerical response status code providing details about the connection.
    recommended: true
  network_endpoint:
    name: network_endpoint
    description: Provides characteristics of the network endpoint.
    recommended: true
attributes:
  code:
    name: code
    description: A numerical response status code providing details about the connection.
    from_schema: https://w3id.org/lmodel/ocsf
    aliases:
    - Response Code
    rank: 1000
    alias: code
    owner: EndpointConnection
    domain_of:
    - Response
    - EndpointConnection
    - HttpResponse
    - LoadBalancer
    range: integer
    recommended: true
  network_endpoint:
    name: network_endpoint
    description: Provides characteristics of the network endpoint.
    from_schema: https://w3id.org/lmodel/ocsf
    aliases:
    - Network Endpoint
    rank: 1000
    alias: network_endpoint
    owner: EndpointConnection
    domain_of:
    - EndpointConnection
    range: NetworkEndpoint
    recommended: true
rules:
- postconditions:
    any_of:
    - slot_conditions:
        network_endpoint:
          name: network_endpoint
          required: true
    - slot_conditions:
        code:
          name: code
          required: true
  description: 'OCSF at_least_one: at least one of [''network_endpoint'', ''code'']
    must be set.'