Skip to content

Class: View

A view in CAPEC represents a perspective with which one might look at the collection

of attack patterns defined within CAPEC. There are three different types of views as

defined by the Type attribute: graphs, explicit slices, and implicit slices.

URI: capec:View

 classDiagram
    class View
    click View href "../View/"
      View : audience





        View --> "*" Stakeholder : audience
        click Stakeholder href "../Stakeholder/"



      View : content_history





        View --> "0..1" ContentHistory : content_history
        click ContentHistory href "../ContentHistory/"



      View : filter

      View : id

      View : members





        View --> "0..1" Relationships : members
        click Relationships href "../Relationships/"



      View : name

      View : notes





        View --> "*" Note : notes
        click Note href "../Note/"



      View : objective

      View : references





        View --> "*" Reference : references
        click Reference href "../Reference/"



      View : status





        View --> "1" StatusEnum : status
        click StatusEnum href "../StatusEnum/"



      View : type





        View --> "1" ViewTypeEnum : type
        click ViewTypeEnum href "../ViewTypeEnum/"



Slots

Name Cardinality and Range Description Inheritance
id 1
Integer
Unique integer identifier for the entry direct
name 1
String
Descriptive title used to give the reader an idea of what the entry represent... direct
status 1
StatusEnum
The development and usage status level for this entry direct
type 1
ViewTypeEnum
Describes how this view is constructed direct
notes *
Note
Additional comments and notes about this entry that cannot be captured using ... direct
content_history 0..1
ContentHistory
Tracks the original author of this entry and any subsequent modifications to ... direct
references *
Reference
Links to external references for further reading and insight into this entry direct
objective 1
StructuredText
Describes the perspective from which this view has been constructed and what ... direct
audience *
Stakeholder
Reference to the target stakeholders or groups for whom this view is most rel... direct
members 0..1
Relationships
The members of this view, defined via Member_Of and Has_Member relationships ... direct
filter 0..1
String
An XSL query used to identify which attack patterns are members of this view direct

Usages

used by used in type used
AttackPatternCatalog views range View

In Subsets

Identifier and Mapping Information

Annotations

property value
xsd_type ViewType
notes Members of a view are either defined externally through Member_Of relationships (for graphs and explicit slices) or by the optional Filter element as an XSL query (for implicit slices).

Schema Source

  • from schema: https://w3id.org/lmodel/capec

Mappings

Mapping Type Mapped Value
self capec:View
native capec:View

LinkML Source

Direct

name: View
annotations:
  xsd_type:
    tag: xsd_type
    value: ViewType
  notes:
    tag: notes
    value: Members of a view are either defined externally through Member_Of relationships
      (for graphs and explicit slices) or by the optional Filter element as an XSL
      query (for implicit slices).
description: 'A view in CAPEC represents a perspective with which one might look at
  the collection

  of attack patterns defined within CAPEC. There are three different types of views
  as

  defined by the Type attribute: graphs, explicit slices, and implicit slices.'
in_subset:
- catalog_entries
from_schema: https://w3id.org/lmodel/capec
slots:
- id
- name
- status
- type
- notes
- content_history
- references
- objective
- audience
- members
- filter
slot_usage:
  type:
    name: type
    annotations:
      xsd_attribute:
        tag: xsd_attribute
        value: Type
    description: Describes how this view is constructed. Please refer to ViewTypeEnum
      for a list of valid values and their meanings.
    range: ViewTypeEnum
    required: true
  objective:
    name: objective
    annotations:
      xsd_element:
        tag: xsd_element
        value: Objective
      xsd_type:
        tag: xsd_type
        value: StructuredTextType
    description: Describes the perspective from which this view has been constructed
      and what purpose it serves for its intended audience.
    range: StructuredText
    required: true
  audience:
    name: audience
    annotations:
      xsd_element:
        tag: xsd_element
        value: Audience/Stakeholder
      xsd_type:
        tag: xsd_type
        value: AudienceType
    description: Reference to the target stakeholders or groups for whom this view
      is most relevant, along with descriptions of what properties they may find useful.
    range: Stakeholder
    multivalued: true
    inlined_as_list: true
  members:
    name: members
    annotations:
      xsd_element:
        tag: xsd_element
        value: Members
      xsd_type:
        tag: xsd_type
        value: RelationshipsType
    description: The members of this view, defined via Member_Of and Has_Member relationships
      (applicable to graph and explicit slice view types).
    range: Relationships
    inlined: true
  filter:
    name: filter
    annotations:
      xsd_element:
        tag: xsd_element
        value: Filter
      xsd_type:
        tag: xsd_type
        value: xs:string
    description: An XSL query used to identify which attack patterns are members of
      this view. Only applicable to implicit slice view types.
    range: string

Induced

name: View
annotations:
  xsd_type:
    tag: xsd_type
    value: ViewType
  notes:
    tag: notes
    value: Members of a view are either defined externally through Member_Of relationships
      (for graphs and explicit slices) or by the optional Filter element as an XSL
      query (for implicit slices).
description: 'A view in CAPEC represents a perspective with which one might look at
  the collection

  of attack patterns defined within CAPEC. There are three different types of views
  as

  defined by the Type attribute: graphs, explicit slices, and implicit slices.'
in_subset:
- catalog_entries
from_schema: https://w3id.org/lmodel/capec
slot_usage:
  type:
    name: type
    annotations:
      xsd_attribute:
        tag: xsd_attribute
        value: Type
    description: Describes how this view is constructed. Please refer to ViewTypeEnum
      for a list of valid values and their meanings.
    range: ViewTypeEnum
    required: true
  objective:
    name: objective
    annotations:
      xsd_element:
        tag: xsd_element
        value: Objective
      xsd_type:
        tag: xsd_type
        value: StructuredTextType
    description: Describes the perspective from which this view has been constructed
      and what purpose it serves for its intended audience.
    range: StructuredText
    required: true
  audience:
    name: audience
    annotations:
      xsd_element:
        tag: xsd_element
        value: Audience/Stakeholder
      xsd_type:
        tag: xsd_type
        value: AudienceType
    description: Reference to the target stakeholders or groups for whom this view
      is most relevant, along with descriptions of what properties they may find useful.
    range: Stakeholder
    multivalued: true
    inlined_as_list: true
  members:
    name: members
    annotations:
      xsd_element:
        tag: xsd_element
        value: Members
      xsd_type:
        tag: xsd_type
        value: RelationshipsType
    description: The members of this view, defined via Member_Of and Has_Member relationships
      (applicable to graph and explicit slice view types).
    range: Relationships
    inlined: true
  filter:
    name: filter
    annotations:
      xsd_element:
        tag: xsd_element
        value: Filter
      xsd_type:
        tag: xsd_type
        value: xs:string
    description: An XSL query used to identify which attack patterns are members of
      this view. Only applicable to implicit slice view types.
    range: string
