Skip to content

Class: Parameter

The Parameter object provides details regarding a parameter of a a function.

URI: ocsf:Parameter

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

      Parameter : name

      Parameter : post_value

      Parameter : pre_value

Inheritance

Slots

Name Cardinality and Range Description Inheritance
name 0..1
String
The parameter name direct
post_value 0..1
String
The parameter value after function execution direct
pre_value 0..1
String
The parameter value before function execution direct

Usages

used by used in type used
FunctionInvocation parameters range Parameter

Rules

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

In Subsets

Aliases

  • Parameter

Identifier and Mapping Information

Annotations

property value
ocsf_constraints {"at_least_one": ["name", "pre_value", "post_value"]}

Schema Source

Mappings

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

LinkML Source

Direct

name: Parameter
annotations:
  ocsf_constraints:
    tag: ocsf_constraints
    value: '{"at_least_one": ["name", "pre_value", "post_value"]}'
description: The Parameter object provides details regarding a parameter of a a function.
in_subset:
- objects_subset
from_schema: https://w3id.org/lmodel/ocsf
aliases:
- Parameter
is_a: Object
slots:
- name
- post_value
- pre_value
slot_usage:
  name:
    name: name
    description: The parameter name.
  post_value:
    name: post_value
    description: The parameter value after function execution.
  pre_value:
    name: pre_value
    description: The parameter value before function execution.
rules:
- postconditions:
    any_of:
    - slot_conditions:
        name:
          name: name
          required: true
    - slot_conditions:
        pre_value:
          name: pre_value
          required: true
    - slot_conditions:
        post_value:
          name: post_value
          required: true
  description: 'OCSF at_least_one: at least one of [''name'', ''pre_value'', ''post_value'']
    must be

    set.'

Induced

name: Parameter
annotations:
  ocsf_constraints:
    tag: ocsf_constraints
    value: '{"at_least_one": ["name", "pre_value", "post_value"]}'
description: The Parameter object provides details regarding a parameter of a a function.
in_subset:
- objects_subset
from_schema: https://w3id.org/lmodel/ocsf
aliases:
- Parameter
is_a: Object
slot_usage:
  name:
    name: name
    description: The parameter name.
  post_value:
    name: post_value
    description: The parameter value after function execution.
  pre_value:
    name: pre_value
    description: The parameter value before function execution.
attributes:
  name:
    name: name
    description: The parameter name.
    from_schema: https://w3id.org/lmodel/ocsf
    aliases:
    - Name
    rank: 1000
    alias: name
    owner: Parameter
    domain_of:
    - AnalysisTarget
    - Observable
    - Os
    - Osint
    - Package
    - Parameter
    - PrivilegeInfo
    - San
    - Scim
    - Script
    - ServicePrivilegeAnalysis
    - SoftwareComponent
    - Sso
    - StartupItem
    - ThreatActor
    - Token
    - Entity
    - Resource
    - Account
    - Agent
    - AiModel
    - Aircraft
    - Analytic
    - ApplicationObject
    - Assessment
    - AutonomousSystem
    - Campaign
    - Check
    - CisBenchmark
    - CisBenchmarkResult
    - CisControl
    - ClassifierDetails
    - Container
    - D3fTactic
    - D3fTechnique
    - Database
    - Databucket
    - DomainContact
    - Edge
    - Endpoint
    - Enrichment
    - EnvironmentVariable
    - Evidences
    - Extension
    - Feature
    - File
    - Graph
    - Group
    - HttpCookie
    - HttpHeader
    - Idp
    - Image
    - Job
    - Kernel
    - KeyValueObject
    - LoadBalancer
    - Logger
    - Malware
    - ManagedEntity
    - MessageContext
    - Metric
    - Mitigation
    - NetworkInterface
    - Node
    - Organization
    - PeripheralDevice
    - Policy
    - ProcessEntity
    - Product
    - QueryInfo
    - Reporter
    - ResourceDetails
    - Rule
    - Scan
    - Service
    - SubTechnique
    - Table
    - Tactic
    - Technique
    - Trait
    - TransformationInfo
    - UnmannedAerialSystem
    - User
    - WebResource
    - Device
    - FtpActivity
    - RegValue
    - WinResource
    - WinService
    - PrefetchQuery
    range: string
  post_value:
    name: post_value
    description: The parameter value after function execution.
    from_schema: https://w3id.org/lmodel/ocsf
    aliases:
    - Post-Value
    rank: 1000
    alias: post_value
    owner: Parameter
    domain_of:
    - Parameter
    range: string
  pre_value:
    name: pre_value
    description: The parameter value before function execution.
    from_schema: https://w3id.org/lmodel/ocsf
    aliases:
    - Pre-Value
    rank: 1000
    alias: pre_value
    owner: Parameter
    domain_of:
    - Parameter
    range: string
rules:
- postconditions:
    any_of:
    - slot_conditions:
        name:
          name: name
          required: true
    - slot_conditions:
        pre_value:
          name: pre_value
          required: true
    - slot_conditions:
        post_value:
          name: post_value
          required: true
  description: 'OCSF at_least_one: at least one of [''name'', ''pre_value'', ''post_value'']
    must be

    set.'