Skip to main content

AccessPolicyV2

ResourceHaste Health

A set of rules that govern how a system resource is accessed and used.

Tested supportFull test results →
Backends
PostgreSQLElasticsearch
Interactions
CreateReadUpdatePatchDelete
Search
3 of 3 parameters tested

Structure​

ElementCard.TypeDescription
nameRequired
1..1stringThe name of the access policy.
description
0..1stringDescription of the access policy.
engineRequired
1..1codeThe type of evaluation that is performed to determine if access is granted or denied.Binding (required): AccessPolicyEngineV2
attribute
0..15BackboneElementAttributes to use for the policy evaluation.
attributeIdRequired
1..1idThe id of the attribute referenced using %attributeId in expressions.
operation
0..1BackboneElementThe operation to retrieve the attribute.
typeRequired
1..1codeThe operation to retrieve the attribute.Binding (required): AccessPolicyAttributeOperationTypes
path
0..1ExpressionThe operation to retrieve the attribute.
params
0..1ExpressionThe operation to retrieve the attribute.
rule
0..*BackboneElementThe rules that govern how the access policy is applied.
nameRequired
1..1stringAccess Policy rule identifier.
description
0..1stringRule description
combineBehavior
0..1codeDetermine wether to use and/or to combine rules.Binding (required): AccessPolicyV2CombineBehavior
effect
0..1codeDetermine whether to evaluate the rule.Binding (required): AccessPolicyV2RuleEffect
target
0..1BackboneElementDetermine whether to evaluate the rule.
expressionRequired
1..1ExpressionDetermine whether to evaluate the rule.
condition
0..1BackboneElementCondition to evaluate determining whether pass/deny.
expressionRequired
1..1ExpressionCondition expression to evaluate determining whether pass/deny.
rule
0..*Same as AccessPolicyV2.ruleNested rules
target
0..*BackboneElementDeprecated: use AccessPolicyV2Assignment. Who the access policy applies to.

Σ in _summary results · ?! modifier element · 1.. required · inherited elements in grey

Search parameters​

Query with GET [base]/AccessPolicyV2?[parameter]=[value]. Type decides which modifiers and prefixes apply, see search features.

ParameterTypeDescriptionPGES
enginetoken

An access policies engine.

AccessPolicyV2.engine
namestring

An access policies name.

AccessPolicyV2.name

PG: PostgreSQL, ES: Elasticsearch. passes its TestScript checks, fails, not tested yet.

Common parameters on every resource (8)
_haste-health-authorreference

The author of the resource

_idtoken

Logical id of this artifact

_lastUpdateddate

When the resource version last changed

_profileuri

Profiles this resource claims to conform to

_securitytoken

Security Labels applied to this resource

_sourceuri

Identifies where the resource comes from

_tagtoken

Tags applied to this resource

_typetoken

Derived from the R4B Definition