attributes:
  id:
    name: id
    annotations:
      xsd_attribute:
        tag: xsd_attribute
        value: ID
      xsd_type:
        tag: xsd_type
        value: xs:integer
    description: Unique integer identifier for the entry. Considered static for the
      lifetime of the entry. If an entry becomes deprecated, the identifier is not
      reused and a placeholder is left in the catalog.
    from_schema: https://w3id.org/lmodel/capec
    rank: 1000
    identifier: true
    alias: id
    owner: View
    domain_of:
    - AttackPattern
    - Category
    - View
    range: integer
    required: true
  name:
    name: name
    annotations:
      xsd_attribute:
        tag: xsd_attribute
        value: Name
    description: Descriptive title used to give the reader an idea of what the entry
      represents. All words in the name should be capitalized except for articles
      and prepositions unless they begin or end the name.
    from_schema: https://w3id.org/lmodel/capec
    rank: 1000
    alias: name
    owner: View
    domain_of:
    - AttackPatternCatalog
    - AttackPattern
    - Category
    - View
    - PreviousEntryName
    range: string
    required: true
  status:
    name: status
    annotations:
      xsd_attribute:
        tag: xsd_attribute
        value: Status
    description: The development and usage status level for this entry. Please refer
      to the StatusEnum enumeration for a list of valid values and their meanings.
    from_schema: https://w3id.org/lmodel/capec
    rank: 1000
    alias: status
    owner: View
    domain_of:
    - AttackPattern
    - Category
    - View
    range: StatusEnum
    required: true
  type:
    name: type
    annotations:
      xsd_attribute:
        tag: xsd_attribute
        value: Type
    description: Describes how this view is constructed. Please refer to ViewTypeEnum
      for a list of valid values and their meanings.
    from_schema: https://w3id.org/lmodel/capec
    rank: 1000
    alias: type
    owner: View
    domain_of:
    - View
    - Note
    - Stakeholder
    - Contribution
    range: ViewTypeEnum
    required: true
  notes:
    name: notes
    description: Additional comments and notes about this entry that cannot be captured
      using the other available elements.
    from_schema: https://w3id.org/lmodel/capec
    rank: 1000
    alias: notes
    owner: View
    domain_of:
    - AttackPattern
    - Category
    - View
    range: Note
    multivalued: true
    inlined: true
    inlined_as_list: true
  content_history:
    name: content_history
    description: Tracks the original author of this entry and any subsequent modifications
      to the content, providing a means of contacting authors and modifiers.
    from_schema: https://w3id.org/lmodel/capec
    rank: 1000
    alias: content_history
    owner: View
    domain_of:
    - AttackPattern
    - Category
    - View
    range: ContentHistory
    inlined: true
  references:
    name: references
    description: Links to external references for further reading and insight into
      this entry. Should be used when the entry is based on external sources or projects.
    from_schema: https://w3id.org/lmodel/capec
    rank: 1000
    alias: references
    owner: View
    domain_of:
    - AttackPattern
    - Category
    - View
    range: Reference
    multivalued: true
    inlined: true
    inlined_as_list: true
  objective:
    name: objective
    annotations:
      xsd_element:
        tag: xsd_element
        value: Objective
      xsd_type:
        tag: xsd_type
        value: StructuredTextType
    description: Describes the perspective from which this view has been constructed
      and what purpose it serves for its intended audience.
    from_schema: https://w3id.org/lmodel/capec
    rank: 1000
    alias: objective
    owner: View
    domain_of:
    - View
    range: StructuredText
    required: true
  audience:
    name: audience
    annotations:
      xsd_element:
        tag: xsd_element
        value: Audience/Stakeholder
      xsd_type:
        tag: xsd_type
        value: AudienceType
    description: Reference to the target stakeholders or groups for whom this view
      is most relevant, along with descriptions of what properties they may find useful.
    from_schema: https://w3id.org/lmodel/capec
    rank: 1000
    alias: audience
    owner: View
    domain_of:
    - View
    range: Stakeholder
    multivalued: true
    inlined: true
    inlined_as_list: true
  members:
    name: members
    annotations:
      xsd_element:
        tag: xsd_element
        value: Members
      xsd_type:
        tag: xsd_type
        value: RelationshipsType
    description: The members of this view, defined via Member_Of and Has_Member relationships
      (applicable to graph and explicit slice view types).
    from_schema: https://w3id.org/lmodel/capec
    rank: 1000
    alias: members
    owner: View
    domain_of:
    - View
    range: Relationships
    inlined: true
  filter:
    name: filter
    annotations:
      xsd_element:
        tag: xsd_element
        value: Filter
      xsd_type:
        tag: xsd_type
        value: xs:string
    description: An XSL query used to identify which attack patterns are members of
      this view. Only applicable to implicit slice view types.
    from_schema: https://w3id.org/lmodel/capec
    rank: 1000
    alias: filter
    owner: View
    domain_of:
    - View
    range: string