Skip to content

Commit

Permalink
Fixes outdated URLs (#52104)
Browse files Browse the repository at this point in the history
  • Loading branch information
lcawl authored Dec 4, 2019
1 parent 91df8c0 commit 04ec9a2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion x-pack/legacy/plugins/actions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ This action type interfaces with the [Slack Incoming Webhooks feature](https://a

## index, action id: `.index`

The config and params properties are modelled after the [Watcher Index Action](https://www.elastic.co/guide/en/elastic-stack-overview/master/actions-index.html). The index can be set in the config or params, and if set in config, then the index set in the params will be ignored.
The config and params properties are modelled after the [Watcher Index Action](https://www.elastic.co/guide/en/elasticsearch/reference/master/actions-index.html). The index can be set in the config or params, and if set in config, then the index set in the params will be ignored.

#### config properties

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const ConfigSchema = schema.object({

export type ActionParamsType = TypeOf<typeof ParamsSchema>;

// see: https://www.elastic.co/guide/en/elastic-stack-overview/current/actions-index.html
// see: https://www.elastic.co/guide/en/elasticsearch/reference/current/actions-index.html
// - timeout not added here, as this seems to be a generic thing we want to do
// eventually: https://github.com/elastic/kibana/projects/26#card-24087404
const ParamsSchema = schema.object({
Expand Down
8 changes: 4 additions & 4 deletions x-pack/legacy/plugins/security/public/documentation_links.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@

import { ELASTIC_WEBSITE_URL, DOC_LINK_VERSION } from 'ui/documentation_links';

const STACK_OVERVIEW_URL = `${ELASTIC_WEBSITE_URL}guide/en/elastic-stack-overview/${DOC_LINK_VERSION}`;
const ES_REF_URL = `${ELASTIC_WEBSITE_URL}guide/en/elasticsearch/reference/${DOC_LINK_VERSION}`;

export const documentationLinks = {
dashboardViewMode: `${ELASTIC_WEBSITE_URL}guide/en/kibana/${DOC_LINK_VERSION}/xpack-view-modes.html`,
esClusterPrivileges: `${STACK_OVERVIEW_URL}/security-privileges.html#privileges-list-cluster`,
esIndicesPrivileges: `${STACK_OVERVIEW_URL}/security-privileges.html#privileges-list-indices`,
esRunAsPrivileges: `${STACK_OVERVIEW_URL}/security-privileges.html#_run_as_privilege`,
esClusterPrivileges: `${ES_REF_URL}/security-privileges.html#privileges-list-cluster`,
esIndicesPrivileges: `${ES_REF_URL}/security-privileges.html#privileges-list-indices`,
esRunAsPrivileges: `${ES_REF_URL}/security-privileges.html#_run_as_privilege`,
};

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

0 comments on commit 04ec9a2

Please sign in to comment.