rephrase ui texts

This commit is contained in:
Maidul Islam
2024-05-02 13:43:48 -04:00
committed by Akhil Mohan
parent 68a1aa6f46
commit 37882e6344
3 changed files with 5 additions and 5 deletions

View File

@@ -618,7 +618,7 @@ export const INTEGRATION = {
export const AUDIT_LOG_STREAMS = {
CREATE: {
url: "The socket URL to push logs to.",
token: "Authentication token for the external provider used for identification."
token: "Authentication token from the logging provider"
},
UPDATE: {
id: "The ID of the audit log stream to update.",

View File

@@ -102,7 +102,7 @@ export const AuditLogStreamForm = ({ id = "", onClose }: Props) => {
control={control}
name="url"
render={({ field, fieldState: { error } }) => (
<FormControl label="URL" isError={Boolean(error?.message)} errorText={error?.message}>
<FormControl label="URL" isError={Boolean(error?.message)} errorText={error?.message} helperText="The endpoint where Infisical logs should be sent to">
<Input {...field} />
</FormControl>
)}
@@ -116,7 +116,7 @@ export const AuditLogStreamForm = ({ id = "", onClose }: Props) => {
isOptional
isError={Boolean(error?.message)}
errorText={error?.message}
helperText="A token serves for identification and is sent in Authorization Bearer format."
helperText="The bearer token used to authenticate with the logging provider endpoint"
>
<Input {...field} />
</FormControl>

View File

@@ -91,7 +91,7 @@ export const AuditLogStreamsTab = withPermission(
</OrgPermissionCan>
</div>
<p className="mb-8 text-gray-400">
Manage audit log streams to send audit log to any logging providers with syslog support.
Send audit logs from Infisical to external logging providers via HTTP
</p>
<div>
<TableContainer>
@@ -169,7 +169,7 @@ export const AuditLogStreamsTab = withPermission(
>
<ModalContent
title={`${popUp?.auditLogStreamForm?.data ? "Update" : "Create"} Audit Log Stream `}
subTitle="Streams enable the transmission of audit logs to third-party providers."
subTitle="Continuously stream logs from Infisical to third-party logging providers."
>
<AuditLogStreamForm
id={popUp?.auditLogStreamForm?.data as string}