feat: add targets field to Policy type for policy assignment tracking
Add optional targets array to Policy type containing type and id fields to support tracking policy assignments to users and groups.
This commit is contained in:
@@ -53,6 +53,10 @@ export type Policy = {
|
|||||||
full_tunnel: boolean;
|
full_tunnel: boolean;
|
||||||
is_active: boolean;
|
is_active: boolean;
|
||||||
destinations?: string[];
|
destinations?: string[];
|
||||||
|
targets?: Array<{
|
||||||
|
type: string;
|
||||||
|
id: string;
|
||||||
|
}>;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type Gateway = {
|
export type Gateway = {
|
||||||
|
|||||||
Reference in New Issue
Block a user