mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-16 21:37:59 +00:00
misc: audit logs for slack integration management
This commit is contained in:
@@ -442,6 +442,23 @@ export const LogsTableRow = ({ auditLog }: Props) => {
|
||||
<p>{`Certificate Template ID: ${event.metadata.certificateTemplateId}`}</p>
|
||||
</Td>
|
||||
);
|
||||
case EventType.UPDATE_SLACK_INTEGRATION:
|
||||
return (
|
||||
<Td>
|
||||
<p>{`Slack integration ID: ${event.metadata.id}`}</p>
|
||||
<p>{`Access Request Notification Status: ${event.metadata.isAccessRequestNotificationEnabled}`}</p>
|
||||
<p>{`Access Request Channels: ${event.metadata.accessRequestChannels}`}</p>
|
||||
<p>{`Secret Approval Request Notification Status: ${event.metadata.isSecretRequestNotificationEnabled}`}</p>
|
||||
<p>{`Secret Request Channels: ${event.metadata.secretRequestChannels}`}</p>
|
||||
</Td>
|
||||
);
|
||||
case EventType.DELETE_SLACK_INTEGRATION:
|
||||
case EventType.GET_SLACK_INTEGRATION:
|
||||
return (
|
||||
<Td>
|
||||
<p>{`Slack integration ID: ${event.metadata.id}`}</p>
|
||||
</Td>
|
||||
);
|
||||
default:
|
||||
return <Td />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user