Enum openc2::Action [] [src]

pub enum Action {
    Scan,
    Locate,
    Query,
    Report,
    Notify,
    Deny,
    Contain,
    Allow,
    Start,
    Stop,
    Restart,
    Pause,
    Resume,
    Cancel,
    Set,
    Update,
    Move,
    Redirect,
    Create,
    Delete,
    Snapshot,
    Detonate,
    Restore,
    Save,
    Throttle,
    Delay,
    Substitute,
    Copy,
    Sync,
    Investigate,
    Mitigate,
    Remediate,
    // some variants omitted
}

The task or activity to be performed.

To support future extension of the OpenC2 language, this enum has a hidden variant that prevents exhaustive matching.

Variants

The ‘scan’ action is the systematic examination of some aspect of the entity or its environment in order to obtain information.

The ‘locate’ action is used to find an object either physically, logically, functionally, or by organization.

The ‘query’ action initiates a single request for information.

The ‘report’ action tasks an entity to provide information to a designated recipient of the information.

The ‘notify’ action is used to set an entity's alerting preferences.

Methods

impl Action
[src]

[src]

Whether this action is used to gather information needed to determine the current state or enhance cyber situational awareness.

[src]

Whether this action is used to control traffic flow and file permissions (e.g., allow/deny).

[src]

Whether this action is used to control the state or the activity of a system, a process, a connection, a host, or a device. The actions are used to execute tasks, adjust configurations, set and update parameters, and modify attributes.

[src]

Whether this action is an effect-based action.

Effects-based actions are at a higher level of abstraction for purposes of communicating a desired impact rather than a command to execute specific tasks. This level of abstraction enables coordinated actions between enclaves, while permitting a local enclave to optimize its workflow for its specific environment. Effects-based action assumes that the recipient enclave has a decision-making capability because effects-based actions typically do not have a one-to-one mapping to the other actions.

Trait Implementations

impl Debug for Action
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Action
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for Action
[src]

impl Hash for Action
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Clone for Action
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Action

impl Sync for Action