Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
insider-attack
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
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
Radek Ošlejšek
insider-attack
Commits
1a8fae6c
Commit
1a8fae6c
authored
3 years ago
by
Valdemar Švábenský
Browse files
Options
Downloads
Patches
Plain Diff
Revert back to using separate logging roles, include bash-logging 1.0.3
parent
464a8af0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
provisioning/playbook.yml
+16
-5
16 additions, 5 deletions
provisioning/playbook.yml
provisioning/requirements.yml
+13
-3
13 additions, 3 deletions
provisioning/requirements.yml
with
29 additions
and
8 deletions
provisioning/playbook.yml
+
16
−
5
View file @
1a8fae6c
...
...
@@ -42,7 +42,7 @@
roles
:
-
chrony
-
name
:
setup logging
-
name
:
setup logging
bash
hosts
:
-
attacker
-
web
...
...
@@ -51,11 +51,22 @@
become
:
yes
become_user
:
root
vars
:
student_id
:
0
sandbox_name
:
kobylka-3302-local
central_syslog_ip
:
78.128.251.179
sandbox_name
:
locust-3302-local
roles
:
-
role
:
sandbox-logging
-
role
:
sandbox-logging
-forward
slf_destination
:
'
{%
if
hostvars["man"]
is
defined
-%}
{{
hostvars["man"].ansible_host
}}
{%-
else
-%}
{{
central_syslog_ip
}}
{%-
endif
%}'
slf_sandbox_id
:
"
{{
kypo_global_sandbox_allocation_unit_id
|
default(student_id)
|
default(0)
}}"
slf_sandbox_id
:
"
{{
kypo_global_sandbox_allocation_unit_id
|
default(student_id)
}}"
slf_sandbox_name
:
'
{{
kypo_global_sandbox_name
|
default(sandbox_name)
}}'
become
:
yes
slf_pool_id
:
'
{{
kypo_global_pool_id
|
default(None)
}}'
-
role
:
sandbox-logging-bash
-
name
:
setup logging msf
hosts
:
-
attacker
gather_facts
:
yes
become
:
yes
become_user
:
root
roles
:
-
role
:
sandbox-logging-msf
This diff is collapsed.
Click to expand it.
provisioning/requirements.yml
+
13
−
3
View file @
1a8fae6c
-
name
:
sandbox-logging
src
:
https://gitlab.ics.muni.cz/muni-kypo/ansible-roles/sandbox-logging.git
-
name
:
sandbox-logging
-bash
src
:
https://gitlab.ics.muni.cz/muni-kypo/ansible-roles/sandbox-logging
-bash
.git
scm
:
git
version
:
1.0.0
version
:
1.0.3
-
name
:
sandbox-logging-msf
src
:
https://gitlab.ics.muni.cz/muni-kypo/ansible-roles/sandbox-logging-msf.git
scm
:
git
version
:
1.0.1
-
name
:
sandbox-logging-forward
src
:
https://gitlab.ics.muni.cz/muni-kypo/ansible-roles/sandbox-logging-forward.git
scm
:
git
version
:
1.0.1
-
name
:
chrony
src
:
https://gitlab.ics.muni.cz/muni-kypo/ansible-roles/chrony.git
...
...
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