mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 19:16:22 +00:00
Complete preliminary ssh host group feature
This commit is contained in:
@@ -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;
|
||||
}[];
|
||||
};
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user