Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
soctools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
gn4-3-wp8-t3.1 SOC
soctools
Commits
959a87c9
Commit
959a87c9
authored
4 years ago
by
Arne Øslebø
Browse files
Options
Downloads
Patches
Plain Diff
fixed problem with misp
parent
fe59cfd5
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/misp/tasks/config.yml
+10
-4
10 additions, 4 deletions
roles/misp/tasks/config.yml
with
10 additions
and
4 deletions
roles/misp/tasks/config.yml
+
10
−
4
View file @
959a87c9
...
@@ -14,18 +14,24 @@
...
@@ -14,18 +14,24 @@
-
name
:
Init default user
-
name
:
Init default user
shell
:
'
/var/www/MISP/app/Console/cake
user_init
|
/usr/bin/tail
-n1'
shell
:
'
/var/www/MISP/app/Console/cake
user_init
|
/usr/bin/tail
-n1'
register
:
command
_output
register
:
init
_output
ignore_errors
:
True
ignore_errors
:
True
-
name
:
Set API key fact
set_fact
:
misp_api_key
:
"
{{
init_output.stdout
}}"
when
:
'
"initialised"
not
in
init_output.stdout'
-
name
:
Get API key
-
name
:
Get API key
shell
:
'
/var/www/MISP/app/Console/cake
Admin
getAuthkey
admin@admin.test
|
/usr/bin/tail
-n1'
shell
:
'
/var/www/MISP/app/Console/cake
Admin
getAuthkey
admin@admin.test
|
/usr/bin/tail
-n1'
register
:
command
_output
register
:
get
_output
ignore_errors
:
True
ignore_errors
:
True
when
:
'
"initialised"
in
command
_output.stdout'
when
:
'
"initialised"
in
init
_output.stdout'
-
name
:
Set API key fact
-
name
:
Set API key fact
set_fact
:
set_fact
:
misp_api_key
:
"
{{
command_output.stdout
}}"
misp_api_key
:
"
{{
get_output.stdout
}}"
when
:
'
"initialised"
in
init_output.stdout'
-
name
:
add users
-
name
:
add users
uri
:
uri
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment