mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
rename secops to SIEM
This commit is contained in:
parent
5869552272
commit
7a7f9e0ef3
808 changed files with 1560 additions and 1619 deletions
|
@ -40,7 +40,7 @@
|
|||
"xpack.reporting": "x-pack/plugins/reporting",
|
||||
"xpack.rollupJobs": "x-pack/plugins/rollup",
|
||||
"xpack.searchProfiler": "x-pack/plugins/searchprofiler",
|
||||
"xpack.secops": "x-pack/plugins/secops",
|
||||
"xpack.siem": "x-pack/plugins/siem",
|
||||
"xpack.security": "x-pack/plugins/security",
|
||||
"xpack.server": "x-pack/server",
|
||||
"xpack.spaces": "x-pack/plugins/spaces",
|
||||
|
|
|
@ -18,9 +18,7 @@
|
|||
*/
|
||||
|
||||
module.exports = function (grunt) {
|
||||
grunt.registerTask('jenkins:docs', [
|
||||
'docker:docs'
|
||||
]);
|
||||
grunt.registerTask('jenkins:docs', ['docker:docs']);
|
||||
|
||||
grunt.registerTask('jenkins:unit', [
|
||||
'run:eslint',
|
||||
|
@ -30,14 +28,14 @@ module.exports = function (grunt) {
|
|||
'run:typeCheck',
|
||||
'run:i18nCheck',
|
||||
'run:checkFileCasing',
|
||||
// 'licenses', DO NOT CHECK IN -- THIS TO ENABLE SECOPS TO BUILD QUICKLY WITHOUT FALSE POSITIVES
|
||||
// 'licenses', DO NOT CHECK IN -- THIS TO ENABLE SIEM TO BUILD QUICKLY WITHOUT FALSE POSITIVES
|
||||
'verifyDependencyVersions',
|
||||
// 'run:verifyNotice', DO NOT CHECK IN -- THIS TO ENABLE SECOPS TO BUILD QUICKLY WITHOUT FALSE POSITIVES
|
||||
// 'test:server', DO NOT CHECK IN -- THIS TO ENABLE SECOPS TO BUILD QUICKLY WITHOUT FALSE POSITIVES
|
||||
// 'test:jest', DO NOT CHECK IN -- THIS TO ENABLE SECOPS TO BUILD QUICKLY WITHOUT FALSE POSITIVES
|
||||
// 'test:jest_integration', DO NOT CHECK IN -- THIS TO ENABLE SECOPS TO BUILD QUICKLY WITHOUT FALSE POSITIVES
|
||||
// 'test:projects', DO NOT CHECK IN -- THIS TO ENABLE SECOPS TO BUILD QUICKLY WITHOUT FALSE POSITIVES
|
||||
// 'test:browser-ci', DO NOT CHECK IN -- THIS TO ENABLE SECOPS TO BUILD QUICKLY WITHOUT FALSE POSITIVES
|
||||
// 'run:apiIntegrationTests', DO NOT CHECK IN -- THIS TO ENABLE SECOPS TO BUILD QUICKLY WITHOUT FALSE POSITIVES
|
||||
// 'run:verifyNotice', DO NOT CHECK IN -- THIS TO ENABLE SIEM TO BUILD QUICKLY WITHOUT FALSE POSITIVES
|
||||
// 'test:server', DO NOT CHECK IN -- THIS TO ENABLE SIEM TO BUILD QUICKLY WITHOUT FALSE POSITIVES
|
||||
// 'test:jest', DO NOT CHECK IN -- THIS TO ENABLE SIEM TO BUILD QUICKLY WITHOUT FALSE POSITIVES
|
||||
// 'test:jest_integration', DO NOT CHECK IN -- THIS TO ENABLE SIEM TO BUILD QUICKLY WITHOUT FALSE POSITIVES
|
||||
// 'test:projects', DO NOT CHECK IN -- THIS TO ENABLE SIEM TO BUILD QUICKLY WITHOUT FALSE POSITIVES
|
||||
// 'test:browser-ci', DO NOT CHECK IN -- THIS TO ENABLE SIEM TO BUILD QUICKLY WITHOUT FALSE POSITIVES
|
||||
// 'run:apiIntegrationTests', DO NOT CHECK IN -- THIS TO ENABLE SIEM TO BUILD QUICKLY WITHOUT FALSE POSITIVES
|
||||
]);
|
||||
};
|
||||
|
|
|
@ -15,16 +15,16 @@ trap report EXIT
|
|||
|
||||
export TEST_BROWSER_HEADLESS=1
|
||||
|
||||
echo " -> Skipping Running mocha tests (for secops only)"
|
||||
echo " -> Skipping Running mocha tests (for siem only)"
|
||||
cd "$XPACK_DIR"
|
||||
# yarn test
|
||||
echo ""
|
||||
echo ""
|
||||
|
||||
|
||||
echo " -> Running jest tests (for secops only)"
|
||||
echo " -> Running jest tests (for siem only)"
|
||||
cd "$XPACK_DIR"
|
||||
node scripts/jest --ci --no-cache --verbose secops
|
||||
node scripts/jest --ci --no-cache --verbose siem
|
||||
echo ""
|
||||
echo ""
|
||||
|
||||
|
|
2
x-pack/.gitignore
vendored
2
x-pack/.gitignore
vendored
|
@ -11,7 +11,7 @@
|
|||
/.kibana-plugin-helpers.dev.*
|
||||
!/plugins/infra/**/target
|
||||
.cache
|
||||
!/plugins/secops/**/target
|
||||
!/plugins/siem/**/target
|
||||
|
||||
# We don't want any yarn.lock files in here
|
||||
/yarn.lock
|
||||
|
|
|
@ -31,7 +31,7 @@ import { canvas } from './plugins/canvas';
|
|||
import { infra } from './plugins/infra';
|
||||
import { taskManager } from './plugins/task_manager';
|
||||
import { rollup } from './plugins/rollup';
|
||||
import { secops } from './plugins/secops';
|
||||
import { siem } from './plugins/siem';
|
||||
import { remoteClusters } from './plugins/remote_clusters';
|
||||
import { crossClusterReplication } from './plugins/cross_cluster_replication';
|
||||
import { translations } from './plugins/translations';
|
||||
|
@ -68,7 +68,7 @@ module.exports = function (kibana) {
|
|||
infra(kibana),
|
||||
taskManager(kibana),
|
||||
rollup(kibana),
|
||||
secops(kibana),
|
||||
siem(kibana),
|
||||
remoteClusters(kibana),
|
||||
crossClusterReplication(kibana),
|
||||
translations(kibana),
|
||||
|
|
6
x-pack/plugins/secops/.gitattributes
vendored
6
x-pack/plugins/secops/.gitattributes
vendored
|
@ -1,6 +0,0 @@
|
|||
# Auto-collapse generated files in GitHub
|
||||
# https://help.github.com/en/articles/customizing-how-changed-files-appear-on-github
|
||||
x-pack/plugins/secops/public/graphql/types.ts linguist-generated=true
|
||||
x-pack/plugins/secops/server/graphql/types.ts linguist-generated=true
|
||||
x-pack/plugins/secops/public/graphql/introspection.json linguist-generated=true
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the Elastic License;
|
||||
* you may not use this file except in compliance with the Elastic License.
|
||||
*/
|
||||
|
||||
import { i18n } from '@kbn/i18n';
|
||||
|
||||
export const TABLE = i18n.translate('xpack.secops.eventDetails.table', {
|
||||
defaultMessage: 'Table',
|
||||
});
|
||||
|
||||
export const JSON_VIEW = i18n.translate('xpack.secops.eventDetails.jsonView', {
|
||||
defaultMessage: 'JSON View',
|
||||
});
|
||||
|
||||
export const FIELD = i18n.translate('xpack.secops.eventDetails.field', {
|
||||
defaultMessage: 'Field',
|
||||
});
|
||||
|
||||
export const VALUE = i18n.translate('xpack.secops.eventDetails.value', {
|
||||
defaultMessage: 'Value',
|
||||
});
|
||||
|
||||
export const DESCRIPTION = i18n.translate('xpack.secops.eventDetails.description', {
|
||||
defaultMessage: 'Description',
|
||||
});
|
||||
|
||||
export const PLACEHOLDER = i18n.translate('xpack.secops.eventDetails.filter.placeholder', {
|
||||
defaultMessage: 'Filter by Field, Value, or Description...',
|
||||
});
|
||||
|
||||
export const COPY_TO_CLIPBOARD = i18n.translate('xpack.secops.eventDetails.copyToClipboard', {
|
||||
defaultMessage: 'Copy to Clipboard',
|
||||
});
|
|
@ -1,53 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the Elastic License;
|
||||
* you may not use this file except in compliance with the Elastic License.
|
||||
*/
|
||||
|
||||
import { i18n } from '@kbn/i18n';
|
||||
|
||||
export const MARKDOWN_HINT_HEADING = i18n.translate('xpack.secops.markdown.hint.headingLabel', {
|
||||
defaultMessage: '# heading',
|
||||
});
|
||||
|
||||
export const MARKDOWN_HINT_BOLD = i18n.translate('xpack.secops.markdown.hint.boldLabel', {
|
||||
defaultMessage: '**bold**',
|
||||
});
|
||||
|
||||
export const MARKDOWN_HINT_ITALICS = i18n.translate('xpack.secops.markdown.hint.italicsLabel', {
|
||||
defaultMessage: '_italics_',
|
||||
});
|
||||
|
||||
export const MARKDOWN_HINT_CODE = i18n.translate('xpack.secops.markdown.hint.codeLabel', {
|
||||
defaultMessage: '`code`',
|
||||
});
|
||||
|
||||
export const MARKDOWN_HINT_URL = i18n.translate('xpack.secops.markdown.hint.urlLabel', {
|
||||
defaultMessage: '[link](url)',
|
||||
});
|
||||
|
||||
export const MARKDOWN_HINT_BULLET = i18n.translate('xpack.secops.markdown.hint.bulletLabel', {
|
||||
defaultMessage: '* bullet',
|
||||
});
|
||||
|
||||
export const MARKDOWN_HINT_PREFORMATTED = i18n.translate(
|
||||
'xpack.secops.markdown.hint.preformattedLabel',
|
||||
{
|
||||
defaultMessage: '```preformatted```',
|
||||
}
|
||||
);
|
||||
|
||||
export const MARKDOWN_HINT_QUOTE = i18n.translate('xpack.secops.markdown.hint.quoteLabel', {
|
||||
defaultMessage: '>quote',
|
||||
});
|
||||
|
||||
export const MARKDOWN_HINT_STRIKETHROUGH = i18n.translate(
|
||||
'xpack.secops.markdown.hint.strikethroughLabel',
|
||||
{
|
||||
defaultMessage: 'strikethrough',
|
||||
}
|
||||
);
|
||||
|
||||
export const MARKDOWN_HINT_IMAGE_URL = i18n.translate('xpack.secops.markdown.hint.imageUrlLabel', {
|
||||
defaultMessage: '',
|
||||
});
|
|
@ -1,42 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the Elastic License;
|
||||
* you may not use this file except in compliance with the Elastic License.
|
||||
*/
|
||||
|
||||
import { i18n } from '@kbn/i18n';
|
||||
|
||||
export const ADD_NOTE = i18n.translate('xpack.secops.notes.addNoteButtonLabel', {
|
||||
defaultMessage: 'Add Note',
|
||||
});
|
||||
|
||||
export const ADD_A_NOTE = i18n.translate('xpack.secops.notes.addANotePlaceholder', {
|
||||
defaultMessage: 'Add a Note',
|
||||
});
|
||||
|
||||
export const ADDED_A_NOTE = i18n.translate('xpack.secops.notes.addedANoteLabel', {
|
||||
defaultMessage: 'Added a Note',
|
||||
});
|
||||
|
||||
export const NOTE = i18n.translate('xpack.secops.notes.noteTitle', {
|
||||
defaultMessage: 'Note',
|
||||
});
|
||||
|
||||
export const PREVIEW_MARKDOWN = i18n.translate('xpack.secops.notes.previewMarkdownTitle', {
|
||||
defaultMessage: 'Preview (Markdown)',
|
||||
});
|
||||
|
||||
export const SEARCH_PLACEHOLDER = i18n.translate(
|
||||
'xpack.secops.notes.search.FilterByUserOrNotePlaceholder',
|
||||
{
|
||||
defaultMessage: 'Filter by User or Note',
|
||||
}
|
||||
);
|
||||
|
||||
export const CANCEL = i18n.translate('xpack.secops.notes.cancelButtonLabel', {
|
||||
defaultMessage: 'Cancel',
|
||||
});
|
||||
|
||||
export const COPY_TO_CLIPBOARD = i18n.translate('xpack.secops.notes.copyToClipboardButtonLabel', {
|
||||
defaultMessage: 'Copy to Clipboard',
|
||||
});
|
|
@ -1,55 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the Elastic License;
|
||||
* you may not use this file except in compliance with the Elastic License.
|
||||
*/
|
||||
|
||||
import { i18n } from '@kbn/i18n';
|
||||
|
||||
export const SUMMARY = i18n.translate('xpack.secops.hostDetails.summary', {
|
||||
defaultMessage: 'Summary',
|
||||
});
|
||||
|
||||
export const NAME = i18n.translate('xpack.secops.hostDetails.name', {
|
||||
defaultMessage: 'Name',
|
||||
});
|
||||
|
||||
export const LAST_BEAT = i18n.translate('xpack.secops.hostDetails.lastBeat', {
|
||||
defaultMessage: 'Last Beat',
|
||||
});
|
||||
|
||||
export const ID = i18n.translate('xpack.secops.hostDetails.id', {
|
||||
defaultMessage: 'Id',
|
||||
});
|
||||
|
||||
export const IP_ADDRESS = i18n.translate('xpack.secops.hostDetails.ipAddress', {
|
||||
defaultMessage: 'IP Address',
|
||||
});
|
||||
|
||||
export const MAC_ADDRESS = i18n.translate('xpack.secops.hostDetails.macAddress', {
|
||||
defaultMessage: 'MAC Addr',
|
||||
});
|
||||
|
||||
export const TYPE = i18n.translate('xpack.secops.authenticationsTable.type', {
|
||||
defaultMessage: 'Type',
|
||||
});
|
||||
|
||||
export const PLATFORM = i18n.translate('xpack.secops.hostDetails.platform', {
|
||||
defaultMessage: 'Platform',
|
||||
});
|
||||
|
||||
export const OS_NAME = i18n.translate('xpack.secops.hostDetails.osName', {
|
||||
defaultMessage: 'OS Name',
|
||||
});
|
||||
|
||||
export const FAMILY = i18n.translate('xpack.secops.hostDetails.family', {
|
||||
defaultMessage: 'Family',
|
||||
});
|
||||
|
||||
export const VERSION = i18n.translate('xpack.secops.hostDetails.version', {
|
||||
defaultMessage: 'Version',
|
||||
});
|
||||
|
||||
export const ARCHITECTURE = i18n.translate('xpack.secops.hostDetails.architecture', {
|
||||
defaultMessage: 'Architecture',
|
||||
});
|
|
@ -1,84 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the Elastic License;
|
||||
* you may not use this file except in compliance with the Elastic License.
|
||||
*/
|
||||
|
||||
import { i18n } from '@kbn/i18n';
|
||||
|
||||
export const LAST_BEAT = i18n.translate('xpack.secops.network.ipDetails.ipOverview.lastBeatTitle', {
|
||||
defaultMessage: 'Last Beat',
|
||||
});
|
||||
|
||||
export const LOCATION = i18n.translate('xpack.secops.network.ipDetails.ipOverview.locationTitle', {
|
||||
defaultMessage: 'Location',
|
||||
});
|
||||
|
||||
export const AUTONOMOUS_SYSTEM = i18n.translate(
|
||||
'xpack.secops.network.ipDetails.ipOverview.autonomousSystemTitle',
|
||||
{
|
||||
defaultMessage: 'Autonomous System',
|
||||
}
|
||||
);
|
||||
|
||||
export const FIRST_SEEN = i18n.translate(
|
||||
'xpack.secops.network.ipDetails.ipOverview.firstSeenTitle',
|
||||
{
|
||||
defaultMessage: 'First Seen',
|
||||
}
|
||||
);
|
||||
|
||||
export const LAST_SEEN = i18n.translate('xpack.secops.network.ipDetails.ipOverview.lastSeenTitle', {
|
||||
defaultMessage: 'Last Seen',
|
||||
});
|
||||
|
||||
export const HOST_ID = i18n.translate('xpack.secops.network.ipDetails.ipOverview.hostIdTitle', {
|
||||
defaultMessage: 'Host ID',
|
||||
});
|
||||
|
||||
export const HOST_NAME = i18n.translate('xpack.secops.network.ipDetails.ipOverview.hostNameTitle', {
|
||||
defaultMessage: 'Host Name',
|
||||
});
|
||||
|
||||
export const WHOIS = i18n.translate('xpack.secops.network.ipDetails.ipOverview.whoIsTitle', {
|
||||
defaultMessage: 'WhoIs',
|
||||
});
|
||||
|
||||
export const VIEW_WHOIS = i18n.translate(
|
||||
'xpack.secops.network.ipDetails.ipOverview.viewWhoisTitle',
|
||||
{
|
||||
defaultMessage: 'View at iana.org',
|
||||
}
|
||||
);
|
||||
export const VIEW_VIRUS_TOTAL = i18n.translate(
|
||||
'xpack.secops.network.ipDetails.ipOverview.viewVirusTotalTitle.',
|
||||
{
|
||||
defaultMessage: 'View at virustotal.com',
|
||||
}
|
||||
);
|
||||
export const VIEW_TALOS_INTELLIGENCE = i18n.translate(
|
||||
'xpack.secops.network.ipDetails.ipOverview.viewTalosIntelligenceTitle',
|
||||
{
|
||||
defaultMessage: 'View at talosIntelligence.com',
|
||||
}
|
||||
);
|
||||
|
||||
export const REPUTATION = i18n.translate(
|
||||
'xpack.secops.network.ipDetails.ipOverview.ipReputationTitle',
|
||||
{
|
||||
defaultMessage: 'Reputation',
|
||||
}
|
||||
);
|
||||
|
||||
export const AS_SOURCE = i18n.translate(
|
||||
'xpack.secops.network.ipDetails.ipOverview.asSourceDropDownOptionLabel',
|
||||
{
|
||||
defaultMessage: 'As Source',
|
||||
}
|
||||
);
|
||||
export const AS_DESTINATION = i18n.translate(
|
||||
'xpack.secops.network.ipDetails.ipOverview.asDestinationDropDownOptionLabel',
|
||||
{
|
||||
defaultMessage: 'As Destination',
|
||||
}
|
||||
);
|
|
@ -1,99 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the Elastic License;
|
||||
* you may not use this file except in compliance with the Elastic License.
|
||||
*/
|
||||
|
||||
import { i18n } from '@kbn/i18n';
|
||||
|
||||
export const AND = i18n.translate('xpack.secops.dataProviders.and', {
|
||||
defaultMessage: 'AND',
|
||||
});
|
||||
|
||||
export const DELETE_DATA_PROVIDER = i18n.translate(
|
||||
'xpack.secops.dataProviders.deleteDataProvider',
|
||||
{
|
||||
defaultMessage: 'Delete',
|
||||
}
|
||||
);
|
||||
export const ADD = i18n.translate('xpack.secops.dataProviders.add', {
|
||||
defaultMessage: 'Add',
|
||||
});
|
||||
|
||||
export const DROP_HERE = i18n.translate('xpack.secops.dataProviders.dropHere', {
|
||||
defaultMessage: 'Drop here',
|
||||
});
|
||||
|
||||
export const DROP_ANYTHING = i18n.translate('xpack.secops.dataProviders.dropAnything', {
|
||||
defaultMessage: 'Drop anything',
|
||||
});
|
||||
|
||||
export const EXCLUDE_DATA_PROVIDER = i18n.translate(
|
||||
'xpack.secops.dataProviders.excludeDataProvider',
|
||||
{
|
||||
defaultMessage: 'Exclude results',
|
||||
}
|
||||
);
|
||||
|
||||
export const HIGHLIGHTED = i18n.translate('xpack.secops.dataProviders.highlighted', {
|
||||
defaultMessage: 'highlighted',
|
||||
});
|
||||
|
||||
export const HERE_TO_BUILD_AN = i18n.translate('xpack.secops.dataProviders.hereToBuildAn', {
|
||||
defaultMessage: 'here to build an',
|
||||
});
|
||||
|
||||
export const TO_BUILD_AN = i18n.translate('xpack.secops.dataProviders.toBuildAn', {
|
||||
defaultMessage: 'to build an',
|
||||
});
|
||||
|
||||
export const INCLUDE_DATA_PROVIDER = i18n.translate(
|
||||
'xpack.secops.dataProviders.includeDataProvider',
|
||||
{
|
||||
defaultMessage: 'Include results',
|
||||
}
|
||||
);
|
||||
|
||||
export const NOT = i18n.translate('xpack.secops.dataProviders.not', {
|
||||
defaultMessage: 'not',
|
||||
});
|
||||
|
||||
export const OR = i18n.translate('xpack.secops.dataProviders.or', {
|
||||
defaultMessage: 'or',
|
||||
});
|
||||
|
||||
export const QUERY = i18n.translate('xpack.secops.dataProviders.query', {
|
||||
defaultMessage: 'query',
|
||||
});
|
||||
|
||||
export const TOGGLE = i18n.translate('xpack.secops.dataProviders.toggle', {
|
||||
defaultMessage: 'toggle',
|
||||
});
|
||||
|
||||
export const RE_ENABLE_DATA_PROVIDER = i18n.translate(
|
||||
'xpack.secops.dataProviders.reEnableDataProvider',
|
||||
{
|
||||
defaultMessage: 'Re-enable',
|
||||
}
|
||||
);
|
||||
|
||||
export const REMOVE_DATA_PROVIDER = i18n.translate(
|
||||
'xpack.secops.dataProviders.removeDataProvider',
|
||||
{
|
||||
defaultMessage: 'Remove Data Provider',
|
||||
}
|
||||
);
|
||||
|
||||
export const SHOW_OPTIONS_DATA_PROVIDER = i18n.translate(
|
||||
'xpack.secops.dataProviders.showOptionsDataProvider',
|
||||
{
|
||||
defaultMessage: 'Show options for',
|
||||
}
|
||||
);
|
||||
|
||||
export const TEMPORARILY_DISABLE_DATA_PROVIDER = i18n.translate(
|
||||
'xpack.secops.dataProviders.temporaryDisableDataProvider',
|
||||
{
|
||||
defaultMessage: 'Temporarily disable',
|
||||
}
|
||||
);
|
|
@ -1,39 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the Elastic License;
|
||||
* you may not use this file except in compliance with the Elastic License.
|
||||
*/
|
||||
|
||||
import { i18n } from '@kbn/i18n';
|
||||
|
||||
export const LOADING_TIMELINE_DATA = i18n.translate('xpack.secops.footer.loadingTimelineData', {
|
||||
defaultMessage: 'Loading Timeline data',
|
||||
});
|
||||
|
||||
export const EVENTS = i18n.translate('xpack.secops.footer.events', {
|
||||
defaultMessage: 'Events',
|
||||
});
|
||||
|
||||
export const OF = i18n.translate('xpack.secops.footer.of', {
|
||||
defaultMessage: 'of',
|
||||
});
|
||||
|
||||
export const ROWS = i18n.translate('xpack.secops.footer.rows', {
|
||||
defaultMessage: 'rows',
|
||||
});
|
||||
|
||||
export const LOADING = i18n.translate('xpack.secops.footer.loadingLabel', {
|
||||
defaultMessage: 'Loading',
|
||||
});
|
||||
|
||||
export const LOAD_MORE = i18n.translate('xpack.secops.footer.loadMoreLabel', {
|
||||
defaultMessage: 'Load More',
|
||||
});
|
||||
|
||||
export const TOTAL_COUNT_OF_EVENTS = i18n.translate('xpack.secops.footer.totalCountOfEvents', {
|
||||
defaultMessage: 'events match the search criteria',
|
||||
});
|
||||
|
||||
export const UPDATED = i18n.translate('xpack.secops.footer.updated', {
|
||||
defaultMessage: 'Updated',
|
||||
});
|
|
@ -1,105 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the Elastic License;
|
||||
* you may not use this file except in compliance with the Elastic License.
|
||||
*/
|
||||
|
||||
import { i18n } from '@kbn/i18n';
|
||||
|
||||
export const TIMELINE_DESCRIPTION = i18n.translate(
|
||||
'xpack.secops.timeline.properties.timelineDescription',
|
||||
{
|
||||
defaultMessage: 'Timeline Description',
|
||||
}
|
||||
);
|
||||
|
||||
export const TITLE = i18n.translate('xpack.secops.timeline.properties.titleTitle', {
|
||||
defaultMessage: 'Title',
|
||||
});
|
||||
|
||||
export const FAVORITE = i18n.translate('xpack.secops.timeline.properties.favoriteTooltip', {
|
||||
defaultMessage: 'Favorite',
|
||||
});
|
||||
|
||||
export const NOT_A_FAVORITE = i18n.translate(
|
||||
'xpack.secops.timeline.properties.notAFavoriteTooltip',
|
||||
{
|
||||
defaultMessage: 'Not a Favorite',
|
||||
}
|
||||
);
|
||||
|
||||
export const TIMELINE_TITLE = i18n.translate(
|
||||
'xpack.secops.timeline.properties.timelineTitleAriaLabel',
|
||||
{
|
||||
defaultMessage: 'Timeline title',
|
||||
}
|
||||
);
|
||||
|
||||
export const UNTITLED_TIMELINE = i18n.translate(
|
||||
'xpack.secops.timeline.properties.untitledTimelinePlaceholder',
|
||||
{
|
||||
defaultMessage: 'Untitled Timeline',
|
||||
}
|
||||
);
|
||||
|
||||
export const DESCRIPTION = i18n.translate(
|
||||
'xpack.secops.timeline.properties.descriptionPlaceholder',
|
||||
{
|
||||
defaultMessage: 'Description',
|
||||
}
|
||||
);
|
||||
|
||||
export const DESCRIPTION_TOOL_TIP = i18n.translate(
|
||||
'xpack.secops.timeline.properties.descriptionTooltip',
|
||||
{
|
||||
defaultMessage: 'A summary of the events and notes in this Timeline',
|
||||
}
|
||||
);
|
||||
|
||||
export const HISTORY = i18n.translate('xpack.secops.timeline.properties.historyLabel', {
|
||||
defaultMessage: 'History',
|
||||
});
|
||||
|
||||
export const IS_VIEWING = i18n.translate('xpack.secops.timeline.properties.isViewingTooltip', {
|
||||
defaultMessage: 'is viewing this Timeline',
|
||||
});
|
||||
|
||||
export const NOTES = i18n.translate('xpack.secops.timeline.properties.notesButtonLabel', {
|
||||
defaultMessage: 'Notes',
|
||||
});
|
||||
|
||||
export const NOTES_TOOL_TIP = i18n.translate('xpack.secops.timeline.properties.notesToolTip', {
|
||||
defaultMessage: 'Add and review notes about this Timeline. Notes may also be added to events.',
|
||||
});
|
||||
|
||||
export const HISTORY_TOOL_TIP = i18n.translate('xpack.secops.timeline.properties.historyToolTip', {
|
||||
defaultMessage: 'The chronological history of actions related to this timeline',
|
||||
});
|
||||
|
||||
export const STREAM_LIVE_TOOL_TIP = i18n.translate(
|
||||
'xpack.secops.timeline.properties.streamLiveToolTip',
|
||||
{
|
||||
defaultMessage: 'Update the Timeline as new data arrives',
|
||||
}
|
||||
);
|
||||
|
||||
export const NEW_TIMELINE = i18n.translate(
|
||||
'xpack.secops.timeline.properties.newTimelineButtonLabel',
|
||||
{
|
||||
defaultMessage: 'New Timeline',
|
||||
}
|
||||
);
|
||||
|
||||
export const STREAM_LIVE = i18n.translate(
|
||||
'xpack.secops.timeline.properties.streamLiveButtonLabel',
|
||||
{
|
||||
defaultMessage: 'Stream Live',
|
||||
}
|
||||
);
|
||||
|
||||
export const NEW_TIMELINE_TOOL_TIP = i18n.translate(
|
||||
'xpack.secops.timeline.properties.newTimelineToolTip',
|
||||
{
|
||||
defaultMessage: 'Create a new timeline',
|
||||
}
|
||||
);
|
6
x-pack/plugins/siem/.gitattributes
vendored
Normal file
6
x-pack/plugins/siem/.gitattributes
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
# Auto-collapse generated files in GitHub
|
||||
# https://help.github.com/en/articles/customizing-how-changed-files-appear-on-github
|
||||
x-pack/plugins/siem/public/graphql/types.ts linguist-generated=true
|
||||
x-pack/plugins/siem/server/graphql/types.ts linguist-generated=true
|
||||
x-pack/plugins/siem/public/graphql/introspection.json linguist-generated=true
|
||||
|
|
@ -9,34 +9,32 @@ import { resolve } from 'path';
|
|||
|
||||
import { getConfigSchema, initServerWithKibana, KbnServer } from './server/kibana.index';
|
||||
|
||||
const APP_ID = 'secops';
|
||||
const APP_ID = 'siem';
|
||||
|
||||
// tslint:disable-next-line:no-any
|
||||
export function secops(kibana: any) {
|
||||
export function siem(kibana: any) {
|
||||
return new kibana.Plugin({
|
||||
id: APP_ID,
|
||||
configPrefix: 'xpack.secops',
|
||||
configPrefix: 'xpack.siem',
|
||||
publicDir: resolve(__dirname, 'public'),
|
||||
require: ['kibana', 'elasticsearch'],
|
||||
uiExports: {
|
||||
app: {
|
||||
description: 'Explore your security operations',
|
||||
main: 'plugins/secops/app',
|
||||
icon: 'plugins/secops/images/security_app.svg', // TODO: Use real SVG for logo (this is a fake url)
|
||||
euiIconType: 'securityApp',
|
||||
title: 'Sec Ops',
|
||||
description: 'Explore your SIEM App',
|
||||
main: 'plugins/siem/app',
|
||||
euiIconType: 'securityAnalyticsApp',
|
||||
title: 'SIEM',
|
||||
listed: false,
|
||||
url: `/app/${APP_ID}`,
|
||||
},
|
||||
home: ['plugins/secops/register_feature'],
|
||||
home: ['plugins/siem/register_feature'],
|
||||
links: [
|
||||
{
|
||||
description: 'Explore your security operations',
|
||||
icon: 'plugins/secops/images/security_app.svg', // TODO: Use real SVG for logo (this is a fake url)
|
||||
euiIconType: 'securityApp',
|
||||
id: 'secops',
|
||||
description: 'Explore your SIEM App',
|
||||
euiIconType: 'securityAnalyticsApp',
|
||||
id: 'siem',
|
||||
order: 9000,
|
||||
title: 'Sec Ops',
|
||||
title: 'SIEM',
|
||||
url: `/app/${APP_ID}`,
|
||||
},
|
||||
],
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"author": "Elastic",
|
||||
"name": "sec-ops",
|
||||
"name": "siem",
|
||||
"version": "7.0.0-alpha1",
|
||||
"scripts": {
|
||||
"build-graphql-types": "node scripts/generate_types_from_graphql.js"
|
|
@ -6,10 +6,10 @@
|
|||
|
||||
import { i18n } from '@kbn/i18n';
|
||||
|
||||
export const AND = i18n.translate('xpack.secops.andOrBadge.and', {
|
||||
export const AND = i18n.translate('xpack.siem.andOrBadge.and', {
|
||||
defaultMessage: 'AND',
|
||||
});
|
||||
|
||||
export const OR = i18n.translate('xpack.secops.andOrBadge.or', {
|
||||
export const OR = i18n.translate('xpack.siem.andOrBadge.or', {
|
||||
defaultMessage: 'OR',
|
||||
});
|
|
@ -6,10 +6,10 @@
|
|||
|
||||
import { i18n } from '@kbn/i18n';
|
||||
|
||||
export const ADD_DATA = i18n.translate('xpack.secops.appSettings.addData', {
|
||||
export const ADD_DATA = i18n.translate('xpack.siem.appSettings.addData', {
|
||||
defaultMessage: 'Add Data',
|
||||
});
|
||||
|
||||
export const THEME = i18n.translate('xpack.secops.appSettings.theme', {
|
||||
export const THEME = i18n.translate('xpack.siem.appSettings.theme', {
|
||||
defaultMessage: 'Theme',
|
||||
});
|
|
@ -6,10 +6,10 @@
|
|||
|
||||
import { i18n } from '@kbn/i18n';
|
||||
|
||||
export const CLIENT_CERT = i18n.translate('xpack.secops.certificate.fingerprint.clientCertLabel', {
|
||||
export const CLIENT_CERT = i18n.translate('xpack.siem.certificate.fingerprint.clientCertLabel', {
|
||||
defaultMessage: 'client cert',
|
||||
});
|
||||
|
||||
export const SERVER_CERT = i18n.translate('xpack.secops.certificate.fingerprint.serverCertLabel', {
|
||||
export const SERVER_CERT = i18n.translate('xpack.siem.certificate.fingerprint.serverCertLabel', {
|
||||
defaultMessage: 'server cert',
|
||||
});
|
|
@ -6,6 +6,6 @@
|
|||
|
||||
import { i18n } from '@kbn/i18n';
|
||||
|
||||
export const EMPTY_STRING = i18n.translate('xpack.secops.emptyString.emptyStringDescription', {
|
||||
export const EMPTY_STRING = i18n.translate('xpack.siem.emptyString.emptyStringDescription', {
|
||||
defaultMessage: 'Empty String',
|
||||
});
|
|
@ -0,0 +1,35 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the Elastic License;
|
||||
* you may not use this file except in compliance with the Elastic License.
|
||||
*/
|
||||
|
||||
import { i18n } from '@kbn/i18n';
|
||||
|
||||
export const TABLE = i18n.translate('xpack.siem.eventDetails.table', {
|
||||
defaultMessage: 'Table',
|
||||
});
|
||||
|
||||
export const JSON_VIEW = i18n.translate('xpack.siem.eventDetails.jsonView', {
|
||||
defaultMessage: 'JSON View',
|
||||
});
|
||||
|
||||
export const FIELD = i18n.translate('xpack.siem.eventDetails.field', {
|
||||
defaultMessage: 'Field',
|
||||
});
|
||||
|
||||
export const VALUE = i18n.translate('xpack.siem.eventDetails.value', {
|
||||
defaultMessage: 'Value',
|
||||
});
|
||||
|
||||
export const DESCRIPTION = i18n.translate('xpack.siem.eventDetails.description', {
|
||||
defaultMessage: 'Description',
|
||||
});
|
||||
|
||||
export const PLACEHOLDER = i18n.translate('xpack.siem.eventDetails.filter.placeholder', {
|
||||
defaultMessage: 'Filter by Field, Value, or Description...',
|
||||
});
|
||||
|
||||
export const COPY_TO_CLIPBOARD = i18n.translate('xpack.siem.eventDetails.copyToClipboard', {
|
||||
defaultMessage: 'Copy to Clipboard',
|
||||
});
|
|
@ -6,6 +6,6 @@
|
|||
|
||||
import { i18n } from '@kbn/i18n';
|
||||
|
||||
export const TIMELINE = i18n.translate('xpack.secops.flyout.button.timeline', {
|
||||
export const TIMELINE = i18n.translate('xpack.siem.flyout.button.timeline', {
|
||||
defaultMessage: 'timeline',
|
||||
});
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue