The detection rules are automatically populated based on your selected log type. Threat
intelligence based detection can be enabled for standard log types.{' '}
diff --git a/public/pages/CreateDetector/components/DefineDetector/components/ThreatIntelligence/ThreatIntelligence.tsx b/public/pages/CreateDetector/components/DefineDetector/components/ThreatIntelligence/ThreatIntelligence.tsx
index 1fdc4a984..846bdd927 100644
--- a/public/pages/CreateDetector/components/DefineDetector/components/ThreatIntelligence/ThreatIntelligence.tsx
+++ b/public/pages/CreateDetector/components/DefineDetector/components/ThreatIntelligence/ThreatIntelligence.tsx
@@ -21,7 +21,7 @@ export const ThreatIntelligence: React.FC = ({
Threat intelligence feeds
-
+
Match your data source against known malicious IP-addresses. Available for standard log
types only.
diff --git a/public/pages/CreateDetector/containers/CreateDetector.tsx b/public/pages/CreateDetector/containers/CreateDetector.tsx
index 644a7a6b8..c029da6af 100644
--- a/public/pages/CreateDetector/containers/CreateDetector.tsx
+++ b/public/pages/CreateDetector/containers/CreateDetector.tsx
@@ -12,7 +12,7 @@ import {
EuiFlexItem,
EuiSpacer,
EuiSteps,
- EuiTitle,
+ EuiText,
} from '@elastic/eui';
import DefineDetector from '../components/DefineDetector/containers/DefineDetector';
import { createDetectorSteps, PENDING_DETECTOR_ID } from '../utils/constants';
@@ -383,9 +383,9 @@ export default class CreateDetector extends Component
<>
-
+
Create detector
-
+
{this.getStepContent()}
diff --git a/public/pages/Detectors/components/AlertTriggerView/__snapshots__/AlertTriggerView.test.tsx.snap b/public/pages/Detectors/components/AlertTriggerView/__snapshots__/AlertTriggerView.test.tsx.snap
index a20fe1321..b4ab4864e 100644
--- a/public/pages/Detectors/components/AlertTriggerView/__snapshots__/AlertTriggerView.test.tsx.snap
+++ b/public/pages/Detectors/components/AlertTriggerView/__snapshots__/AlertTriggerView.test.tsx.snap
@@ -72,7 +72,7 @@ Object {
class="euiFormRow__fieldWrapper"
>
@@ -114,7 +114,7 @@ Object {
class="euiFormRow__fieldWrapper"
>
@@ -149,7 +149,7 @@ Object {
class="euiFormRow__fieldWrapper"
>
@@ -179,7 +179,7 @@ Object {
class="euiFormRow__fieldWrapper"
>
@@ -218,7 +218,7 @@ Object {
class="euiFormRow__fieldWrapper"
>
@@ -250,7 +250,7 @@ Object {
class="euiFormRow__fieldWrapper"
>
@@ -340,7 +340,7 @@ Object {
class="euiFormRow__fieldWrapper"
>
@@ -382,7 +382,7 @@ Object {
class="euiFormRow__fieldWrapper"
>
@@ -417,7 +417,7 @@ Object {
class="euiFormRow__fieldWrapper"
>
@@ -447,7 +447,7 @@ Object {
class="euiFormRow__fieldWrapper"
>
@@ -486,7 +486,7 @@ Object {
class="euiFormRow__fieldWrapper"
>
@@ -518,7 +518,7 @@ Object {
class="euiFormRow__fieldWrapper"
>
diff --git a/public/pages/Detectors/components/DetectorBasicDetailsView/__snapshots__/DetectorBasicDetailsView.test.tsx.snap b/public/pages/Detectors/components/DetectorBasicDetailsView/__snapshots__/DetectorBasicDetailsView.test.tsx.snap
index c28073bd7..5c7e3e9ec 100644
--- a/public/pages/Detectors/components/DetectorBasicDetailsView/__snapshots__/DetectorBasicDetailsView.test.tsx.snap
+++ b/public/pages/Detectors/components/DetectorBasicDetailsView/__snapshots__/DetectorBasicDetailsView.test.tsx.snap
@@ -16,11 +16,13 @@ Object {
-
- Detector details
-
+
+ Detector details
+
+
@@ -113,7 +115,7 @@ Object {
class="euiFormRow__fieldWrapper"
>
@@ -143,7 +145,7 @@ Object {
class="euiFormRow__fieldWrapper"
>
@@ -180,7 +182,7 @@ Object {
class="euiFormRow__fieldWrapper"
>
@@ -214,7 +216,7 @@ Object {
class="euiFormRow__fieldWrapper"
>
@@ -244,7 +246,7 @@ Object {
class="euiFormRow__fieldWrapper"
>
@@ -281,7 +283,7 @@ Object {
class="euiFormRow__fieldWrapper"
>
@@ -311,7 +313,7 @@ Object {
class="euiFormRow__fieldWrapper"
>
@@ -341,7 +343,7 @@ Object {
class="euiFormRow__fieldWrapper"
>
@@ -372,7 +374,7 @@ Object {
class="euiFormRow__fieldWrapper"
>
@@ -399,11 +401,13 @@ Object {
-
- Detector details
-
+
+ Detector details
+
+
@@ -496,7 +500,7 @@ Object {
class="euiFormRow__fieldWrapper"
>
@@ -526,7 +530,7 @@ Object {
class="euiFormRow__fieldWrapper"
>
@@ -563,7 +567,7 @@ Object {
class="euiFormRow__fieldWrapper"
>
@@ -597,7 +601,7 @@ Object {
class="euiFormRow__fieldWrapper"
>
@@ -627,7 +631,7 @@ Object {
class="euiFormRow__fieldWrapper"
>
@@ -664,7 +668,7 @@ Object {
class="euiFormRow__fieldWrapper"
>
@@ -694,7 +698,7 @@ Object {
class="euiFormRow__fieldWrapper"
>
@@ -724,7 +728,7 @@ Object {
class="euiFormRow__fieldWrapper"
>
@@ -755,7 +759,7 @@ Object {
class="euiFormRow__fieldWrapper"
>
diff --git a/public/pages/Detectors/components/DetectorRulesView/__snapshots__/DetectorRulesView.test.tsx.snap b/public/pages/Detectors/components/DetectorRulesView/__snapshots__/DetectorRulesView.test.tsx.snap
index 7515476b3..b758ae758 100644
--- a/public/pages/Detectors/components/DetectorRulesView/__snapshots__/DetectorRulesView.test.tsx.snap
+++ b/public/pages/Detectors/components/DetectorRulesView/__snapshots__/DetectorRulesView.test.tsx.snap
@@ -250,15 +250,17 @@ exports[`
spec renders the component 1`] = `
-
-
- Active rules (2)
-
-
+
+ Active rules (2)
+
+
+
-
- Field mapping
-
+
+ Field mapping
+
+
-
- Field mapping
-
+
+ Field mapping
+
+
spec renders the component 1`] = `
onDetectorInputDescriptionChange={[Function]}
onDetectorNameChange={[Function]}
>
-
-
- Detector details
-
-
+
+ Detector details
+
+
+
@@ -710,15 +712,17 @@ exports[` spec renders the component 1`] = `
}
onDetectorInputIndicesChange={[Function]}
>
-
-
- Data source
-
-
+
+ Data source
+
+
+
@@ -1178,9 +1182,11 @@ exports[` spec renders the component 1`] = `
Threat intelligence feeds
-
+
Match your data source against known malicious IP-addresses. Available for standard log types only.
diff --git a/public/pages/Detectors/components/UpdateRules/__snapshots__/UpdateDetectorRules.test.tsx.snap b/public/pages/Detectors/components/UpdateRules/__snapshots__/UpdateDetectorRules.test.tsx.snap
index d9497d330..c73fc57b1 100644
--- a/public/pages/Detectors/components/UpdateRules/__snapshots__/UpdateDetectorRules.test.tsx.snap
+++ b/public/pages/Detectors/components/UpdateRules/__snapshots__/UpdateDetectorRules.test.tsx.snap
@@ -25,11 +25,13 @@ Object {
-
- Detection rules (0)
-
+
+ Detection rules (0)
+
+
-
- Detection rules (0)
-
+
+ Detection rules (0)
+
+
spec renders the component 1`] = `
-
-
- Alert triggers (2)
-
-
+
+ Alert triggers (2)
+
+
+
spec renders the component 1`] = `
id="some_html_id"
onBlur={[Function]}
onFocus={[Function]}
+ size="s"
>
spec renders the component 1`] = `
id="some_html_id"
onBlur={[Function]}
onFocus={[Function]}
+ size="s"
>
spec renders the component 1`] = `
id="some_html_id"
onBlur={[Function]}
onFocus={[Function]}
+ size="s"
>
spec renders the component 1`] = `
id="some_html_id"
onBlur={[Function]}
onFocus={[Function]}
+ size="s"
>
spec renders the component 1`] = `
id="some_html_id"
onBlur={[Function]}
onFocus={[Function]}
+ size="s"
>
spec renders the component 1`] = `
id="some_html_id"
onBlur={[Function]}
onFocus={[Function]}
+ size="s"
>
spec renders the component 1`] = `
id="some_html_id"
onBlur={[Function]}
onFocus={[Function]}
+ size="s"
>
spec renders the component 1`] = `
id="some_html_id"
onBlur={[Function]}
onFocus={[Function]}
+ size="s"
>
spec renders the component 1`] = `
id="some_html_id"
onBlur={[Function]}
onFocus={[Function]}
+ size="s"
>
spec renders the component 1`] = `
id="some_html_id"
onBlur={[Function]}
onFocus={[Function]}
+ size="s"
>
spec renders the component 1`] = `
id="some_html_id"
onBlur={[Function]}
onFocus={[Function]}
+ size="s"
>
spec renders the component 1`] = `
id="some_html_id"
onBlur={[Function]}
onFocus={[Function]}
+ size="s"
>
-
+
{detector.name}
-
+
{statusText}
@@ -515,7 +516,7 @@ export class DetectorDetails extends React.Component
- {this.renderTabs()}
+ {this.renderTabs()}
{selectedTabContent}
>
diff --git a/public/pages/Detectors/containers/Detector/__snapshots__/DetectorDetails.test.tsx.snap b/public/pages/Detectors/containers/Detector/__snapshots__/DetectorDetails.test.tsx.snap
index dfcd3cf8c..868286b83 100644
--- a/public/pages/Detectors/containers/Detector/__snapshots__/DetectorDetails.test.tsx.snap
+++ b/public/pages/Detectors/containers/Detector/__snapshots__/DetectorDetails.test.tsx.snap
@@ -316,6 +316,7 @@ exports[` spec renders the component 1`] = `
,
]
}
+ size="s"
/>
,
},
@@ -342,16 +343,19 @@ exports[` spec renders the component 1`] = `
-
-
- detector_name
-
-
+
+ detector_name
+
+
+
spec renders the component 1`] = `
/>
-
+
spec renders the component 1`] = `
-
-
- Detector details
-
-
+
+ Detector details
+
+
+
spec renders the component 1`] = `
id="some_html_id"
onBlur={[Function]}
onFocus={[Function]}
+ size="s"
>
spec renders the component 1`] = `
id="some_html_id"
onBlur={[Function]}
onFocus={[Function]}
+ size="s"
>
spec renders the component 1`] = `
id="some_html_id"
onBlur={[Function]}
onFocus={[Function]}
+ size="s"
>
spec renders the component 1`] = `
id="some_html_id"
onBlur={[Function]}
onFocus={[Function]}
+ size="s"
>
spec renders the component 1`] = `
id="some_html_id"
onBlur={[Function]}
onFocus={[Function]}
+ size="s"
>
spec renders the component 1`] = `
id="some_html_id"
onBlur={[Function]}
onFocus={[Function]}
+ size="s"
>
spec renders the component 1`] = `
id="some_html_id"
onBlur={[Function]}
onFocus={[Function]}
+ size="s"
>
spec renders the component 1`] = `
id="some_html_id"
onBlur={[Function]}
onFocus={[Function]}
+ size="s"
>
spec renders the component 1`] = `
id="some_html_id"
onBlur={[Function]}
onFocus={[Function]}
+ size="s"
>
spec renders the component 1`] = `
id="some_html_id"
onBlur={[Function]}
onFocus={[Function]}
+ size="s"
>
spec renders the component 1`] = `
-
-
- Active rules (2)
-
-
+
+ Active rules (2)
+
+
+
spec renders the component 1`] = `
-
-
- Detector details
-
-
+
+ Detector details
+
+
+
spec renders the component 1`] = `
id="some_html_id"
onBlur={[Function]}
onFocus={[Function]}
+ size="s"
>
spec renders the component 1`] = `
id="some_html_id"
onBlur={[Function]}
onFocus={[Function]}
+ size="s"
>
spec renders the component 1`] = `
id="some_html_id"
onBlur={[Function]}
onFocus={[Function]}
+ size="s"
>
spec renders the component 1`] = `
id="some_html_id"
onBlur={[Function]}
onFocus={[Function]}
+ size="s"
>
spec renders the component 1`] = `
id="some_html_id"
onBlur={[Function]}
onFocus={[Function]}
+ size="s"
>
spec renders the component 1`] = `
id="some_html_id"
onBlur={[Function]}
onFocus={[Function]}
+ size="s"
>
spec renders the component 1`] = `
id="some_html_id"
onBlur={[Function]}
onFocus={[Function]}
+ size="s"
>
spec renders the component 1`] = `
id="some_html_id"
onBlur={[Function]}
onFocus={[Function]}
+ size="s"
>
spec renders the component 1`] = `
id="some_html_id"
onBlur={[Function]}
onFocus={[Function]}
+ size="s"
>
spec renders the component 1`] = `
id="some_html_id"
onBlur={[Function]}
onFocus={[Function]}
+ size="s"
>
spec renders the component 1`] = `
-
-
- Active rules (2)
-
-
+
+ Active rules (2)
+
+
+
anchorPosition={'downLeft'}
data-test-subj={'detectorsActionsPopover'}
>
-
+
,
-
+
Threat detectors
-
+
@@ -393,7 +392,7 @@ export default class Detectors extends Component
+
There are no existing detectors.
}
diff --git a/public/pages/Detectors/containers/Detectors/__snapshots__/Detectors.test.tsx.snap b/public/pages/Detectors/containers/Detectors/__snapshots__/Detectors.test.tsx.snap
index 85cd85358..d5c28e48a 100644
--- a/public/pages/Detectors/containers/Detectors/__snapshots__/Detectors.test.tsx.snap
+++ b/public/pages/Detectors/containers/Detectors/__snapshots__/Detectors.test.tsx.snap
@@ -87,6 +87,7 @@ exports[` spec renders the component 1`] = `
,
]
}
+ size="s"
/>
,
},
@@ -114,15 +115,17 @@ exports[` spec renders the component 1`] = `
-
-
- Threat detectors
-
-
+
+ Threat detectors
+
+
+
@@ -666,7 +669,9 @@ exports[` spec renders the component 1`] = `
]
}
body={
-
+
There are no existing detectors.
@@ -1456,7 +1461,9 @@ exports[` spec renders the component 1`] = `
]
}
body={
-
+
There are no existing detectors.
diff --git a/public/pages/Detectors/containers/FieldMappings/__snapshots__/EditFieldMappings.test.tsx.snap b/public/pages/Detectors/containers/FieldMappings/__snapshots__/EditFieldMappings.test.tsx.snap
index 8beb20178..e8f953d14 100644
--- a/public/pages/Detectors/containers/FieldMappings/__snapshots__/EditFieldMappings.test.tsx.snap
+++ b/public/pages/Detectors/containers/FieldMappings/__snapshots__/EditFieldMappings.test.tsx.snap
@@ -542,7 +542,9 @@ exports[` spec renders the component 1`] = `
message={
+
There are no field mappings.
@@ -606,7 +608,9 @@ exports[` spec renders the component 1`] = `
noItemsMessage={
+
There are no field mappings.
@@ -986,7 +990,9 @@ exports[` spec renders the component 1`] = `
>
+
There are no field mappings.
@@ -1016,9 +1022,11 @@ exports[` spec renders the component 1`] = `
-
+
There are no field mappings.
diff --git a/public/pages/Findings/components/FindingDetailsFlyout.tsx b/public/pages/Findings/components/FindingDetailsFlyout.tsx
index 23f671900..5562b64c4 100644
--- a/public/pages/Findings/components/FindingDetailsFlyout.tsx
+++ b/public/pages/Findings/components/FindingDetailsFlyout.tsx
@@ -697,7 +697,7 @@ export default class FindingDetailsFlyout extends Component<
-
+
{FindingFlyoutTabs.map((tab) => {
return (
+
No findings.Adjust the time range to see
more results.
-
+
}
/>
),
diff --git a/public/pages/Findings/containers/Findings/Findings.tsx b/public/pages/Findings/containers/Findings/Findings.tsx
index 00baf68bd..dc197ad90 100644
--- a/public/pages/Findings/containers/Findings/Findings.tsx
+++ b/public/pages/Findings/containers/Findings/Findings.tsx
@@ -11,8 +11,8 @@ import {
EuiFlexItem,
EuiPanel,
EuiSpacer,
- EuiSuperDatePicker,
- EuiTitle,
+ EuiCompressedSuperDatePicker,
+ EuiText,
EuiEmptyPrompt,
EuiLink,
EuiTabbedContent,
@@ -584,7 +584,7 @@ class Findings extends Component
{
];
const datePicker = (
- {
-
+
Findings
-
+
{datePicker}
@@ -625,8 +625,12 @@ class Findings extends Component {
{!findings || findings.length === 0 ? (
No findings}
- body={this.state.findingStateByTabId[this.state.selectedTabId].emptyPromptBody}
+ title={No findings
}
+ body={
+
+ {this.state.findingStateByTabId[this.state.selectedTabId].emptyPromptBody}
+
+ }
/>
) : (
@@ -642,6 +646,7 @@ class Findings extends Component {
id === selectedTabId) ?? tabs[0]}
onTabClick={(tab) => {
this.setState({ selectedTabId: tab.id as FindingTabId });
diff --git a/public/pages/LogTypes/components/DeleteLogTypeModal.tsx b/public/pages/LogTypes/components/DeleteLogTypeModal.tsx
index db6139f8a..7c4650c3e 100644
--- a/public/pages/LogTypes/components/DeleteLogTypeModal.tsx
+++ b/public/pages/LogTypes/components/DeleteLogTypeModal.tsx
@@ -18,6 +18,7 @@ import {
EuiModalHeaderTitle,
EuiOverlayMask,
EuiSpacer,
+ EuiText,
} from '@elastic/eui';
import React from 'react';
import { useState } from 'react';
@@ -60,7 +61,9 @@ export const DeleteLogTypeModal: React.FC = ({
- This log type can't be deleted
+
+ This log type can't be deleted
+
@@ -73,10 +76,12 @@ export const DeleteLogTypeModal: React.FC = ({
color="warning"
/>
-
- Only log types that don’t have any associated rules can be deleted. Consider editing
- log type or deleting associated detection rules.
-
+
+
+ Only log types that don’t have any associated rules can be deleted. Consider editing
+ log type or deleting associated detection rules.
+
+
@@ -86,7 +91,7 @@ export const DeleteLogTypeModal: React.FC = ({
) : (
Delete log type?
}
onCancel={closeModal}
onConfirm={onConfirmClick}
cancelButtonText={'Cancel'}
@@ -96,11 +101,18 @@ export const DeleteLogTypeModal: React.FC = ({
confirmButtonDisabled={confirmDeleteText != logTypeName}
>
- The log type will be permanently deleted. This action is irreversible.
-
-
- Type {logTypeName} to confirm
+
+
+ The log type will be permanently deleted. This action is irreversible.
+
+
+
+
+ Type {{logTypeName}} to confirm
+
+
+
= ({
return (
= ({
{rules.length === 0 ? (
-
+
There are no detection rules associated with this log type.
diff --git a/public/pages/LogTypes/containers/CreateLogType.tsx b/public/pages/LogTypes/containers/CreateLogType.tsx
index f585b3059..d24478fed 100644
--- a/public/pages/LogTypes/containers/CreateLogType.tsx
+++ b/public/pages/LogTypes/containers/CreateLogType.tsx
@@ -13,7 +13,7 @@ import { useEffect } from 'react';
import { DataStore } from '../../../store/DataStore';
import { setBreadcrumbs, successNotificationToast } from '../../../utils/helpers';
import { NotificationsStart } from 'opensearch-dashboards/public';
-import { EuiPanel, EuiSpacer, EuiText, EuiTitle } from '@elastic/eui';
+import { EuiPanel, EuiSpacer, EuiText } from '@elastic/eui';
import { PageHeader } from '../../../components/PageHeader/PageHeader';
import { getUseUpdatedUx } from '../../../services/utils/constants';
@@ -38,9 +38,9 @@ export const CreateLogType: React.FC = ({ history, notificat
return (
-
- Create log type
-
+
+ Create log type
+
{description}
diff --git a/public/pages/LogTypes/containers/LogType.tsx b/public/pages/LogTypes/containers/LogType.tsx
index c5ac9a1e7..b4441a46b 100644
--- a/public/pages/LogTypes/containers/LogType.tsx
+++ b/public/pages/LogTypes/containers/LogType.tsx
@@ -202,7 +202,7 @@ export const LogType: React.FC = ({ notifications, history }) => {
-
+
{logTypeDetailsTabs.map((tab, index) => {
return (
= ({ history, notifications, data
-
+
Log types
-
+
Log types describe the data sources to which the detection rules are meant to be
applied.
diff --git a/public/pages/Overview/components/GettingStarted/GetStartedStep.tsx b/public/pages/Overview/components/GettingStarted/GetStartedStep.tsx
index a53c86a48..4b5000dbb 100644
--- a/public/pages/Overview/components/GettingStarted/GetStartedStep.tsx
+++ b/public/pages/Overview/components/GettingStarted/GetStartedStep.tsx
@@ -21,7 +21,7 @@ interface GetStartedStepProps {
export const GetStartedStep: React.FC = ({ buttons, title }) => {
return (
-
+
{title}
diff --git a/public/pages/Overview/components/GettingStarted/GettingStartedContent.tsx b/public/pages/Overview/components/GettingStarted/GettingStartedContent.tsx
index 14a913bba..328e68a39 100644
--- a/public/pages/Overview/components/GettingStarted/GettingStartedContent.tsx
+++ b/public/pages/Overview/components/GettingStarted/GettingStartedContent.tsx
@@ -11,7 +11,6 @@ import {
EuiSpacer,
EuiSteps,
EuiText,
- EuiTitle,
} from '@elastic/eui';
import { EuiContainedStepProps } from '@elastic/eui/src/components/steps/steps';
import {
@@ -190,11 +189,11 @@ export const GettingStartedContent: React.FC = ({
},
]}
>
-
- Get started with Security analytics
-
+
+ Get started with Security analytics
+
-
+
Generates critical security insights from your event logs.
diff --git a/public/pages/Overview/components/Widgets/RecentAlertsWidget.tsx b/public/pages/Overview/components/Widgets/RecentAlertsWidget.tsx
index b719ee682..d961ce94f 100644
--- a/public/pages/Overview/components/Widgets/RecentAlertsWidget.tsx
+++ b/public/pages/Overview/components/Widgets/RecentAlertsWidget.tsx
@@ -3,7 +3,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
-import { EuiBasicTableColumn, EuiSmallButton, EuiEmptyPrompt } from '@elastic/eui';
+import { EuiBasicTableColumn, EuiSmallButton, EuiEmptyPrompt, EuiText } from '@elastic/eui';
import { ROUTES, SortDirection } from '../../../../utils/constants';
import React, { useEffect, useState } from 'react';
import { TableWidget } from './TableWidget';
@@ -59,10 +59,10 @@ export const RecentAlertsWidget: React.FC = ({
items.length > 0 ? undefined : (
+
No recent alerts.Adjust the time range to
see more results.
-
+
}
/>
)
diff --git a/public/pages/Overview/components/Widgets/RecentFindingsWidget.tsx b/public/pages/Overview/components/Widgets/RecentFindingsWidget.tsx
index 780b875bc..a0dcf8fca 100644
--- a/public/pages/Overview/components/Widgets/RecentFindingsWidget.tsx
+++ b/public/pages/Overview/components/Widgets/RecentFindingsWidget.tsx
@@ -3,7 +3,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
-import { EuiBasicTableColumn, EuiSmallButton, EuiEmptyPrompt } from '@elastic/eui';
+import { EuiBasicTableColumn, EuiSmallButton, EuiEmptyPrompt, EuiText } from '@elastic/eui';
import { FINDINGS_NAV_ID, ROUTES, SortDirection } from '../../../../utils/constants';
import React, { useEffect, useState } from 'react';
import { TableWidget } from './TableWidget';
@@ -66,10 +66,10 @@ export const RecentFindingsWidget: React.FC = ({
items.length > 0 ? undefined : (
+
No recent findings.Adjust the time range to
see more results.
-
+
}
/>
)
diff --git a/public/pages/Overview/components/Widgets/RecentThreatIntelFindingsWidget.tsx b/public/pages/Overview/components/Widgets/RecentThreatIntelFindingsWidget.tsx
index a84807aa6..c4e48b664 100644
--- a/public/pages/Overview/components/Widgets/RecentThreatIntelFindingsWidget.tsx
+++ b/public/pages/Overview/components/Widgets/RecentThreatIntelFindingsWidget.tsx
@@ -3,7 +3,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
-import { EuiBasicTableColumn, EuiSmallButton, EuiEmptyPrompt } from '@elastic/eui';
+import { EuiBasicTableColumn, EuiSmallButton, EuiEmptyPrompt, EuiText } from '@elastic/eui';
import {
DEFAULT_EMPTY_DATA,
FINDINGS_NAV_ID,
@@ -68,10 +68,10 @@ export const RecentThreatIntelFindingsWidget: React.FC 0 ? undefined : (
+
No recent findings.Adjust the time range to
see more results.
-
+
}
/>
)
diff --git a/public/pages/Overview/components/Widgets/Summary.tsx b/public/pages/Overview/components/Widgets/Summary.tsx
index 2e2a50f60..0270e47c3 100644
--- a/public/pages/Overview/components/Widgets/Summary.tsx
+++ b/public/pages/Overview/components/Widgets/Summary.tsx
@@ -11,6 +11,7 @@ import {
EuiLink,
EuiLinkColor,
EuiStat,
+ EuiText,
} from '@elastic/eui';
import React, { useCallback, useEffect, useState } from 'react';
import { WidgetContainer } from './WidgetContainer';
@@ -169,12 +170,14 @@ export const Summary: React.FC = ({
{activeAlerts === 0 && totalFindings === 0 ? (
No alerts and findings found}
+ title={No alerts and findings found
}
body={
<>
- Adjust the time range to see more results or create a
- detector to generate findings.
+
+ Adjust the time range to see more results or create a
+ detector to generate findings.
+
= ({ findings, loadin
style={{ position: 'relative' }}
body={
-
- No findings with detection rules.Adjust
- the time range to see more results.
+
+
+ No findings with detection rules.Adjust
+ the time range to see more results.
+
}
/>
) : (
-
+
)}
);
diff --git a/public/pages/Overview/containers/Overview/Overview.tsx b/public/pages/Overview/containers/Overview/Overview.tsx
index cf88ead9e..9c99c28bc 100644
--- a/public/pages/Overview/containers/Overview/Overview.tsx
+++ b/public/pages/Overview/containers/Overview/Overview.tsx
@@ -16,6 +16,8 @@ import {
EuiCard,
EuiPanel,
EuiStat,
+ EuiText,
+ EuiCompressedSuperDatePicker,
} from '@elastic/eui';
import React, { useCallback, useContext, useEffect, useMemo, useState } from 'react';
import {
@@ -193,7 +195,7 @@ export const Overview: React.FC = (props) => {
);
const datePicker = (
- = (props) => {
-
+
Overview
-
+
{gettingStartedBadgeControl}
{datePicker}
diff --git a/public/pages/Rules/components/RuleContentViewer/RuleContentViewer.tsx b/public/pages/Rules/components/RuleContentViewer/RuleContentViewer.tsx
index 4ebbe7b36..4073f771a 100644
--- a/public/pages/Rules/components/RuleContentViewer/RuleContentViewer.tsx
+++ b/public/pages/Rules/components/RuleContentViewer/RuleContentViewer.tsx
@@ -64,11 +64,11 @@ export const RuleContentViewer: React.FC = ({
Rule Name
- {ruleData.title}
+ {ruleData.title}
Log Type
-
+
{getLogTypeLabel(ruleData.category)}
@@ -77,7 +77,7 @@ export const RuleContentViewer: React.FC = ({
Description
-
+
{ruleData.description || DEFAULT_EMPTY_DATA}
@@ -85,11 +85,11 @@ export const RuleContentViewer: React.FC = ({
Last Updated
- {ruleData.last_update_time}
+ {ruleData.last_update_time}
Author
- {ruleData.author}
+ {ruleData.author}
@@ -98,17 +98,19 @@ export const RuleContentViewer: React.FC = ({
Source
- {prePackaged ? 'Standard' : 'Custom'}
+ {prePackaged ? 'Standard' : 'Custom'}
{prePackaged ? (
License
-
- Detection Rule License (DLR)
-
+
+
+ Detection Rule License (DLR)
+
+
) : null}
@@ -118,7 +120,7 @@ export const RuleContentViewer: React.FC = ({
Rule level
- {ruleData.level}
+ {ruleData.level}
@@ -167,15 +169,17 @@ export const RuleContentViewer: React.FC = ({
{ruleData.references.length > 0 ? (
ruleData.references.map((reference: any, i: number) => (
-
- {reference.value}
-
-
+
+
+ {reference.value}
+
+
+
))
) : (
@@ -189,7 +193,9 @@ export const RuleContentViewer: React.FC = ({
{ruleData.false_positives.length > 0 ? (
ruleData.false_positives.map((falsepositive: any, i: number) => (
- {falsepositive.value}
+
+ {falsepositive.value}
+
))
@@ -201,7 +207,9 @@ export const RuleContentViewer: React.FC = ({
Rule Status
- {ruleData.status}
+
+ {ruleData.status}
+
diff --git a/public/pages/Rules/components/RuleContentViewer/__snapshots__/RuleContentViewer.test.tsx.snap b/public/pages/Rules/components/RuleContentViewer/__snapshots__/RuleContentViewer.test.tsx.snap
index aceef0927..5609165cc 100644
--- a/public/pages/Rules/components/RuleContentViewer/__snapshots__/RuleContentViewer.test.tsx.snap
+++ b/public/pages/Rules/components/RuleContentViewer/__snapshots__/RuleContentViewer.test.tsx.snap
@@ -85,7 +85,7 @@ exports[` spec renders the component 1`] = `
Rule Name
My Rule
@@ -100,7 +100,7 @@ exports[`
spec renders the component 1`] = `
Log Type
DNS
@@ -116,7 +116,7 @@ exports[`
spec renders the component 1`] = `
Description
My Rule
@@ -135,7 +135,11 @@ exports[`
spec renders the component 1`] = `
>
Last Updated
- 2022-11-22T23:00:00.000Z
+
+ 2022-11-22T23:00:00.000Z
+
spec renders the component 1`] = `
>
Author
- aleksandar
+
+ aleksandar
+
spec renders the component 1`] = `
>
Source
- Custom
+
+ Custom
+
spec renders the component 1`] = `
>
Rule level
- high
+
+ high
+
spec renders the component 1`] = `