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
Merge branch 'main' into feat/pki-applications-rework
Carlos Monastyrskie34d50b0ed69
diff --cc .infisicalignoreindex 4b65726568,968aba1191..a9cb5743a1--- a/.infisicalignore+++ b/.infisicalignore@@@ -62,5 -62,3 +62,6 @@@ backend/src/services/certificate-requesdocs/documentation/platform/pki/enrollment-methods/api.mdx:private-key:142backend/src/lib/crypto/pqc/index.ts:private-key:35backend/src/ee/services/honey-token/honey-token-service.ts:generic-api-key:49++docs/integrations/app-connections/ovh.mdx:private-key:84++docs/integrations/app-connections/datadog.mdx:generic-api-key:161diff --cc backend/src/ee/routes/v1/pki-discovery-router.tsindex 1fa696aaab,91d2c28049..6ddf921004--- a/backend/src/ee/routes/v1/pki-discovery-router.ts+++ b/backend/src/ee/routes/v1/pki-discovery-router.ts@@@ -74,20 -74,31 +74,31 @@@ export const registerPkiDiscoveryRoutetags: [ApiDocsTags.PkiDiscovery],operationId: "createPkiDiscovery",description: "Create a new PKI discovery configuration",- body: z.object({- projectId: z.string().optional().describe(openApiHidden()),- name: slugSchema({ field: "Name", max: 100 }).describe("Name of the discovery configuration"),- description: z.string().max(500).optional().describe("Description of the discovery configuration"),- discoveryType: z- .nativeEnum(PkiDiscoveryType)- .optional()- .default(PkiDiscoveryType.Network)- .describe("Type of discovery scan"),- targetConfig: NetworkTargetConfigSchema.describe("Target configuration for discovery scans"),- isAutoScanEnabled: z.boolean().optional().default(false).describe("Enable automatic scheduled scans"),- scanIntervalDays: z.number().min(1).max(365).optional().describe("Interval in days between automatic scans"),- gatewayId: z.string().uuid().optional().describe("Gateway ID for scanning private networks")- }),+ body: z+ .object({- projectId: z.string().describe("The ID of the project"),++ projectId: z.string().optional().describe(openApiHidden()),+ name: slugSchema({ field: "Name", max: 100 }).describe("Name of the discovery configuration"),+ description: z.string().max(500).optional().describe("Description of the discovery configuration"),+ discoveryType: z+ .nativeEnum(PkiDiscoveryType)+ .optional()+ .default(PkiDiscoveryType.Network)+ .describe("Type of discovery scan"),+ targetConfig: NetworkTargetConfigSchema.describe("Target configuration for discovery scans"),+ isAutoScanEnabled: z.boolean().optional().default(false).describe("Enable automatic scheduled scans"),+ scanIntervalDays: z.number().min(1).max(365).optional().describe("Interval in days between automatic scans"),+ gatewayId: z.string().uuid().optional().describe("Gateway ID for scanning private networks"),+ gatewayPoolId: z.string().uuid().optional().describe("Gateway pool ID for scanning private networks")+ })+ .superRefine((data, ctx) => {+ if (data.gatewayId && data.gatewayPoolId) {+ ctx.addIssue({+ path: ["gatewayPoolId"],+ code: z.ZodIssueCode.custom,+ message: "Cannot specify both a gateway and a gateway pool"+ });+ }+ }),response: {200: PkiDiscoveryConfigsSchema}