You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/settings/reporting-settings.asciidoc
+12-4Lines changed: 12 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,9 @@ security is enabled, <<xpack-security-encryptionKey, `xpack.security.encryptionK
83
83
Specifies the {time-units}[time] that the reporting poller waits between polling the index for any pending Reporting jobs. Can be specified as number of milliseconds. Defaults to `3s`.
{time-units}[How long] each worker has to produce a report. If your machine is slow or under heavy load, you might need to increase this timeout. If a Reporting job execution goes over this time limit, the job is marked as a failure and no download will be available. Can be specified as number of milliseconds. Defaults to `2m`.
86
+
{time-units}[How long] each worker has to produce a report. If your machine is slow or under heavy load, you
87
+
might need to increase this timeout. If a Reporting job execution goes over this time limit, the job is marked
88
+
as a failure and no download will be available. Can be specified as number of milliseconds. Defaults to `4m`.
87
89
88
90
[float]
89
91
[[reporting-capture-settings]]
@@ -92,13 +94,19 @@ Specifies the {time-units}[time] that the reporting poller waits between polling
92
94
Reporting uses an internal "screenshotting" plugin to capture screenshots from {kib}. The following settings control the capturing process.
Specify the {time-units}[time] to allow the Reporting browser to wait for the "Loading..." screen to dismiss and find the initial data for the page. If the time is exceeded, a screenshot is captured showing the current page, and the download link shows a warning message. Can be specified as number of milliseconds. Defaults to `1m`.
97
+
Specify the {time-units}[time] to allow the Reporting browser to wait for the "Loading..." screen to dismiss
98
+
and find the initial data for the page. If the time is exceeded, a screenshot is captured showing the current
99
+
page, and the download link shows a warning message. Can be specified as number of milliseconds. Defaults to `1m`.
Specify the {time-units}[time] to allow the Reporting browser to wait for all visualization panels to load on the page. If the time is exceeded, a screenshot is captured showing the current page, and the download link shows a warning message. Can be specified as number of milliseconds. Defaults to `30s`.
102
+
Specify the {time-units}[time] to allow the Reporting browser to wait for all visualization panels to load on
103
+
the page. If the time is exceeded, a screenshot is captured showing the current page, and the download link
104
+
shows a warning message. Can be specified as number of milliseconds. Defaults to `1m`.
Specify the {time-units}[time] to allow the Reporting browser to wait for all visualizations to fetch and render the data. If the time is exceeded, a screenshot is captured showing the current page, and the download link shows a warning message. Can be specified as number of milliseconds. Defaults to `30s`.
107
+
Specify the {time-units}[time] to allow the Reporting browser to wait for all visualizations to fetch and
108
+
render the data. If the time is exceeded, a screenshot is captured showing the current page, and the download
109
+
link shows a warning message. Can be specified as number of milliseconds. Defaults to `2m`.
102
110
103
111
NOTE: If any timeouts from `xpack.screenshotting.capture.timeouts.*` settings occur when
104
112
running a report job, Reporting will log the error and try to continue
Copy file name to clipboardExpand all lines: packages/kbn-securitysolution-exception-list-components/README.md
+14-4Lines changed: 14 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
# @kbn/securitysolution-exception-list-components
2
2
3
-
This is where the building UI components of the Exception-List live
4
-
Most of the components here are imported from `x-pack/plugins/security_solutions/public/detection_engine`
3
+
Common exceptions' components
5
4
6
5
# Aim
7
6
8
-
TODO
7
+
- To have most of the Exceptions' components in one place, to be shared accross multiple pages and used for different logic.
8
+
- This `package` holds the presetational part of the components only as the API or the logic part should reside under the consumer page
9
9
10
10
# Pattern used
11
11
@@ -14,9 +14,19 @@ component
14
14
index.tsx
15
15
index.styles.ts <-- to hold styles if the component has many custom styles
16
16
use_component.ts <-- for logic if the Presentational Component has logic
17
-
index.test.tsx
17
+
component.test.tsx
18
18
use_component.test.tsx
19
+
19
20
```
21
+
# Testing
22
+
23
+
In order to unify our testing tools, we configured only two libraries, the `React-Testing-Library` to test the component UI part and the `Reat-Testing-Hooks` to test the component's UI interactions
24
+
25
+
# Styling
26
+
27
+
In order to follow the `KBN-Packages's` recommendations, to define a custom CSS we can only use the `@emotion/react` or `@emotion/css` libraries
0 commit comments