Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

misc: comments

Sheen Capadngan2687661f4037
diff --git a/docs/documentation/platform/pki/applications/alerting/overview.mdx b/docs/documentation/platform/pki/applications/alerting/overview.mdx
index 6cd2f6484c..09249fba15 100644
--- a/docs/documentation/platform/pki/applications/alerting/overview.mdx
+++ b/docs/documentation/platform/pki/applications/alerting/overview.mdx
@@ -67,8 +67,9 @@ An expiration alert keeps notifying you about the same certificate until the cer
A **Signer Certificate Expiration** alert, in the **Code Signing** group, warns you before a [signer's](/documentation/platform/pki/code-signing/signers) current certificate expires. You can only create it as a Certificate Management alert. Otherwise, it works like a certificate expiration alert.
-Without filters, the alert covers every active signer under **Code Signing** > **Signers**. To cover only some signers, add a **Signers** filter in the **Filters** step and select up to 100 signers. If several signers share a certificate, the notification names only the selected ones.
+Without filters, the alert covers every active signer under **Code Signing** > **Signers**. To cover only some signers, add a **Signers** filter in the **Filters** step and select up to 100 signers. Signer alerts also differ from certificate alerts in these ways:
-If you delete a signer that the filter lists, the deleted signer stays in the filter and matches no certificates. When you edit the alert, the **Filters** step shows it as **Unknown signer**, so you can remove it.
-
-When you reissue a signer's certificate, the alert follows the new certificate and stops alerting on the one it replaced. The alert doesn't cover disabled, failed, or pending signers.
+- The alert doesn't cover disabled, failed, or pending signers
+- When you reissue a signer's certificate, the alert follows the new certificate and stops alerting on the one it replaced
+- If several signers share a certificate, the notification names only the ones the filter selects
+- If you delete a signer that the filter lists, the **Filters** step shows it as **Unknown signer** when you edit the alert, so you can remove it
diff --git a/docs/documentation/platform/pki/applications/alerting/webhook-alerts.mdx b/docs/documentation/platform/pki/applications/alerting/webhook-alerts.mdx
index 5c506405a4..d26b14de3f 100644
--- a/docs/documentation/platform/pki/applications/alerting/webhook-alerts.mdx
+++ b/docs/documentation/platform/pki/applications/alerting/webhook-alerts.mdx
@@ -92,7 +92,7 @@ To find out which kind of alert sent a request, read `data.alert.resourceType`:
- `cert-manager.application`: an application alert, with the application's ID in `data.alert.resourceId`
- `cert-manager`: a Certificate Management alert
-- `cert-manager.signer`: a signer certificate expiration alert, whose items list the signers in `resource.signerIds` and `resource.signerNames`. If the alert has a **Signers** filter, the items list only the selected signers.
+- `cert-manager.signer`: a signer certificate expiration alert, whose items list the signers in `resource.signerIds` and `resource.signerNames` (only the selected signers, if the alert has a **Signers** filter)
<Note>
Alerts created before certificate alerts moved to applications keep sending the older `com.infisical.pki.certificate.*` event types with a `data.certificates` list. If one endpoint receives both, check the `type` field to tell them apart.
diff --git a/frontend/src/pages/cert-manager/components/CertificateAlerts/CertificateFilterSelects.tsx b/frontend/src/pages/cert-manager/components/CertificateAlerts/CertificateFilterSelects.tsx
index 1729c43064..f7805e3692 100644
--- a/frontend/src/pages/cert-manager/components/CertificateAlerts/CertificateFilterSelects.tsx
+++ b/frontend/src/pages/cert-manager/components/CertificateAlerts/CertificateFilterSelects.tsx
@@ -28,7 +28,7 @@ const FilterCombobox = ({
isLoading,
onSearchChange,
placeholder
-}: Props & {
+}: Omit<Props, "projectId"> & {
kind: CertificateFilterKind;
options: TFilterOption[];
isLoading: boolean;
@@ -107,11 +107,11 @@ export const ProfileFilterSelect = (props: Props) => {
);
};
-export const SignerFilterSelect = (props: Props) => {
+export const SignerFilterSelect = ({ projectId, ...props }: Props) => {
const [search, setSearch] = useState("");
const [debouncedSearch] = useDebounce(search);
const { data, isPending } = useListSigners({
- projectId: props.projectId,
+ projectId,
limit: MAX_CERTIFICATE_ALERT_FILTER_IDS,
...(debouncedSearch ? { search: debouncedSearch } : {})
});