-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merge(#3860): '4.5' in 3591-fix-test-large-changes
- Loading branch information
Showing
200 changed files
with
31,780 additions
and
21,494 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
name: Changelog | ||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- ready_for_review | ||
branches: | ||
- master | ||
- '[0-9]+.[0-9]+' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import pytest | ||
|
||
|
||
def pytest_collectreport(report): | ||
if report.failed: | ||
pass | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
# Copyright (C) 2015-2023, Wazuh Inc. | ||
# Created by Wazuh, Inc. <[email protected]>. | ||
# This program is free software; you can redistribute it and/or modify it under the terms of GPLv2 | ||
|
||
''' | ||
The purpose of this file is to contain all the variables necessary for Wazuh in order to be easier | ||
to maintain if one of them changes in the future. | ||
copyright: Copyright (C) 2015-2023, Wazuh Inc. | ||
Created by Wazuh, Inc. <[email protected]>. | ||
This program is free software; you can redistribute it and/or modify it under the terms of GPLv2 | ||
''' | ||
import pytest | ||
|
||
WAZUH_SERVICE_PREFIX = 'wazuh' | ||
# Services Variables | ||
WAZUH_SERVICES_STOPPED = 'stopped' | ||
WAZUH_SERVICE_PREFIX = 'wazuh' | ||
WAZUH_SERVICES_STOP = 'stop' | ||
WAZUH_SERVICES_START = 'start' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
from pathlib import Path | ||
|
||
from wazuh_testing import WAZUH_PATH | ||
|
||
AWS_MODULE_PATH = Path(WAZUH_PATH, 'wodles', 'aws') | ||
S3_CLOUDTRAIL_DB_PATH = Path(AWS_MODULE_PATH, 's3_cloudtrail.db') | ||
AWS_SERVICES_DB_PATH = Path(AWS_MODULE_PATH, 'aws_services.db') | ||
|
||
AWS_LOGS = 'AWSLogs' | ||
RANDOM_ACCOUNT_ID = '819751203818' | ||
CLOUDTRAIL = 'CloudTrail' | ||
GUARDDUTY = 'GuardDuty' | ||
VPC_FLOW_LOGS = 'vpcflowlogs' | ||
FLOW_LOG_ID = 'fl-0754d951c16f517fa' | ||
CONFIG = 'Config' | ||
ELASTIC_LOAD_BALANCING = 'elasticloadbalancing' | ||
SERVER_ACCESS_TABLE_NAME = 's3_server_access' | ||
PERMANENT_CLOUDWATCH_LOG_GROUP = 'wazuh-cloudwatchlogs-integration-tests' | ||
TEMPORARY_CLOUDWATCH_LOG_GROUP = 'temporary-log-group' | ||
FAKE_CLOUDWATCH_LOG_GROUP = 'fake-log-group' | ||
|
||
EVENT_TIME_FORMAT = '%Y-%m-%dT%H:%M:%SZ' | ||
PATH_DATE_FORMAT = '%Y/%m/%d' | ||
PATH_DATE_NO_PADED_FORMAT = '%Y/%-m/%-d' | ||
FILENAME_DATE_FORMAT = '%Y%m%dT%H%MZ' | ||
ALB_DATE_FORMAT = '%Y-%m-%dT%H:%M:%fZ' | ||
|
||
US_EAST_1_REGION = 'us-east-1' | ||
|
||
JSON_EXT = '.json' | ||
LOG_EXT = '.log' | ||
JSON_GZ_EXT = '.jsonl.gz' | ||
CSV_EXT = '.csv' | ||
|
||
# Bucket types | ||
CLOUD_TRAIL_TYPE = 'cloudtrail' | ||
VPC_FLOW_TYPE = 'vpcflow' | ||
CONFIG_TYPE = 'config' | ||
ALB_TYPE = 'alb' | ||
CLB_TYPE = 'clb' | ||
NLB_TYPE = 'nlb' | ||
KMS_TYPE = 'kms' | ||
MACIE_TYPE = 'macie' | ||
KMS_TYPE = 'kms' | ||
TRUSTED_ADVISOR_TYPE = 'trusted' | ||
CUSTOM_TYPE = 'custom' | ||
GUARD_DUTY_TYPE = 'guardduty' | ||
NATIVE_GUARD_DUTY_TYPE = 'native-guardduty' | ||
WAF_TYPE = 'waf' | ||
SERVER_ACCESS = 'server_access' | ||
CISCO_UMBRELLA_TYPE = 'cisco_umbrella' | ||
|
||
# Params | ||
|
||
ONLY_LOGS_AFTER_PARAM = '--only_logs_after' | ||
|
||
|
||
local_internal_options = {'wazuh_modules.debug': '2', 'monitord.rotate_log': '0'} |
Oops, something went wrong.