BSL v0.0.0
AMMOS Bundle Protocol Security Library (BSL)
Loading...
Searching...
No Matches
BSLP_PolicyRule_s Struct Reference

Represents a policy rule. More...

#include <SamplePolicyProvider.h>

+ Collaboration diagram for BSLP_PolicyRule_s:

Data Fields

BSL_StaticString_t description
 
BSLP_PolicyPredicate_tpredicate
 
BSL_SecRole_e role
 
BSL_BundleBlockTypeCode_e target_block_type
 
BSL_SecBlockType_e sec_block_type
 
uint64_t context_id
 
BSL_SecParam_tparams
 
size_t nparams
 
BSL_PolicyAction_e failure_action_code
 

Detailed Description

Represents a policy rule.

A policy rule contains parameters and other metadata necessary to create populated Security Operations for a given bundle.

It first contains a predicate, which is used to identify whether this rule applies to a given bundle.

It then uses the other fields to create and populate security operations with details (type, role, parameter values, etc.)

Definition at line 93 of file SamplePolicyProvider.h.

Field Documentation

◆ context_id

uint64_t BSLP_PolicyRule_s::context_id

Definition at line 100 of file SamplePolicyProvider.h.

◆ description

BSL_StaticString_t BSLP_PolicyRule_s::description

Definition at line 95 of file SamplePolicyProvider.h.

◆ failure_action_code

BSL_PolicyAction_e BSLP_PolicyRule_s::failure_action_code

Definition at line 103 of file SamplePolicyProvider.h.

◆ nparams

size_t BSLP_PolicyRule_s::nparams

Definition at line 102 of file SamplePolicyProvider.h.

◆ params

BSL_SecParam_t* BSLP_PolicyRule_s::params

Definition at line 101 of file SamplePolicyProvider.h.

◆ predicate

BSLP_PolicyPredicate_t* BSLP_PolicyRule_s::predicate

Definition at line 96 of file SamplePolicyProvider.h.

◆ role

BSL_SecRole_e BSLP_PolicyRule_s::role

Definition at line 97 of file SamplePolicyProvider.h.

◆ sec_block_type

BSL_SecBlockType_e BSLP_PolicyRule_s::sec_block_type

Definition at line 99 of file SamplePolicyProvider.h.

◆ target_block_type

BSL_BundleBlockTypeCode_e BSLP_PolicyRule_s::target_block_type

Definition at line 98 of file SamplePolicyProvider.h.


The documentation for this struct was generated from the following file: