Skip to content

Commit

Permalink
style: minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mateocervilla committed Jul 31, 2023
1 parent 02d78d8 commit c6d968b
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 19 deletions.
15 changes: 7 additions & 8 deletions deps/wazuh_testing/wazuh_testing/mocking/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,14 +134,13 @@
'node_name': 'node01', 'date_add': '1652381429', 'last_keepalive': '253402300799',
'sync_status': 'synced', 'connection_status': 'active'},
'AlmaLinux-8': {'hostname': 'localhost', 'architecture': 'x64', 'os_name': 'AlmaLinux', 'os_version': '8',
'os_codename': '', 'os_major': '8', 'os_minor': '', 'os_patch': '', 'os_build': '',
'os_platform': 'almalinux', 'sysname': 'Linux', 'release': '5.3.18-22-default', 'version': 'Wazuh v4.4.0',
'os_release': '', 'checksum': '1652388661375945607', 'name': 'ALMALINUX8', 'ip': '127.0.0.1',
'register_ip': 'any', 'internal_key': '',
'os_uname': 'Linux |localhost|5.3.18-22-default |#1 SMP Wed Jun 3 12:16:43 UTC 2020 (720aeba)|x86_64',
'os_arch': 'x64', 'config_sum': '', 'merged_sum': '', 'manager_host': 'localhost.localdomain',
'node_name': 'node01', 'date_add': '1652381429', 'last_keepalive': '253402300799',
'sync_status': 'synced', 'connection_status': 'active'}
'os_codename': '', 'os_major': '8', 'os_minor': '', 'os_patch': '', 'os_build': '',
'os_platform': 'almalinux', 'sysname': 'Linux', 'release': '5.3.18-22-default',
'version': 'Wazuh v4.4.0', 'os_release': '', 'checksum': '1652388661375945607',
'name': 'ALMALINUX8', 'ip': '127.0.0.1', 'register_ip': 'any', 'internal_key': '',
'os_arch': 'x64', 'config_sum': '', 'merged_sum': '', 'manager_host': 'localhost.localdomain',
'node_name': 'node01', 'date_add': '1652381429', 'last_keepalive': '253402300799',
'sync_status': 'synced', 'connection_status': 'active'}
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@
- name: 'syscollector'
elements:
- disabled:
value: 'yes'
value: 'yes'
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,4 @@
- name: 'syscollector'
elements:
- disabled:
value: 'yes'
value: 'yes'
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@
# Set offline custom feeds configuration
to_modify = ['CUSTOM_REDHAT_OVAL_FEED_PATH', 'CUSTOM_REDHAT_JSON_FEED_PATH', 'CUSTOM_DEBIAN_OVAL_FEED_PATH',
'CUSTOM_DEBIAN_JSON_FEED_PATH', 'CUSTOM_CANONICAL_OVAL_FEED_PATH', 'CUSTOM_ALAS_JSON_FEED_PATH',
'CUSTOM_ARCHLINUX_JSON_FEED_PATH', 'CUSTOM_MSU_JSON_FEED_PATH', 'CUSTOM_SUSE_OVAL_FEED', 'CUSTOM_ALMA_OVAL_FEED']
'CUSTOM_ARCHLINUX_JSON_FEED_PATH', 'CUSTOM_MSU_JSON_FEED_PATH', 'CUSTOM_SUSE_OVAL_FEED',
'CUSTOM_ALMA_OVAL_FEED']
new_values = [custom_redhat_oval_feed_path, custom_redhat_json_feed_path, custom_debian_oval_feed_path,
custom_debian_json_feed_path, custom_canonical_oval_feed_path, custom_alas_feed_path,
custom_archlinux_feed_path, custom_msu_feed_path, custom_suse_feed_path, custom_alma_feed_path]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,3 @@
metadata:
provider_name: 'AlmaLinux 8'
update_interval: '5s'

Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,6 @@
- path:
value: CUSTOM_NVD_JSON_FEED


# ALMALINUX configuration
- sections:
- section: vulnerability-detector
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,6 @@
- path:
value: CUSTOM_NVD_JSON_FEED


# ALMALINUX configuration
- sections:
- section: vulnerability-detector
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@
- disabled:
value: 'no'


# ALMALINUX configuration
- sections:
- section: vulnerability-detector
Expand Down Expand Up @@ -214,17 +213,17 @@
value: '10s'
- section: sca
elements:
- enabled:
- enabled:
value: 'no'

- section: rootcheck
elements:
- disabled:
- disabled:
value: 'yes'

- section: syscheck
elements:
- disabled:
- disabled:
value: 'yes'

- section: wodle
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
metadata:
provider_name: 'alas'
system: 'ALAS_2022'
json_feed: 'custom_alas_2022_feed.json'
json_feed: 'custom_alas_2022_feed.json'
oval_feed: null
nvd_feed: 'custom_nvd_feed.json'
json_feed_tag: CUSTOM_ALAS_2022_JSON_FEED
Expand Down

0 comments on commit c6d968b

Please sign in to comment.