Skip to content

Commit

Permalink
Merge branch 'main' into 142435-add-is-one-of-operstor
Browse files Browse the repository at this point in the history
  • Loading branch information
Kristof-Pierre Cummings committed Nov 15, 2022
2 parents 8c4ad00 + 928674a commit 7307630
Show file tree
Hide file tree
Showing 98 changed files with 2,740 additions and 699 deletions.
26 changes: 13 additions & 13 deletions docs/management/connectors/action-types/tines.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ The Tines connector uses Tines's https://www.tines.com/docs/actions/types/webhoo

Tines connectors have the following configuration properties.

URL:: The Tines tenant URL. If you are using the <<action-settings, `xpack.actions.allowedHosts`>> setting, make sure the hostname is added to the allowed hosts.
URL:: The Tines tenant URL. If you are using the <<action-settings,`xpack.actions.allowedHosts`>> setting, make sure the hostname is added to the allowed hosts.
Email:: The email used to sign in to Tines.
API Token:: A Tines API token created by the user. https://www.tines.com/api/authentication#generate-api-token[Docs]
API Token:: A Tines API token created by the user. For more information, refer to the https://www.tines.com/api/authentication#generate-api-token[Tines documentation].

[role="screenshot"]
image::../images/tines-connector.png[Tines connector]
image::management/connectors/images/tines-connector.png[Tines connector]

[float]
[[Preconfigured-tines-configuration]]
Expand Down Expand Up @@ -57,30 +57,30 @@ Webhook:: The Webhook action from the previous story that will receive the event
Test Tines action parameters.

[role="screenshot"]
image::../images/tines-params-test.png[Tines params test]
image::management/connectors/images/tines-params-test.png[Tines params test]

[float]
[[tines-action-format]]
=== Actions

Once the Tines connector has been configured in an Alerting Rule.
Once the Tines connector has been configured in an alerting rule:

[role="screenshot"]
image::../images/tines-alerting.png[Tines rule alert]
image::management/connectors/images/tines-alerting.png[Tines rule alert]

It will send a POST request to the Tines webhook action on every action execution with at least one result.
It will send a POST request to the Tines webhook action on every action that runs with at least one result.

[float]
[[webhookUrlFallback-tines-configuration]]
==== Webhook URL fallback

It is possible for the requests to the Tines API, to get the stories and webhooks for the selectors, to hit the 500 results limit; in this scenario, the webhook URL fallback text field will be displayed.
Users can still use the selectors if the story or webhook exists in the 500 options loaded. Otherwise, users can paste the webhook URL in the test input field, it can be copied from the Tines webhook configuration.
It is possible that requests to the Tines API to get the stories and webhooks for the selectors hit the 500 results limit. In this scenario, the webhook URL fallback text field will be displayed.
You can still use the selectors if the story or webhook exists in the 500 options loaded. Otherwise, you can paste the webhook URL in the test input field; it can be copied from the Tines webhook configuration.

When the webhook URL is defined, the connector will use it directly in the execution stage, and the story and webhook selectors will be disabled and ignored. To re-enable the story and webhook selectors, remove the webhook URL value.
When the webhook URL is defined, the connector will use it directly when an action runs, and the story and webhook selectors will be disabled and ignored. To re-enable the story and webhook selectors, remove the webhook URL value.

[role="screenshot"]
image::../images/tines-webhook-url-fallback.png[Tines Webhook URL fallback]
image::management/connectors/images/tines-webhook-url-fallback.png[Tines Webhook URL fallback]

[float]
[[tines-story-library]]
Expand All @@ -90,15 +90,15 @@ In order to simplify the integration with Elastic, Tines offers a set of pre-def
They can be found by searching for "Elastic" in the Tines Story library:

[role="screenshot"]
image::../images/tines_elastic_stories.png[Tines Elastic stories]
image::management/connectors/images/tines_elastic_stories.png[Tines Elastic stories]

They can be imported directly into your Tines tenant.

=== Format

Tines connector will send the data in JSON format.

The message contains execution specific fields, such as `alertId`, `date`, `_index`, `kibanaBaseUrl`, along with the `rule` and `params` objects.
The message contains fields such as `alertId`, `date`, `_index`, `kibanaBaseUrl`, along with the `rule` and `params` objects.

The number of alerts (signals) can be found at `state.signals_count`.

Expand Down
Binary file modified docs/management/connectors/images/connector-delete.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/management/connectors/images/connector-filter-by-type.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/management/connectors/images/connector-listing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/management/connectors/index.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ include::action-types/webhook.asciidoc[]
include::action-types/cases-webhook.asciidoc[leveloffset=+1]
include::action-types/opsgenie.asciidoc[]
include::action-types/xmatters.asciidoc[]
include::action-types/tines.asciidoc[]
include::action-types/tines.asciidoc[leveloffset=+1]
include::pre-configured-connectors.asciidoc[]
Binary file modified docs/user/alerting/images/alerting-overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/user/alerting/images/individual-enable-disable.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/user/alerting/images/rules-and-connectors-ui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/user/alerting/images/snooze-panel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ describe('ExceptionItemCardMetaInfo', () => {
item={getExceptionListItemSchemaMock()}
rules={[
{
exception_list: [
exceptions_list: [
{
id: '123',
list_id: 'i_exist',
Expand All @@ -98,7 +98,7 @@ describe('ExceptionItemCardMetaInfo', () => {
rule_id: 'rule-2',
},
{
exception_list: [
exceptions_list: [
{
id: '123',
list_id: 'i_exist',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const ExceptionItemsComponent: FC<ExceptionItemsProps> = ({
css={exceptionItemCss}
data-test-subj={`${dataTestSubj || ''}exceptionsContainer`}
direction="column"
gutterSize="m"
gutterSize="s"
>
{exceptions.map((exception) => (
<EuiFlexItem
Expand Down
Loading

0 comments on commit 7307630

Please sign in to comment.