Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Wazuh + VAT Evidence Collector
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
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MEDINA
Public
Wazuh + VAT Evidence Collector
Commits
6186bb87
Commit
6186bb87
authored
2 years ago
by
Matevz Erzen
Browse files
Options
Downloads
Patches
Plain Diff
Updated clouditor host & port config
parent
cfc71e8d
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.env
+1
-0
1 addition, 0 deletions
.env
forward_evidence/clouditor_authentication.py
+2
-2
2 additions, 2 deletions
forward_evidence/clouditor_authentication.py
kubernetes/wazuh-vat-evidence-collector-configmap.yaml
+4
-3
4 additions, 3 deletions
kubernetes/wazuh-vat-evidence-collector-configmap.yaml
with
7 additions
and
5 deletions
.env
+
1
−
0
View file @
6186bb87
...
...
@@ -16,6 +16,7 @@ redis_queue=low
clouditor_host=192.168.33.14
clouditor_port=9090
clouditor_oauth2_host=192.168.33.14
clouditor_oauth2_port=8080
clouditor_client_id=clouditor
clouditor_client_secret=clouditor
...
...
This diff is collapsed.
Click to expand it.
forward_evidence/clouditor_authentication.py
+
2
−
2
View file @
6186bb87
...
...
@@ -4,7 +4,7 @@ import requests
import
urllib3
from
datetime
import
datetime
,
timedelta
CLOUDITOR_HOST
=
os
.
environ
.
get
(
"
clouditor_host
"
)
CLOUDITOR_
OAUTH2_
HOST
=
os
.
environ
.
get
(
"
clouditor_
oauth2_
host
"
)
CLOUDITOR_OAUTH2_PORT
=
int
(
os
.
environ
.
get
(
"
clouditor_oauth2_port
"
))
CLIENT_ID
=
os
.
environ
.
get
(
"
clouditor_client_id
"
)
CLIENT_SECRET
=
os
.
environ
.
get
(
"
clouditor_client_secret
"
)
...
...
@@ -17,7 +17,7 @@ class ClouditorAuthentication(object):
self
.
__access_token
=
None
self
.
__token_expiration_time
=
None
self
.
__token_url
=
'
http://{}:{}/v1/auth/token
'
.
format
(
CLOUDITOR_HOST
,
CLOUDITOR_OAUTH2_PORT
)
self
.
__token_url
=
'
http://{}:{}/v1/auth/token
'
.
format
(
CLOUDITOR_
OAUTH2_
HOST
,
CLOUDITOR_OAUTH2_PORT
)
self
.
__data
=
{
'
grant_type
'
:
'
client_credentials
'
}
...
...
This diff is collapsed.
Click to expand it.
kubernetes/wazuh-vat-evidence-collector-configmap.yaml
+
4
−
3
View file @
6186bb87
...
...
@@ -19,9 +19,10 @@ data:
redis_port
:
'
6379'
redis_queue
:
'
low'
clouditor_host
:
'
security-assessment-svc'
clouditor_port
:
'
9090'
clouditor_oauth2_port
:
'
8080'
clouditor_host
:
'
security-assessment-grpc-svc'
clouditor_port
:
'
9092'
clouditor_oauth2_host
:
'
security-assessment-svc'
clouditor_oauth2_port
:
'
8082'
wazuh_check_interval
:
'
3600'
wazuh_rule_level
:
'
10'
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