Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
docker-elk
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Hiep Nguyen
docker-elk
Commits
967ac102
Unverified
Commit
967ac102
authored
Jan 04, 2018
by
Antoine Cotten
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Link to the demo users/roles documentation page
Closes #221
parent
95e6daeb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
.travis.yml
.travis.yml
+1
-1
README.md
README.md
+3
-7
No files found.
.travis.yml
View file @
967ac102
...
@@ -31,5 +31,5 @@ script:
...
@@ -31,5 +31,5 @@ script:
-
sleep 30
-
sleep 30
-
docker-compose exec -T elasticsearch bin/init_sg.sh
-
docker-compose exec -T elasticsearch bin/init_sg.sh
-
docker-compose logs
-
docker-compose logs
-
curl --retry 10 --retry-delay 5 -D- http://localhost:9200/ -u kibana
server:kibanaserver
-
curl --retry 10 --retry-delay 5 -D- http://localhost:9200/ -u kibana
ro:kibanaro
-
curl --retry 10 --retry-delay 5 -D- http://localhost:5601/api/status
-
curl --retry 10 --retry-delay 5 -D- http://localhost:5601/api/status
README.md
View file @
967ac102
...
@@ -24,12 +24,8 @@ Default configuration of Search Guard in this repo is:
...
@@ -24,12 +24,8 @@ Default configuration of Search Guard in this repo is:
*
Hostname verification disabled
*
Hostname verification disabled
*
Self-signed SSL certificate for transport protocol (do not use in production)
*
Self-signed SSL certificate for transport protocol (do not use in production)
Existing users:
**
Check the
[
Demo users and roles
](
http://docs.search-guard.com/latest/demo-users-roles
)
documentation page for a list
and description of the built-in Search Guard users.
**
*
*admin*
(password:
*admin*
): No restrictions for this user, can do everything
*
*logstash*
(password:
*logstash*
): CRUD permissions for logstash-
\*
index
*
*kibanaro*
(password:
*kibanaro)*
: Kibana user which can read every index
*
*kibanaserver*
(password:
*kibanaserver*
): User for the Kibana server (all permissions for .kibana index)
## Contents
## Contents
...
@@ -140,7 +136,7 @@ $ curl -XPOST -D- 'http://localhost:5601/api/v1/auth/login' \
...
@@ -140,7 +136,7 @@ $ curl -XPOST -D- 'http://localhost:5601/api/v1/auth/login' \
-c
/tmp/sg_cookies
\
-c
/tmp/sg_cookies
\
-H
'Content-Type: application/json'
\
-H
'Content-Type: application/json'
\
-H
'kbn-version: 6.1.0'
\
-H
'kbn-version: 6.1.0'
\
-d
'{"username":"kibana
server","password":"kibanaserver
"}'
-d
'{"username":"kibana
ro","password":"kibanaro
"}'
```
```
Create an index pattern via the Kibana API:
Create an index pattern via the Kibana API:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment