Access Type

Permissions

Attributes:

effect: “allow” or “deny”
Indicates whether the permission allows or denies the specified actions.
action: List[str]
List of actions that are allowed or denied.
resource: List[str]
List of resources to which the actions apply.

AccessCreateInfo

Attributes:

name: str
Name of the access policy.
permissions: List[Permissions]
List of permissions assigned to this access policy.
targets: List[Any]
List of targets (users, devices, etc.) that this access policy applies to.
profile: Optional[GenericID]
Profile ID associated with this access policy.
tags: Optional[List[TagsObj]]
List of tags for categorization or filtering.
active: Optional[bool]
Indicates if the access policy is active.

AccessInfo(AccessCreateInfo)

Attributes:

Unique identifier for the access policy.
created_at: datetime
Date and time when the access policy was created.
updated_at: datetime
Date and time when the access policy was last updated.

AccessQuery(Query)

Attributes:

fields: Optional[List[“name” or “active” or “created_at” or “updated_at”]]
List of fields to include in the query results.