Skip to content

Commit

Permalink
[7.10][Telemetry] Display collected security event sample (#78963)
Browse files Browse the repository at this point in the history
* Add security example to usage data opt in panel.

* Update translations.

* Fix docs.

* Fix broken type.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
  • Loading branch information
pjhampton and elasticmachine committed Oct 2, 2020
1 parent d772c8c commit e52884c
Show file tree
Hide file tree
Showing 10 changed files with 491 additions and 21 deletions.
2 changes: 1 addition & 1 deletion docs/developer/plugin-list.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ It also provides a stateful version of it on the start contract.
|{kib-repo}blob/{branch}/src/plugins/telemetry_management_section/README.md[telemetryManagementSection]
|This plugin adds the Advanced Settings section for the Usage Data collection (aka Telemetry).
|This plugin adds the Advanced Settings section for the Usage and Security Data collection (aka Telemetry).
|{kib-repo}blob/{branch}/src/plugins/tile_map[tileMap]
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/telemetry_management_section/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Telemetry Management Section

This plugin adds the Advanced Settings section for the Usage Data collection (aka Telemetry).
This plugin adds the Advanced Settings section for the Usage and Security Data collection (aka Telemetry).

The reason for having it separated from the `telemetry` plugin is to avoid circular dependencies. The plugin `advancedSettings` depends on the `home` app that depends on the `telemetry` plugin because of the telemetry banner in the welcome screen.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
import React from 'react';
import { shallowWithIntl } from 'test_utils/enzyme_helpers';
import { OptInSecurityExampleFlyout } from './opt_in_security_example_flyout';

describe('security flyout renders as expected', () => {
it('renders as expected', () => {
expect(shallowWithIntl(<OptInSecurityExampleFlyout onClose={jest.fn()} />)).toMatchSnapshot();
});
});
Loading

0 comments on commit e52884c

Please sign in to comment.