Attributes of the Grant manifest¶
Structure of the Grant manifest¶
name: test-user-runas-test-dev1
version: v1alpha
type: grant
layer: user
tags:
- governance
grant:
policy_use_case_id: run-as-user
subjects:
- users:id:test-user
values:
run-as-dataos-resource:
- path : ${valid-path}
requester: iamgroot
notes: the user test-user needs to runas the test-developer for data dev purposes
approve: false
manageAsUser: iamgroot
Attributes of Grant Resource¶
grant
¶
Description: Describes the permissions granted for the policy use case.
Data Type | Requirement | Default Value | Possible Value |
---|---|---|---|
mapping | required | none | Key-value pairs representing granted permissions |
Example usage:
policy-use-case-id
¶
Description: Identifier for the policy use case.
Data Type | Requirement | Default Value | Possible Value |
---|---|---|---|
string | required | none | inique identifier for the policy use case |
Example usage:
subjects
¶
Description: List of subjects represented as tags associated with the policy.
Data Type | Requirement | Default Value | Possible Value |
---|---|---|---|
list of strings | optional | none | list of subject identifiers |
Example usage:
values
¶
Description: List of values associated with the policy.
Data Type | Requirement | Default Value | Possible Value |
---|---|---|---|
list of mapping | optional | none | list of key-value pairs representing values |
Example usage:
path
¶
Description: Specifies the path value associated with the granted permission.
Data Type | Requirement | Default Value | Possible Value |
---|---|---|---|
string | optional | none | valid path string indicating the resource location |
Example usage:
approve
¶
Description: Indicates whether the policy is approved or not.
Data Type | Requirement | Default Value | Possible Value |
---|---|---|---|
boolean | required | false | true, false |
Example usage:
requester
Description: The user responsible for granting approval for access requests
Data Type | Requirement | Default Value | Possible Value |
---|---|---|---|
string | optional | none | unique identifier for the requester |
Example usage:
notes
¶
Description: Additional notes or comments for the policy.
Data Type | Requirement | Default Value | Possible Value |
---|---|---|---|
string | optional | none | textual notes or comments |
Example usage:
collection
¶
Description: Identifier for the collection associated with the policy.
Data Type | Requirement | Default Value | Possible Value |
---|---|---|---|
string | optional | none | unique identifier for the collection |
Example usage:
manageAsUser
¶
Description: When the manageAsUser
attribute is configured with the UserID of the use-case assignee, it grants the authority to perform operations on behalf of that user.
Data Type | Requirement | Default Value | Possible Value |
---|---|---|---|
string | optional | none | userid of the use-case assignee |
Example usage: