Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SECURITY] Rename siem plugin to security_solution #67902

Merged
merged 33 commits into from
Jun 4, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
cbc5943
rename siem to security_solution
XavierM Jun 1, 2020
ead68f5
rename siem to security solution inside of code
XavierM Jun 2, 2020
68e4f1d
rename translation keys
XavierM Jun 2, 2020
d48736b
Merge branch 'master' of github.com:elastic/kibana into security-navi…
XavierM Jun 3, 2020
2ba9145
fix snapshot
XavierM Jun 3, 2020
f0ee47d
replace siem for security solution in tutorial
XavierM Jun 3, 2020
76762fa
missing translation to be renamed
XavierM Jun 3, 2020
5698af8
Merge branch 'master' of github.com:elastic/kibana into security-navi…
XavierM Jun 3, 2020
d3f6299
fix types for api test integration
XavierM Jun 3, 2020
b22fa31
Merge branch 'master' of github.com:elastic/kibana into security-navi…
XavierM Jun 3, 2020
df6e7c5
updates runner file to match the new path
MadameSheema Jun 3, 2020
b69a88d
Merge branch 'security-navigation' of https://github.com/XavierM/kiba…
MadameSheema Jun 3, 2020
42cec67
change category for kibana settings
XavierM Jun 3, 2020
3342d4e
Merge branch 'master' of github.com:elastic/kibana into security-navi…
XavierM Jun 3, 2020
21c89d0
miss renaming in advance settings
XavierM Jun 3, 2020
2fdb92b
Merge branch 'security-navigation' of github.com:XavierM/kibana into …
XavierM Jun 3, 2020
0639936
fixes cypress tests
MadameSheema Jun 3, 2020
d2f4d33
Merge branch 'security-navigation' of https://github.com/XavierM/kiba…
MadameSheema Jun 3, 2020
af134eb
Merge branch 'master' of github.com:elastic/kibana into security-navi…
XavierM Jun 3, 2020
4fa7fbf
Merge branch 'security-navigation' of github.com:XavierM/kibana into …
XavierM Jun 3, 2020
7a676cf
Merge branch 'master' of github.com:elastic/kibana into security-navi…
XavierM Jun 3, 2020
8d4203e
fix api integration test
XavierM Jun 3, 2020
774e2e6
Merge branch 'master' of github.com:elastic/kibana into security-navi…
XavierM Jun 3, 2020
2586899
Merge branch 'master' of github.com:elastic/kibana into security-navi…
XavierM Jun 3, 2020
c7d7ee4
Merge branch 'master' of github.com:elastic/kibana into security-navi…
XavierM Jun 3, 2020
77307f6
Merge branch 'master' of github.com:elastic/kibana into security-navi…
XavierM Jun 3, 2020
7121d65
fix new translation
XavierM Jun 3, 2020
955a9ce
Merge branch 'master' of github.com:elastic/kibana into security-navi…
XavierM Jun 3, 2020
f86c062
fix unit test
XavierM Jun 4, 2020
b332c7b
update translation i18n
XavierM Jun 4, 2020
a982675
Merge branch 'master' of github.com:elastic/kibana into security-navi…
XavierM Jun 4, 2020
3017b1e
update translation i18n II
XavierM Jun 4, 2020
813e216
Merge branch 'master' of github.com:elastic/kibana into security-navi…
XavierM Jun 4, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix api integration test
  • Loading branch information
XavierM committed Jun 3, 2020
commit 8d4203ebc786937a3df306d250111288282f92fb
Original file line number Diff line number Diff line change
Expand Up @@ -7,104 +7,104 @@
import { i18n } from '@kbn/i18n';

export const STACK_BY_LABEL = i18n.translate(
'xpack.siem.detectionEngine.alerts.histogram.stackByOptions.stackByLabel',
'xpack.securitySolution.detectionEngine.alerts.histogram.stackByOptions.stackByLabel',
{
defaultMessage: 'Stack by',
}
);

export const STACK_BY_RISK_SCORES = i18n.translate(
'xpack.siem.detectionEngine.alerts.histogram.stackByOptions.riskScoresDropDown',
'xpack.securitySolution.detectionEngine.alerts.histogram.stackByOptions.riskScoresDropDown',
{
defaultMessage: 'Risk scores',
}
);

export const STACK_BY_SEVERITIES = i18n.translate(
'xpack.siem.detectionEngine.alerts.histogram.stackByOptions.severitiesDropDown',
'xpack.securitySolution.detectionEngine.alerts.histogram.stackByOptions.severitiesDropDown',
{
defaultMessage: 'Severities',
}
);

export const STACK_BY_DESTINATION_IPS = i18n.translate(
'xpack.siem.detectionEngine.alerts.histogram.stackByOptions.destinationIpsDropDown',
'xpack.securitySolution.detectionEngine.alerts.histogram.stackByOptions.destinationIpsDropDown',
{
defaultMessage: 'Top destination IPs',
}
);

export const STACK_BY_SOURCE_IPS = i18n.translate(
'xpack.siem.detectionEngine.alerts.histogram.stackByOptions.sourceIpsDropDown',
'xpack.securitySolution.detectionEngine.alerts.histogram.stackByOptions.sourceIpsDropDown',
{
defaultMessage: 'Top source IPs',
}
);

export const STACK_BY_ACTIONS = i18n.translate(
'xpack.siem.detectionEngine.alerts.histogram.stackByOptions.eventActionsDropDown',
'xpack.securitySolution.detectionEngine.alerts.histogram.stackByOptions.eventActionsDropDown',
{
defaultMessage: 'Top event actions',
}
);

export const STACK_BY_CATEGORIES = i18n.translate(
'xpack.siem.detectionEngine.alerts.histogram.stackByOptions.eventCategoriesDropDown',
'xpack.securitySolution.detectionEngine.alerts.histogram.stackByOptions.eventCategoriesDropDown',
{
defaultMessage: 'Top event categories',
}
);

export const STACK_BY_HOST_NAMES = i18n.translate(
'xpack.siem.detectionEngine.alerts.histogram.stackByOptions.hostNamesDropDown',
'xpack.securitySolution.detectionEngine.alerts.histogram.stackByOptions.hostNamesDropDown',
{
defaultMessage: 'Top host names',
}
);

export const STACK_BY_RULE_TYPES = i18n.translate(
'xpack.siem.detectionEngine.alerts.histogram.stackByOptions.ruleTypesDropDown',
'xpack.securitySolution.detectionEngine.alerts.histogram.stackByOptions.ruleTypesDropDown',
{
defaultMessage: 'Top rule types',
}
);

export const STACK_BY_RULE_NAMES = i18n.translate(
'xpack.siem.detectionEngine.alerts.histogram.stackByOptions.rulesDropDown',
'xpack.securitySolution.detectionEngine.alerts.histogram.stackByOptions.rulesDropDown',
{
defaultMessage: 'Top rules',
}
);

export const STACK_BY_USERS = i18n.translate(
'xpack.siem.detectionEngine.alerts.histogram.stackByOptions.usersDropDown',
'xpack.securitySolution.detectionEngine.alerts.histogram.stackByOptions.usersDropDown',
{
defaultMessage: 'Top users',
}
);

