Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Add more opids
Fang-Pen Linf2797c05c55e
diff --git a/backend/src/ee/routes/v2/secret-rotation-v2-routers/secret-rotation-v2-endpoints.ts b/backend/src/ee/routes/v2/secret-rotation-v2-routers/secret-rotation-v2-endpoints.tsindex e6d7a50fe4..60bb32a60e 100644--- a/backend/src/ee/routes/v2/secret-rotation-v2-routers/secret-rotation-v2-endpoints.ts+++ b/backend/src/ee/routes/v2/secret-rotation-v2-routers/secret-rotation-v2-endpoints.ts@@ -58,6 +58,7 @@ export const registerSecretRotationEndpoints = <generatedCredentialsSchema: z.ZodTypeAny;}) => {const rotationType = SECRET_ROTATION_NAME_MAP[type];+ const rotationTypeId = rotationType.replace(/\s+/g, "");server.route({method: "GET",@@ -67,6 +68,7 @@ export const registerSecretRotationEndpoints = <},schema: {hide: false,+ operationId: `list${rotationTypeId}Rotations`,tags: [ApiDocsTags.SecretRotations],description: `List the ${rotationType} Rotations for the specified project.`,querystring: z.object({@@ -112,6 +114,7 @@ export const registerSecretRotationEndpoints = <},schema: {hide: false,+ operationId: `get${rotationTypeId}Rotation`,tags: [ApiDocsTags.SecretRotations],description: `Get the specified ${rotationType} Rotation by ID.`,params: z.object({@@ -156,6 +159,7 @@ export const registerSecretRotationEndpoints = <},schema: {hide: false,+ operationId: `get${rotationTypeId}RotationByName`,tags: [ApiDocsTags.SecretRotations],description: `Get the specified ${rotationType} Rotation by name, secret path, environment and project ID.`,params: z.object({@@ -222,6 +226,7 @@ export const registerSecretRotationEndpoints = <},schema: {hide: false,+ operationId: `create${rotationTypeId}Rotation`,tags: [ApiDocsTags.SecretRotations],description: `Create ${startsWithVowel(rotationType) ? "an" : "a"@@ -263,6 +268,7 @@ export const registerSecretRotationEndpoints = <},schema: {hide: false,+ operationId: `update${rotationTypeId}Rotation`,tags: [ApiDocsTags.SecretRotations],description: `Update the specified ${rotationType} Rotation.`,params: z.object({@@ -307,6 +313,7 @@ export const registerSecretRotationEndpoints = <},schema: {hide: false,+ operationId: `delete${rotationTypeId}Rotation`,tags: [ApiDocsTags.SecretRotations],description: `Delete the specified ${rotationType} Rotation.`,params: z.object({@@ -364,6 +371,7 @@ export const registerSecretRotationEndpoints = <},schema: {hide: false,+ operationId: `get${rotationTypeId}RotationGeneratedCredentials`,tags: [ApiDocsTags.SecretRotations],description: `Get the generated credentials for the specified ${rotationType} Rotation.`,params: z.object({@@ -419,6 +427,7 @@ export const registerSecretRotationEndpoints = <},schema: {hide: false,+ operationId: `rotate${rotationTypeId}Rotation`,tags: [ApiDocsTags.SecretRotations],description: `Rotate the generated credentials for the specified ${rotationType} Rotation.`,params: z.object({diff --git a/backend/src/ee/routes/v2/secret-rotation-v2-routers/secret-rotation-v2-router.ts b/backend/src/ee/routes/v2/secret-rotation-v2-routers/secret-rotation-v2-router.tsindex 58dd509786..d15d76fe82 100644--- a/backend/src/ee/routes/v2/secret-rotation-v2-routers/secret-rotation-v2-router.ts+++ b/backend/src/ee/routes/v2/secret-rotation-v2-routers/secret-rotation-v2-router.ts@@ -43,6 +43,7 @@ export const registerSecretRotationV2Router = async (server: FastifyZodProvider)},schema: {hide: false,+ operationId: "listSecretRotationOptions",tags: [ApiDocsTags.SecretRotations],description: "List the available Secret Rotation Options.",response: {@@ -66,6 +67,7 @@ export const registerSecretRotationV2Router = async (server: FastifyZodProvider)},schema: {hide: false,+ operationId: "listSecretRotations",tags: [ApiDocsTags.SecretRotations],description: "List all the Secret Rotations for the specified project.",querystring: z.object({diff --git a/backend/src/ee/routes/v2/secret-scanning-v2-routers/secret-scanning-v2-endpoints.ts b/backend/src/ee/routes/v2/secret-scanning-v2-routers/secret-scanning-v2-endpoints.tsindex 3a5c6b4d7c..eaa28d971d 100644--- a/backend/src/ee/routes/v2/secret-scanning-v2-routers/secret-scanning-v2-endpoints.ts+++ b/backend/src/ee/routes/v2/secret-scanning-v2-routers/secret-scanning-v2-endpoints.ts@@ -46,6 +46,7 @@ export const registerSecretScanningEndpoints = <responseSchema: z.ZodTypeAny;}) => {const sourceType = SECRET_SCANNING_DATA_SOURCE_NAME_MAP[type];+ const sourceTypeId = sourceType.replace(/\s+/g, "");server.route({method: "GET",@@ -55,6 +56,7 @@ export const registerSecretScanningEndpoints = <},schema: {hide: false,+ operationId: `list${sourceTypeId}DataSources`,tags: [ApiDocsTags.SecretScanning],description: `List the ${sourceType} Data Sources for the specified project.`,querystring: z.object({@@ -104,6 +106,7 @@ export const registerSecretScanningEndpoints = <},schema: {hide: false,+ operationId: `get${sourceTypeId}DataSource`,tags: [ApiDocsTags.SecretScanning],description: `Get the specified ${sourceType} Data Source by ID.`,params: z.object({@@ -140,12 +143,13 @@ export const registerSecretScanningEndpoints = <server.route({method: "GET",- url: `/data-source-name/:dataSourceName`,+ url: "/data-source-name/:sourceName",config: {rateLimit: readLimit},schema: {hide: false,+ operationId: `get${sourceTypeId}DataSourceByName`,tags: [ApiDocsTags.SecretScanning],description: `Get the specified ${sourceType} Data Source by name and project ID.`,params: z.object({@@ -200,6 +204,7 @@ export const registerSecretScanningEndpoints = <},schema: {hide: false,+ operationId: `create${sourceTypeId}DataSource`,tags: [ApiDocsTags.SecretScanning],description: `Create ${startsWithVowel(sourceType) ? "an" : "a"@@ -241,6 +246,7 @@ export const registerSecretScanningEndpoints = <},schema: {hide: false,+ operationId: `update${sourceTypeId}DataSource`,tags: [ApiDocsTags.SecretScanning],description: `Update the specified ${sourceType} Data Source.`,params: z.object({@@ -285,6 +291,7 @@ export const registerSecretScanningEndpoints = <},schema: {hide: false,+ operationId: `delete${sourceTypeId}DataSource`,tags: [ApiDocsTags.SecretScanning],description: `Delete the specified ${sourceType} Data Source.`,params: z.object({@@ -327,6 +334,7 @@ export const registerSecretScanningEndpoints = <},schema: {hide: false,+ operationId: `trigger${sourceTypeId}DataSourceScan`,tags: [ApiDocsTags.SecretScanning],description: `Trigger a scan for the specified ${sourceType} Data Source.`,params: z.object({@@ -369,6 +377,7 @@ export const registerSecretScanningEndpoints = <},schema: {hide: false,+ operationId: `trigger${sourceTypeId}DataSourceResourceScan`,tags: [ApiDocsTags.SecretScanning],description: `Trigger a scan for the specified ${sourceType} Data Source resource.`,params: z.object({@@ -413,6 +422,7 @@ export const registerSecretScanningEndpoints = <},schema: {hide: false,+ operationId: `list${sourceTypeId}DataSourceResources`,tags: [ApiDocsTags.SecretScanning],description: `Get the resources associated with the specified ${sourceType} Data Source by ID.`,params: z.object({@@ -457,6 +467,7 @@ export const registerSecretScanningEndpoints = <},schema: {hide: false,+ operationId: `list${sourceTypeId}DataSourceScans`,tags: [ApiDocsTags.SecretScanning],description: `Get the scans associated with the specified ${sourceType} Data Source by ID.`,params: z.object({@@ -500,6 +511,7 @@ export const registerSecretScanningEndpoints = <rateLimit: readLimit},schema: {+ operationId: `list${sourceTypeId}DataSourceResourcesDashboard`,tags: [ApiDocsTags.SecretScanning],params: z.object({dataSourceId: z.string().uuid()@@ -550,6 +562,7 @@ export const registerSecretScanningEndpoints = <rateLimit: readLimit},schema: {+ operationId: `list${sourceTypeId}DataSourceScansDashboard`,tags: [ApiDocsTags.SecretScanning],params: z.object({dataSourceId: z.string().uuid()diff --git a/backend/src/ee/routes/v2/secret-scanning-v2-routers/secret-scanning-v2-router.ts b/backend/src/ee/routes/v2/secret-scanning-v2-routers/secret-scanning-v2-router.tsindex e22b9afe20..6ec1998197 100644--- a/backend/src/ee/routes/v2/secret-scanning-v2-routers/secret-scanning-v2-router.ts+++ b/backend/src/ee/routes/v2/secret-scanning-v2-routers/secret-scanning-v2-router.ts@@ -38,6 +38,7 @@ export const registerSecretScanningV2Router = async (server: FastifyZodProvider)},schema: {hide: false,+ operationId: "listSecretScanningDataSourceOptions",tags: [ApiDocsTags.SecretScanning],description: "List the available Secret Scanning Data Source Options.",response: {@@ -61,6 +62,7 @@ export const registerSecretScanningV2Router = async (server: FastifyZodProvider)},schema: {hide: false,+ operationId: "listSecretScanningDataSources",tags: [ApiDocsTags.SecretScanning],description: "List all the Secret Scanning Data Sources for the specified project.",querystring: z.object({@@ -106,6 +108,7 @@ export const registerSecretScanningV2Router = async (server: FastifyZodProvider)},schema: {hide: false,+ operationId: "listSecretScanningFindings",tags: [ApiDocsTags.SecretScanning],description: "List all the Secret Scanning Findings for the specified project.",querystring: z.object({@@ -151,6 +154,7 @@ export const registerSecretScanningV2Router = async (server: FastifyZodProvider)},schema: {hide: false,+ operationId: "updateSecretScanningFinding",tags: [ApiDocsTags.SecretScanning],description: "Update the specified Secret Scanning Finding.",params: z.object({@@ -201,6 +205,7 @@ export const registerSecretScanningV2Router = async (server: FastifyZodProvider)},schema: {hide: false,+ operationId: "updateSecretScanningFindingsBatch",tags: [ApiDocsTags.SecretScanning],description: "Update one or more Secret Scanning Findings in a batch.",body: z@@ -251,6 +256,7 @@ export const registerSecretScanningV2Router = async (server: FastifyZodProvider)},schema: {hide: false,+ operationId: "getSecretScanningConfig",tags: [ApiDocsTags.SecretScanning],description: "Get the Secret Scanning Config for the specified project.",querystring: z.object({@@ -295,6 +301,7 @@ export const registerSecretScanningV2Router = async (server: FastifyZodProvider)},schema: {hide: false,+ operationId: "updateSecretScanningConfig",tags: [ApiDocsTags.SecretScanning],description: "Update the specified Secret Scanning Configuration.",querystring: z.object({@@ -341,6 +348,7 @@ export const registerSecretScanningV2Router = async (server: FastifyZodProvider)rateLimit: readLimit},schema: {+ operationId: "listSecretScanningDataSourcesDashboard",querystring: z.object({projectId: z.string().trim().min(1, "Project ID required")}),@@ -395,6 +403,7 @@ export const registerSecretScanningV2Router = async (server: FastifyZodProvider)rateLimit: readLimit},schema: {+ operationId: "getSecretScanningUnresolvedFindingsCount",tags: [ApiDocsTags.SecretScanning],querystring: z.object({projectId: z.string().trim().min(1, "Project ID required").describe(SecretScanningFindings.LIST.projectId)