mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 09:26:47 +00:00
Merge pull request #2072 from Infisical/misc/removed-webhook-url-from-audit-logs-table
misc: removed webhook url from audit logs table
This commit is contained in:
@@ -771,7 +771,6 @@ interface CreateWebhookEvent {
|
|||||||
webhookId: string;
|
webhookId: string;
|
||||||
environment: string;
|
environment: string;
|
||||||
secretPath: string;
|
secretPath: string;
|
||||||
webhookUrl: string;
|
|
||||||
isDisabled: boolean;
|
isDisabled: boolean;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -782,7 +781,6 @@ interface UpdateWebhookStatusEvent {
|
|||||||
webhookId: string;
|
webhookId: string;
|
||||||
environment: string;
|
environment: string;
|
||||||
secretPath: string;
|
secretPath: string;
|
||||||
webhookUrl: string;
|
|
||||||
isDisabled: boolean;
|
isDisabled: boolean;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -793,7 +791,6 @@ interface DeleteWebhookEvent {
|
|||||||
webhookId: string;
|
webhookId: string;
|
||||||
environment: string;
|
environment: string;
|
||||||
secretPath: string;
|
secretPath: string;
|
||||||
webhookUrl: string;
|
|
||||||
isDisabled: boolean;
|
isDisabled: boolean;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -81,8 +81,7 @@ export const registerWebhookRouter = async (server: FastifyZodProvider) => {
|
|||||||
environment: webhook.environment.slug,
|
environment: webhook.environment.slug,
|
||||||
webhookId: webhook.id,
|
webhookId: webhook.id,
|
||||||
isDisabled: webhook.isDisabled,
|
isDisabled: webhook.isDisabled,
|
||||||
secretPath: webhook.secretPath,
|
secretPath: webhook.secretPath
|
||||||
webhookUrl: webhook.url
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -131,8 +130,7 @@ export const registerWebhookRouter = async (server: FastifyZodProvider) => {
|
|||||||
environment: webhook.environment.slug,
|
environment: webhook.environment.slug,
|
||||||
webhookId: webhook.id,
|
webhookId: webhook.id,
|
||||||
isDisabled: webhook.isDisabled,
|
isDisabled: webhook.isDisabled,
|
||||||
secretPath: webhook.secretPath,
|
secretPath: webhook.secretPath
|
||||||
webhookUrl: webhook.url
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -171,8 +169,7 @@ export const registerWebhookRouter = async (server: FastifyZodProvider) => {
|
|||||||
environment: webhook.environment.slug,
|
environment: webhook.environment.slug,
|
||||||
webhookId: webhook.id,
|
webhookId: webhook.id,
|
||||||
isDisabled: webhook.isDisabled,
|
isDisabled: webhook.isDisabled,
|
||||||
secretPath: webhook.secretPath,
|
secretPath: webhook.secretPath
|
||||||
webhookUrl: webhook.url
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -362,7 +362,6 @@ interface CreateWebhookEvent {
|
|||||||
webhookId: string;
|
webhookId: string;
|
||||||
environment: string;
|
environment: string;
|
||||||
secretPath: string;
|
secretPath: string;
|
||||||
webhookUrl: string;
|
|
||||||
isDisabled: boolean;
|
isDisabled: boolean;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -373,7 +372,6 @@ interface UpdateWebhookStatusEvent {
|
|||||||
webhookId: string;
|
webhookId: string;
|
||||||
environment: string;
|
environment: string;
|
||||||
secretPath: string;
|
secretPath: string;
|
||||||
webhookUrl: string;
|
|
||||||
isDisabled: boolean;
|
isDisabled: boolean;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -384,7 +382,6 @@ interface DeleteWebhookEvent {
|
|||||||
webhookId: string;
|
webhookId: string;
|
||||||
environment: string;
|
environment: string;
|
||||||
secretPath: string;
|
secretPath: string;
|
||||||
webhookUrl: string;
|
|
||||||
isDisabled: boolean;
|
isDisabled: boolean;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -243,7 +243,6 @@ export const LogsTableRow = ({ auditLog }: Props) => {
|
|||||||
<Td>
|
<Td>
|
||||||
<p>{`Environment: ${event.metadata.environment}`}</p>
|
<p>{`Environment: ${event.metadata.environment}`}</p>
|
||||||
<p>{`Secret path: ${event.metadata.secretPath}`}</p>
|
<p>{`Secret path: ${event.metadata.secretPath}`}</p>
|
||||||
<p>{`Webhook URL: ${event.metadata.webhookUrl}`}</p>
|
|
||||||
<p>{`Disabled: ${event.metadata.isDisabled}`}</p>
|
<p>{`Disabled: ${event.metadata.isDisabled}`}</p>
|
||||||
</Td>
|
</Td>
|
||||||
);
|
);
|
||||||
@@ -252,7 +251,6 @@ export const LogsTableRow = ({ auditLog }: Props) => {
|
|||||||
<Td>
|
<Td>
|
||||||
<p>{`Environment: ${event.metadata.environment}`}</p>
|
<p>{`Environment: ${event.metadata.environment}`}</p>
|
||||||
<p>{`Secret path: ${event.metadata.secretPath}`}</p>
|
<p>{`Secret path: ${event.metadata.secretPath}`}</p>
|
||||||
<p>{`Webhook URL: ${event.metadata.webhookUrl}`}</p>
|
|
||||||
<p>{`Disabled: ${event.metadata.isDisabled}`}</p>
|
<p>{`Disabled: ${event.metadata.isDisabled}`}</p>
|
||||||
</Td>
|
</Td>
|
||||||
);
|
);
|
||||||
@@ -261,7 +259,6 @@ export const LogsTableRow = ({ auditLog }: Props) => {
|
|||||||
<Td>
|
<Td>
|
||||||
<p>{`Environment: ${event.metadata.environment}`}</p>
|
<p>{`Environment: ${event.metadata.environment}`}</p>
|
||||||
<p>{`Secret path: ${event.metadata.secretPath}`}</p>
|
<p>{`Secret path: ${event.metadata.secretPath}`}</p>
|
||||||
<p>{`Webhook URL: ${event.metadata.webhookUrl}`}</p>
|
|
||||||
<p>{`Disabled: ${event.metadata.isDisabled}`}</p>
|
<p>{`Disabled: ${event.metadata.isDisabled}`}</p>
|
||||||
</Td>
|
</Td>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user