export const TOP = (fieldName: string) =>
i18n.translate('xpack.siem.detectionEngine.alerts.histogram.topNLabel', {
i18n.translate('xpack.securitySolution.detectionEngine.alerts.histogram.topNLabel', {
values: { fieldName },
defaultMessage: `Top {fieldName}`,
});

export const HISTOGRAM_HEADER = i18n.translate(
'xpack.siem.detectionEngine.alerts.histogram.headerTitle',
'xpack.securitySolution.detectionEngine.alerts.histogram.headerTitle',
{
defaultMessage: 'Alert count',
}
);

export const ALL_OTHERS = i18n.translate(
'xpack.siem.detectionEngine.alerts.histogram.allOthersGroupingLabel',
'xpack.securitySolution.detectionEngine.alerts.histogram.allOthersGroupingLabel',
{
defaultMessage: 'All others',
}
);

export const VIEW_ALERTS = i18n.translate(
'xpack.siem.detectionEngine.alerts.histogram.viewAlertsButtonLabel',
'xpack.securitySolution.detectionEngine.alerts.histogram.viewAlertsButtonLabel',
{
defaultMessage: 'View alerts',
}
Expand All @@ -115,7 +115,7 @@ export const SHOWING_ALERTS = (
totalAlerts: number,
modifier: string
) =>
i18n.translate('xpack.siem.detectionEngine.alerts.histogram.showingAlertsTitle', {
i18n.translate('xpack.securitySolution.detectionEngine.alerts.histogram.showingAlertsTitle', {
values: { totalAlertsFormatted, totalAlerts, modifier },
defaultMessage:
'Showing: {modifier}{totalAlertsFormatted} {totalAlerts, plural, =1 {alert} other {alerts}}',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,70 +7,70 @@
import { i18n } from '@kbn/i18n';

export const SHOWING_ALERTS = (totalAlertsFormatted: string, totalAlerts: number) =>
i18n.translate('xpack.siem.detectionEngine.alerts.utilityBar.showingAlertsTitle', {
i18n.translate('xpack.securitySolution.detectionEngine.alerts.utilityBar.showingAlertsTitle', {
values: { totalAlertsFormatted, totalAlerts },
defaultMessage:
'Showing {totalAlertsFormatted} {totalAlerts, plural, =1 {alert} other {alerts}}',
});

export const SELECTED_ALERTS = (selectedAlertsFormatted: string, selectedAlerts: number) =>
i18n.translate('xpack.siem.detectionEngine.alerts.utilityBar.selectedAlertsTitle', {
i18n.translate('xpack.securitySolution.detectionEngine.alerts.utilityBar.selectedAlertsTitle', {
values: { selectedAlertsFormatted, selectedAlerts },
defaultMessage:
'Selected {selectedAlertsFormatted} {selectedAlerts, plural, =1 {alert} other {alerts}}',
});

export const SELECT_ALL_ALERTS = (totalAlertsFormatted: string, totalAlerts: number) =>
i18n.translate('xpack.siem.detectionEngine.alerts.utilityBar.selectAllAlertsTitle', {
i18n.translate('xpack.securitySolution.detectionEngine.alerts.utilityBar.selectAllAlertsTitle', {
values: { totalAlertsFormatted, totalAlerts },
defaultMessage:
'Select all {totalAlertsFormatted} {totalAlerts, plural, =1 {alert} other {alerts}}',
});

export const CLEAR_SELECTION = i18n.translate(
'xpack.siem.detectionEngine.alerts.utilityBar.clearSelectionTitle',
'xpack.securitySolution.detectionEngine.alerts.utilityBar.clearSelectionTitle',
{
defaultMessage: 'Clear selection',
}
);

export const BATCH_ACTIONS = i18n.translate(
'xpack.siem.detectionEngine.alerts.utilityBar.batchActionsTitle',
'xpack.securitySolution.detectionEngine.alerts.utilityBar.batchActionsTitle',
{
defaultMessage: 'Batch actions',
}
);

export const BATCH_ACTION_VIEW_SELECTED_IN_HOSTS = i18n.translate(
'xpack.siem.detectionEngine.alerts.utilityBar.batchActions.viewSelectedInHostsTitle',
'xpack.securitySolution.detectionEngine.alerts.utilityBar.batchActions.viewSelectedInHostsTitle',
{
defaultMessage: 'View selected in hosts',
}
);

export const BATCH_ACTION_VIEW_SELECTED_IN_NETWORK = i18n.translate(
'xpack.siem.detectionEngine.alerts.utilityBar.batchActions.viewSelectedInNetworkTitle',
'xpack.securitySolution.detectionEngine.alerts.utilityBar.batchActions.viewSelectedInNetworkTitle',
{
defaultMessage: 'View selected in network',
}
);

export const BATCH_ACTION_VIEW_SELECTED_IN_TIMELINE = i18n.translate(
'xpack.siem.detectionEngine.alerts.utilityBar.batchActions.viewSelectedInTimelineTitle',
'xpack.securitySolution.detectionEngine.alerts.utilityBar.batchActions.viewSelectedInTimelineTitle',
{
defaultMessage: 'View selected in timeline',
}
);

export const BATCH_ACTION_OPEN_SELECTED = i18n.translate(
'xpack.siem.detectionEngine.alerts.utilityBar.batchActions.openSelectedTitle',
'xpack.securitySolution.detectionEngine.alerts.utilityBar.batchActions.openSelectedTitle',
{
defaultMessage: 'Open selected',
}
);

export const BATCH_ACTION_CLOSE_SELECTED = i18n.translate(
'xpack.siem.detectionEngine.alerts.utilityBar.batchActions.closeSelectedTitle',
'xpack.securitySolution.detectionEngine.alerts.utilityBar.batchActions.closeSelectedTitle',
{
defaultMessage: 'Close selected',
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,122 +6,131 @@

import { i18n } from '@kbn/i18n';

export const PAGE_TITLE = i18n.translate('xpack.siem.detectionEngine.pageTitle', {
export const PAGE_TITLE = i18n.translate('xpack.securitySolution.detectionEngine.pageTitle', {
defaultMessage: 'Detection engine',
});

export const ALERTS_TABLE_TITLE = i18n.translate('xpack.siem.detectionEngine.alerts.tableTitle', {
defaultMessage: 'Alert list',
});
export const ALERTS_TABLE_TITLE = i18n.translate(
'xpack.securitySolution.detectionEngine.alerts.tableTitle',
{
defaultMessage: 'Alert list',
}
);

export const ALERTS_DOCUMENT_TYPE = i18n.translate(
'xpack.siem.detectionEngine.alerts.documentTypeTitle',
'xpack.securitySolution.detectionEngine.alerts.documentTypeTitle',
{
defaultMessage: 'Alerts',
}
);

export const OPEN_ALERTS = i18n.translate('xpack.siem.detectionEngine.alerts.openAlertsTitle', {
defaultMessage: 'Open alerts',
});
export const OPEN_ALERTS = i18n.translate(
'xpack.securitySolution.detectionEngine.alerts.openAlertsTitle',
{
defaultMessage: 'Open alerts',
}
);

export const CLOSED_ALERTS = i18n.translate('xpack.siem.detectionEngine.alerts.closedAlertsTitle', {
defaultMessage: 'Closed alerts',
});
export const CLOSED_ALERTS = i18n.translate(
'xpack.securitySolution.detectionEngine.alerts.closedAlertsTitle',
{
defaultMessage: 'Closed alerts',
}
);

export const LOADING_ALERTS = i18n.translate(
'xpack.siem.detectionEngine.alerts.loadingAlertsTitle',
'xpack.securitySolution.detectionEngine.alerts.loadingAlertsTitle',
{
defaultMessage: 'Loading Alerts',
}
);

export const TOTAL_COUNT_OF_ALERTS = i18n.translate(
'xpack.siem.detectionEngine.alerts.totalCountOfAlertsTitle',
'xpack.securitySolution.detectionEngine.alerts.totalCountOfAlertsTitle',
{
defaultMessage: 'alerts match the search criteria',
}
);

export const ALERTS_HEADERS_RULE = i18n.translate(
'xpack.siem.eventsViewer.alerts.defaultHeaders.ruleTitle',
'xpack.securitySolution.eventsViewer.alerts.defaultHeaders.ruleTitle',
{
defaultMessage: 'Rule',
}
);

export const ALERTS_HEADERS_VERSION = i18n.translate(
'xpack.siem.eventsViewer.alerts.defaultHeaders.versionTitle',
'xpack.securitySolution.eventsViewer.alerts.defaultHeaders.versionTitle',
{
defaultMessage: 'Version',
}
);

export const ALERTS_HEADERS_METHOD = i18n.translate(
'xpack.siem.eventsViewer.alerts.defaultHeaders.methodTitle',
'xpack.securitySolution.eventsViewer.alerts.defaultHeaders.methodTitle',
{
defaultMessage: 'Method',
}
);

export const ALERTS_HEADERS_SEVERITY = i18n.translate(
'xpack.siem.eventsViewer.alerts.defaultHeaders.severityTitle',
'xpack.securitySolution.eventsViewer.alerts.defaultHeaders.severityTitle',
{
defaultMessage: 'Severity',
}
);

export const ALERTS_HEADERS_RISK_SCORE = i18n.translate(
'xpack.siem.eventsViewer.alerts.defaultHeaders.riskScoreTitle',
'xpack.securitySolution.eventsViewer.alerts.defaultHeaders.riskScoreTitle',
{
defaultMessage: 'Risk Score',
}
);

export const ACTION_OPEN_ALERT = i18n.translate(
'xpack.siem.detectionEngine.alerts.actions.openAlertTitle',
'xpack.securitySolution.detectionEngine.alerts.actions.openAlertTitle',
{
defaultMessage: 'Open alert',
}
);

export const ACTION_CLOSE_ALERT = i18n.translate(
'xpack.siem.detectionEngine.alerts.actions.closeAlertTitle',
'xpack.securitySolution.detectionEngine.alerts.actions.closeAlertTitle',
{
defaultMessage: 'Close alert',
}
);

export const ACTION_INVESTIGATE_IN_TIMELINE = i18n.translate(
'xpack.siem.detectionEngine.alerts.actions.investigateInTimelineTitle',
'xpack.securitySolution.detectionEngine.alerts.actions.investigateInTimelineTitle',
{
defaultMessage: 'Investigate in timeline',
}
);

export const CLOSED_ALERT_SUCCESS_TOAST = (totalAlerts: number) =>
i18n.translate('xpack.siem.detectionEngine.alerts.closedAlertSuccessToastMessage', {
i18n.translate('xpack.securitySolution.detectionEngine.alerts.closedAlertSuccessToastMessage', {
values: { totalAlerts },
defaultMessage:
'Successfully closed {totalAlerts} {totalAlerts, plural, =1 {alert} other {alerts}}.',
});

export const OPENED_ALERT_SUCCESS_TOAST = (totalAlerts: number) =>
i18n.translate('xpack.siem.detectionEngine.alerts.openedAlertSuccessToastMessage', {
i18n.translate('xpack.securitySolution.detectionEngine.alerts.openedAlertSuccessToastMessage', {
values: { totalAlerts },
defaultMessage:
'Successfully opened {totalAlerts} {totalAlerts, plural, =1 {alert} other {alerts}}.',
});

export const CLOSED_ALERT_FAILED_TOAST = i18n.translate(
'xpack.siem.detectionEngine.alerts.closedAlertFailedToastMessage',
'xpack.securitySolution.detectionEngine.alerts.closedAlertFailedToastMessage',
{
defaultMessage: 'Failed to close alert(s).',
}
);

export const OPENED_ALERT_FAILED_TOAST = i18n.translate(
'xpack.siem.detectionEngine.alerts.openedAlertFailedToastMessage',
'xpack.securitySolution.detectionEngine.alerts.openedAlertFailedToastMessage',
{
defaultMessage: 'Failed to open alert(s)',
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,22 @@
import { i18n } from '@kbn/i18n';

export const NO_WRITE_ALERTS_CALLOUT_TITLE = i18n.translate(
'xpack.siem.detectionEngine.noWriteAlertsCallOutTitle',
'xpack.securitySolution.detectionEngine.noWriteAlertsCallOutTitle',
{
defaultMessage: 'Alerts index permissions required',
}
);

export const NO_WRITE_ALERTS_CALLOUT_MSG = i18n.translate(
'xpack.siem.detectionEngine.noWriteAlertsCallOutMsg',
'xpack.securitySolution.detectionEngine.noWriteAlertsCallOutMsg',
{
defaultMessage:
'You are currently missing the required permissions to update alerts. Please contact your administrator for further assistance.',
}
);

export const DISMISS_CALLOUT = i18n.translate(
'xpack.siem.detectionEngine.dismissNoWriteAlertButton',
'xpack.securitySolution.detectionEngine.dismissNoWriteAlertButton',
{
defaultMessage: 'Dismiss',
}
Expand Down
Loading