Complete preliminary ssh host group feature

This commit is contained in:
Tuan Dang
2025-04-30 18:14:31 -07:00
parent b06eeb0d40
commit b21b0b340b
46 changed files with 561 additions and 94 deletions
+6
View File
@@ -1,3 +1,8 @@
export enum LoginMappingSource {
HOST = "host",
HOST_GROUP = "hostGroup"
}
export type TSshHost = {
id: string;
projectId: string;
@@ -10,6 +15,7 @@ export type TSshHost = {
allowedPrincipals: {
usernames: string[];
};
source: LoginMappingSource;
}[];
};
+1 -1
View File
@@ -39,7 +39,7 @@ export type TDeleteSshHostGroupDTO = {
};
export type TListSshHostGroupHostsResponse = {
hosts: TSshHost[];
hosts: TSshHost & { joinedGroupAt: string; isPartOfGroup: boolean }[];
totalCount: number;
};
@@ -24,6 +24,7 @@ export type SubscriptionPlan = {
workspacesUsed: number;
environmentLimit: number;
samlSSO: boolean;
sshHostGroups: boolean;
secretAccessInsights: boolean;
hsm: boolean;
oidcSSO: boolean;