rephrase ui texts

This commit is contained in:
Maidul Islam
2024-05-03 00:23:59 +05:30
committed by Akhil Mohan
parent 68a1aa6f46
commit 37882e6344
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -618,7 +618,7 @@ export const INTEGRATION = {
export const AUDIT_LOG_STREAMS = { export const AUDIT_LOG_STREAMS = {
CREATE: { CREATE: {
url: "The socket URL to push logs to.", 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: { UPDATE: {
id: "The ID of the audit log stream to update.", id: "The ID of the audit log stream to update.",
@@ -102,7 +102,7 @@ export const AuditLogStreamForm = ({ id = "", onClose }: Props) => {
control={control} control={control}
name="url" name="url"
render={({ field, fieldState: { error } }) => ( 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} /> <Input {...field} />
</FormControl> </FormControl>
)} )}
@@ -116,7 +116,7 @@ export const AuditLogStreamForm = ({ id = "", onClose }: Props) => {
isOptional isOptional
isError={Boolean(error?.message)} isError={Boolean(error?.message)}
errorText={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} /> <Input {...field} />
</FormControl> </FormControl>
@@ -91,7 +91,7 @@ export const AuditLogStreamsTab = withPermission(
</OrgPermissionCan> </OrgPermissionCan>
</div> </div>
<p className="mb-8 text-gray-400"> <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> </p>
<div> <div>
<TableContainer> <TableContainer>
@@ -169,7 +169,7 @@ export const AuditLogStreamsTab = withPermission(
> >
<ModalContent <ModalContent
title={`${popUp?.auditLogStreamForm?.data ? "Update" : "Create"} Audit Log Stream `} 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 <AuditLogStreamForm
id={popUp?.auditLogStreamForm?.data as string} id={popUp?.auditLogStreamForm?.data as string}