wazuhcoverage 0.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- wazuhcoverage/__init__.py +15 -0
- wazuhcoverage/__main__.py +3 -0
- wazuhcoverage/analysis.py +291 -0
- wazuhcoverage/cli.py +121 -0
- wazuhcoverage/history.py +114 -0
- wazuhcoverage/models.py +57 -0
- wazuhcoverage/py.typed +0 -0
- wazuhcoverage/report.py +46 -0
- wazuhcoverage/targets.py +31 -0
- wazuhcoverage-0.2.0.dist-info/METADATA +198 -0
- wazuhcoverage-0.2.0.dist-info/RECORD +15 -0
- wazuhcoverage-0.2.0.dist-info/WHEEL +5 -0
- wazuhcoverage-0.2.0.dist-info/entry_points.txt +2 -0
- wazuhcoverage-0.2.0.dist-info/licenses/LICENSE +339 -0
- wazuhcoverage-0.2.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""Public API for Wazuh archive coverage analysis."""
|
|
2
|
+
|
|
3
|
+
from .analysis import DEFAULT_ALERT_THRESHOLD, analyze_archive
|
|
4
|
+
from .models import ArchiveAnalysis, Finding, LogTypeCount, StatusCount
|
|
5
|
+
|
|
6
|
+
__all__ = [
|
|
7
|
+
"DEFAULT_ALERT_THRESHOLD",
|
|
8
|
+
"ArchiveAnalysis",
|
|
9
|
+
"Finding",
|
|
10
|
+
"LogTypeCount",
|
|
11
|
+
"StatusCount",
|
|
12
|
+
"analyze_archive",
|
|
13
|
+
]
|
|
14
|
+
|
|
15
|
+
__version__ = "0.2.0"
|
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
"""DuckDB-backed analysis of one Wazuh archive."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from pathlib import Path
|
|
6
|
+
from typing import Any, Optional, Union
|
|
7
|
+
|
|
8
|
+
from wazuhcoverage.models import STATUSES, ArchiveAnalysis, Finding, LogTypeCount, StatusCount
|
|
9
|
+
|
|
10
|
+
DEFAULT_ALERT_THRESHOLD = 3
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def _sql_literal(value: str) -> str:
|
|
14
|
+
"""Quote a string as a DuckDB SQL literal."""
|
|
15
|
+
|
|
16
|
+
return "'" + value.replace("'", "''") + "'"
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
def _load_duckdb() -> Any:
|
|
20
|
+
try:
|
|
21
|
+
import duckdb
|
|
22
|
+
except ImportError as exc: # pragma: no cover - installation error path
|
|
23
|
+
raise RuntimeError("DuckDB is required. Install wazuhcoverage with its dependencies.") from exc
|
|
24
|
+
return duckdb
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
def analyze_archive(path: Union[str, Path], *, alert_threshold: int = DEFAULT_ALERT_THRESHOLD) -> ArchiveAnalysis:
|
|
28
|
+
"""Analyze one Wazuh NDJSON archive.
|
|
29
|
+
|
|
30
|
+
The compressed/uncompressed source is scanned once into a temporary table.
|
|
31
|
+
All subsequent classification, grouping and sampling runs against that table.
|
|
32
|
+
"""
|
|
33
|
+
|
|
34
|
+
archive = Path(path).expanduser().resolve()
|
|
35
|
+
if not archive.is_file():
|
|
36
|
+
raise FileNotFoundError(archive)
|
|
37
|
+
|
|
38
|
+
if alert_threshold < 0:
|
|
39
|
+
raise ValueError("alert_threshold must be non-negative")
|
|
40
|
+
|
|
41
|
+
if archive.stat().st_size == 0:
|
|
42
|
+
return _empty_analysis(archive)
|
|
43
|
+
|
|
44
|
+
duckdb = _load_duckdb()
|
|
45
|
+
connection = duckdb.connect(":memory:")
|
|
46
|
+
try:
|
|
47
|
+
connection.execute("SET TimeZone = 'UTC'")
|
|
48
|
+
_create_events(connection, archive)
|
|
49
|
+
_create_views(connection, alert_threshold)
|
|
50
|
+
|
|
51
|
+
total_events = int(connection.execute("SELECT count(*) FROM classified_events").fetchone()[0])
|
|
52
|
+
|
|
53
|
+
raw_statuses = dict(
|
|
54
|
+
connection.execute(
|
|
55
|
+
"SELECT observed_status, count(*) FROM classified_events GROUP BY observed_status"
|
|
56
|
+
).fetchall()
|
|
57
|
+
)
|
|
58
|
+
status_counts = tuple(StatusCount(status, int(raw_statuses.get(status, 0))) for status in STATUSES)
|
|
59
|
+
|
|
60
|
+
log_type_counts = tuple(
|
|
61
|
+
LogTypeCount(str(status), str(log_type), int(count))
|
|
62
|
+
for status, log_type, count in connection.execute(
|
|
63
|
+
"""
|
|
64
|
+
SELECT observed_status, log_type, count(*) AS event_count
|
|
65
|
+
FROM classified_events
|
|
66
|
+
GROUP BY observed_status, log_type
|
|
67
|
+
ORDER BY observed_status, event_count DESC, log_type
|
|
68
|
+
"""
|
|
69
|
+
).fetchall()
|
|
70
|
+
)
|
|
71
|
+
|
|
72
|
+
findings = tuple(
|
|
73
|
+
Finding(
|
|
74
|
+
finding_key=str(row[0]),
|
|
75
|
+
observed_status=str(row[1]),
|
|
76
|
+
log_type=_string_or_none(row[2]),
|
|
77
|
+
message_pattern=str(row[3]),
|
|
78
|
+
event_count=int(row[4]),
|
|
79
|
+
affected_agents=int(row[5]),
|
|
80
|
+
first_seen=_string_or_none(row[6]),
|
|
81
|
+
last_seen=_string_or_none(row[7]),
|
|
82
|
+
observed_decoder=_string_or_none(row[8]),
|
|
83
|
+
observed_rule_id=_string_or_none(row[9]),
|
|
84
|
+
observed_rule_level=int(row[10]) if row[10] is not None else None,
|
|
85
|
+
sample_log=str(row[11]),
|
|
86
|
+
)
|
|
87
|
+
for row in connection.execute(
|
|
88
|
+
"""
|
|
89
|
+
SELECT
|
|
90
|
+
finding_key,
|
|
91
|
+
observed_status,
|
|
92
|
+
log_type,
|
|
93
|
+
message_pattern,
|
|
94
|
+
event_count,
|
|
95
|
+
affected_agents,
|
|
96
|
+
first_seen,
|
|
97
|
+
last_seen,
|
|
98
|
+
observed_decoder,
|
|
99
|
+
observed_rule_id,
|
|
100
|
+
observed_rule_level,
|
|
101
|
+
sample_log
|
|
102
|
+
FROM findings
|
|
103
|
+
ORDER BY event_count DESC, observed_status, coalesce(log_type, ''), finding_key
|
|
104
|
+
"""
|
|
105
|
+
).fetchall()
|
|
106
|
+
)
|
|
107
|
+
|
|
108
|
+
return ArchiveAnalysis(
|
|
109
|
+
path=archive,
|
|
110
|
+
total_events=total_events,
|
|
111
|
+
status_counts=status_counts,
|
|
112
|
+
log_type_counts=log_type_counts,
|
|
113
|
+
findings=findings,
|
|
114
|
+
)
|
|
115
|
+
finally:
|
|
116
|
+
connection.close()
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
def _string_or_none(value: Any) -> Optional[str]:
|
|
120
|
+
return None if value is None else str(value)
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
def _empty_analysis(archive: Path) -> ArchiveAnalysis:
|
|
124
|
+
return ArchiveAnalysis(
|
|
125
|
+
path=archive,
|
|
126
|
+
total_events=0,
|
|
127
|
+
status_counts=tuple(StatusCount(status, 0) for status in STATUSES),
|
|
128
|
+
log_type_counts=(),
|
|
129
|
+
findings=(),
|
|
130
|
+
)
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
def _create_events(connection: Any, archive: Path) -> None:
|
|
134
|
+
archive_sql = _sql_literal(str(archive))
|
|
135
|
+
|
|
136
|
+
# Reading the objects as JSON rather than relying on automatic structural
|
|
137
|
+
# inference makes the envelope stable when an archive happens to contain no
|
|
138
|
+
# rule objects or contains empty decoder objects ("decoder": {}).
|
|
139
|
+
connection.execute(
|
|
140
|
+
f"""
|
|
141
|
+
CREATE TEMP TABLE events AS
|
|
142
|
+
WITH extracted AS (
|
|
143
|
+
SELECT json_extract_string(
|
|
144
|
+
json,
|
|
145
|
+
[
|
|
146
|
+
'$.timestamp',
|
|
147
|
+
'$.agent.id',
|
|
148
|
+
'$.agent.name',
|
|
149
|
+
'$.location',
|
|
150
|
+
'$.full_log',
|
|
151
|
+
'$.predecoder.program_name',
|
|
152
|
+
'$.decoder.name',
|
|
153
|
+
'$.decoder.parent',
|
|
154
|
+
'$.rule.id',
|
|
155
|
+
'$.rule.level',
|
|
156
|
+
'$.rule.description'
|
|
157
|
+
]
|
|
158
|
+
) AS fields
|
|
159
|
+
FROM read_ndjson_objects({archive_sql}, ignore_errors = false)
|
|
160
|
+
)
|
|
161
|
+
SELECT
|
|
162
|
+
try_cast(fields[1] AS TIMESTAMPTZ) AS event_timestamp,
|
|
163
|
+
fields[2] AS agent_id,
|
|
164
|
+
fields[3] AS agent_name,
|
|
165
|
+
fields[4] AS location,
|
|
166
|
+
fields[5] AS full_log,
|
|
167
|
+
fields[6] AS program_name,
|
|
168
|
+
fields[7] AS decoder_name,
|
|
169
|
+
fields[8] AS decoder_parent,
|
|
170
|
+
fields[9] AS rule_id,
|
|
171
|
+
try_cast(fields[10] AS INTEGER) AS rule_level,
|
|
172
|
+
fields[11] AS rule_description
|
|
173
|
+
FROM extracted
|
|
174
|
+
"""
|
|
175
|
+
)
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
def _create_views(connection: Any, alert_threshold: int) -> None:
|
|
179
|
+
connection.execute(
|
|
180
|
+
f"""
|
|
181
|
+
CREATE TEMP VIEW classified_events AS
|
|
182
|
+
SELECT
|
|
183
|
+
*,
|
|
184
|
+
CASE
|
|
185
|
+
WHEN nullif(decoder_name, '') IS NULL THEN 'no_decoder'
|
|
186
|
+
WHEN nullif(rule_id, '') IS NULL THEN 'no_rule'
|
|
187
|
+
WHEN rule_level IS NULL OR rule_level < {int(alert_threshold)} THEN 'below_threshold'
|
|
188
|
+
ELSE 'at_or_above_threshold'
|
|
189
|
+
END AS observed_status,
|
|
190
|
+
CASE
|
|
191
|
+
WHEN nullif(decoder_name, '') IS NOT NULL THEN decoder_name
|
|
192
|
+
WHEN nullif(program_name, '') IS NOT NULL THEN program_name
|
|
193
|
+
WHEN nullif(location, '') IS NOT NULL THEN location
|
|
194
|
+
ELSE 'unknown'
|
|
195
|
+
END AS log_type
|
|
196
|
+
FROM events
|
|
197
|
+
"""
|
|
198
|
+
)
|
|
199
|
+
|
|
200
|
+
# Conservative normalization: common timestamp prefixes, UUIDs, long hex
|
|
201
|
+
# tokens and long decimal IDs. Short numbers, IPs, ports, usernames, paths,
|
|
202
|
+
# event IDs and status codes are intentionally retained because they can
|
|
203
|
+
# materially change detection semantics.
|
|
204
|
+
connection.execute(
|
|
205
|
+
r"""
|
|
206
|
+
CREATE TEMP VIEW normalized_events AS
|
|
207
|
+
SELECT
|
|
208
|
+
*,
|
|
209
|
+
trim(
|
|
210
|
+
regexp_replace(
|
|
211
|
+
regexp_replace(
|
|
212
|
+
regexp_replace(
|
|
213
|
+
regexp_replace(
|
|
214
|
+
regexp_replace(
|
|
215
|
+
coalesce(full_log, ''),
|
|
216
|
+
'^(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)[[:space:]]+[0-9]{1,2}[[:space:]]+[0-9]{2}:[0-9]{2}:[0-9]{2}',
|
|
217
|
+
'<TIMESTAMP>',
|
|
218
|
+
'c'
|
|
219
|
+
),
|
|
220
|
+
'^[0-9]{4}-[0-9]{2}-[0-9]{2}[T ][0-9]{2}:[0-9]{2}:[0-9]{2}([.,][0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})?',
|
|
221
|
+
'<TIMESTAMP>',
|
|
222
|
+
'c'
|
|
223
|
+
),
|
|
224
|
+
'[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}',
|
|
225
|
+
'<UUID>',
|
|
226
|
+
'g'
|
|
227
|
+
),
|
|
228
|
+
'\b(0x)?[0-9A-Fa-f]{16,}\b',
|
|
229
|
+
'<HEX>',
|
|
230
|
+
'g'
|
|
231
|
+
),
|
|
232
|
+
'\b[0-9]{5,}\b',
|
|
233
|
+
'<NUM>',
|
|
234
|
+
'g'
|
|
235
|
+
)
|
|
236
|
+
) AS normalized_log
|
|
237
|
+
FROM classified_events
|
|
238
|
+
"""
|
|
239
|
+
)
|
|
240
|
+
|
|
241
|
+
connection.execute(
|
|
242
|
+
"""
|
|
243
|
+
CREATE TEMP VIEW finding_events AS
|
|
244
|
+
SELECT
|
|
245
|
+
*,
|
|
246
|
+
CASE
|
|
247
|
+
WHEN observed_status = 'below_threshold' THEN concat('rule:', coalesce(rule_id, 'unknown'))
|
|
248
|
+
ELSE normalized_log
|
|
249
|
+
END AS message_pattern,
|
|
250
|
+
CASE
|
|
251
|
+
WHEN observed_status = 'below_threshold' THEN NULL
|
|
252
|
+
ELSE log_type
|
|
253
|
+
END AS finding_log_type,
|
|
254
|
+
CASE
|
|
255
|
+
WHEN observed_status = 'below_threshold' THEN NULL
|
|
256
|
+
ELSE decoder_name
|
|
257
|
+
END AS finding_decoder,
|
|
258
|
+
md5(
|
|
259
|
+
CASE
|
|
260
|
+
WHEN observed_status = 'below_threshold'
|
|
261
|
+
THEN concat(observed_status, '|', coalesce(rule_id, 'unknown'))
|
|
262
|
+
ELSE concat(observed_status, '|', log_type, '|', normalized_log)
|
|
263
|
+
END
|
|
264
|
+
) AS finding_key
|
|
265
|
+
FROM normalized_events
|
|
266
|
+
WHERE observed_status <> 'at_or_above_threshold'
|
|
267
|
+
AND full_log IS NOT NULL
|
|
268
|
+
AND full_log <> ''
|
|
269
|
+
"""
|
|
270
|
+
)
|
|
271
|
+
|
|
272
|
+
connection.execute(
|
|
273
|
+
"""
|
|
274
|
+
CREATE TEMP VIEW findings AS
|
|
275
|
+
SELECT
|
|
276
|
+
finding_key,
|
|
277
|
+
any_value(observed_status) AS observed_status,
|
|
278
|
+
any_value(finding_log_type) AS log_type,
|
|
279
|
+
any_value(message_pattern) AS message_pattern,
|
|
280
|
+
count(*) AS event_count,
|
|
281
|
+
count(DISTINCT agent_id) FILTER (WHERE agent_id IS NOT NULL) AS affected_agents,
|
|
282
|
+
strftime(min(event_timestamp), '%Y-%m-%d %H:%M:%S%z') AS first_seen,
|
|
283
|
+
strftime(max(event_timestamp), '%Y-%m-%d %H:%M:%S%z') AS last_seen,
|
|
284
|
+
any_value(finding_decoder) AS observed_decoder,
|
|
285
|
+
any_value(rule_id) AS observed_rule_id,
|
|
286
|
+
any_value(rule_level) AS observed_rule_level,
|
|
287
|
+
min(full_log) AS sample_log
|
|
288
|
+
FROM finding_events
|
|
289
|
+
GROUP BY finding_key
|
|
290
|
+
"""
|
|
291
|
+
)
|
wazuhcoverage/cli.py
ADDED
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
"""Command-line interface for wazuhcoverage."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import argparse
|
|
6
|
+
import io
|
|
7
|
+
import os
|
|
8
|
+
import sys
|
|
9
|
+
from pathlib import Path
|
|
10
|
+
from typing import Optional
|
|
11
|
+
|
|
12
|
+
from wazuhcoverage.analysis import DEFAULT_ALERT_THRESHOLD, analyze_archive
|
|
13
|
+
from wazuhcoverage.history import History
|
|
14
|
+
from wazuhcoverage.report import render_report
|
|
15
|
+
from wazuhcoverage.targets import resolve_targets
|
|
16
|
+
|
|
17
|
+
HISTORY_FILE = Path("history.db")
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
def build_parser() -> argparse.ArgumentParser:
|
|
21
|
+
parser = argparse.ArgumentParser(
|
|
22
|
+
prog="wazuhcoverage",
|
|
23
|
+
description="Analyze Wazuh JSON archives and emit coverage statistics or representative samples.",
|
|
24
|
+
)
|
|
25
|
+
parser.add_argument(
|
|
26
|
+
"--ignore-history",
|
|
27
|
+
action="store_true",
|
|
28
|
+
help="Process matching archives even when they are already present in history.db.",
|
|
29
|
+
)
|
|
30
|
+
parser.add_argument(
|
|
31
|
+
"--no-stats",
|
|
32
|
+
action="store_true",
|
|
33
|
+
help="Write only one representative sample per finding to stdout; suitable for piping to logtest.",
|
|
34
|
+
)
|
|
35
|
+
parser.add_argument(
|
|
36
|
+
"targets",
|
|
37
|
+
nargs="+",
|
|
38
|
+
metavar="TARGET",
|
|
39
|
+
help="Archive file path or glob pattern. Recursive ** patterns are supported.",
|
|
40
|
+
)
|
|
41
|
+
return parser
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
def main(argv: Optional[list[str]] = None) -> int:
|
|
45
|
+
args = build_parser().parse_args(argv)
|
|
46
|
+
targets = resolve_targets(args.targets)
|
|
47
|
+
|
|
48
|
+
if not targets:
|
|
49
|
+
print("wazuhcoverage: no files matched the supplied targets", file=sys.stderr)
|
|
50
|
+
return 2
|
|
51
|
+
|
|
52
|
+
try:
|
|
53
|
+
history = History(HISTORY_FILE)
|
|
54
|
+
except (OSError, ValueError) as exc:
|
|
55
|
+
print(f"wazuhcoverage: cannot read {HISTORY_FILE}: {exc}", file=sys.stderr)
|
|
56
|
+
return 2
|
|
57
|
+
|
|
58
|
+
processed = 0
|
|
59
|
+
skipped = 0
|
|
60
|
+
failed = 0
|
|
61
|
+
|
|
62
|
+
for archive in targets:
|
|
63
|
+
if not args.ignore_history and history.contains(archive):
|
|
64
|
+
skipped += 1
|
|
65
|
+
continue
|
|
66
|
+
|
|
67
|
+
print(f"Processing {archive}", file=sys.stderr)
|
|
68
|
+
|
|
69
|
+
try:
|
|
70
|
+
analysis = analyze_archive(archive, alert_threshold=DEFAULT_ALERT_THRESHOLD)
|
|
71
|
+
|
|
72
|
+
if args.no_stats:
|
|
73
|
+
for finding in analysis.findings:
|
|
74
|
+
sys.stdout.write(f"{finding.sample_log}\n")
|
|
75
|
+
else:
|
|
76
|
+
sys.stdout.write(render_report(analysis))
|
|
77
|
+
|
|
78
|
+
# A successful flush is part of successful processing. This matters
|
|
79
|
+
# when stdout is a pipe and the downstream consumer exits early.
|
|
80
|
+
sys.stdout.flush()
|
|
81
|
+
|
|
82
|
+
# History is updated only after analysis and output completed.
|
|
83
|
+
history.add(archive)
|
|
84
|
+
processed += 1
|
|
85
|
+
|
|
86
|
+
except BrokenPipeError:
|
|
87
|
+
# A closed downstream pipe means output did not complete, so do not
|
|
88
|
+
# mark the current archive as processed. Redirect the underlying
|
|
89
|
+
# descriptor before interpreter shutdown to avoid a second flush
|
|
90
|
+
# changing the process exit status to 120.
|
|
91
|
+
_silence_broken_stdout()
|
|
92
|
+
return 1
|
|
93
|
+
except Exception as exc: # noqa: BLE001 - one bad archive should not block the rest
|
|
94
|
+
failed += 1
|
|
95
|
+
print(f"wazuhcoverage: failed {archive}: {exc}", file=sys.stderr)
|
|
96
|
+
|
|
97
|
+
print(
|
|
98
|
+
f"Matched: {len(targets)} | Processed: {processed} | Skipped: {skipped} | Failed: {failed}",
|
|
99
|
+
file=sys.stderr,
|
|
100
|
+
)
|
|
101
|
+
return 1 if failed else 0
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
def _silence_broken_stdout() -> None:
|
|
105
|
+
"""Redirect stdout to the null device after a downstream pipe closes."""
|
|
106
|
+
|
|
107
|
+
try:
|
|
108
|
+
stdout_fd = sys.stdout.fileno()
|
|
109
|
+
except (AttributeError, OSError, ValueError):
|
|
110
|
+
sys.stdout = io.StringIO()
|
|
111
|
+
return
|
|
112
|
+
|
|
113
|
+
null_fd = os.open(os.devnull, os.O_WRONLY)
|
|
114
|
+
try:
|
|
115
|
+
os.dup2(null_fd, stdout_fd)
|
|
116
|
+
finally:
|
|
117
|
+
os.close(null_fd)
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
if __name__ == "__main__":
|
|
121
|
+
raise SystemExit(main())
|
wazuhcoverage/history.py
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
"""Persistent history for successfully processed archive paths."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import json
|
|
6
|
+
import os
|
|
7
|
+
from collections.abc import Iterator
|
|
8
|
+
from contextlib import contextmanager
|
|
9
|
+
from pathlib import Path
|
|
10
|
+
from typing import BinaryIO
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class History:
|
|
14
|
+
"""A JSON-encoded set of path strings stored in history.db.
|
|
15
|
+
|
|
16
|
+
The file is an internal cache, not a general-purpose database. Paths are
|
|
17
|
+
normalized to absolute paths before membership checks or insertion. A small
|
|
18
|
+
sidecar lock serializes read-modify-write operations between processes.
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
def __init__(self, path: Path) -> None:
|
|
22
|
+
self.path = path
|
|
23
|
+
self._lock_path = path.with_name(f".{path.name}.lock")
|
|
24
|
+
with self._locked():
|
|
25
|
+
self._items = self._load_unlocked()
|
|
26
|
+
|
|
27
|
+
def _load_unlocked(self) -> set[str]:
|
|
28
|
+
if not self.path.exists():
|
|
29
|
+
return set()
|
|
30
|
+
|
|
31
|
+
try:
|
|
32
|
+
value = json.loads(self.path.read_text(encoding="utf-8"))
|
|
33
|
+
except (UnicodeDecodeError, json.JSONDecodeError):
|
|
34
|
+
self._save_unlocked(set())
|
|
35
|
+
return set()
|
|
36
|
+
|
|
37
|
+
if not isinstance(value, list) or not all(isinstance(item, str) for item in value):
|
|
38
|
+
self._save_unlocked(set())
|
|
39
|
+
return set()
|
|
40
|
+
return set(value)
|
|
41
|
+
|
|
42
|
+
@staticmethod
|
|
43
|
+
def key(path: Path) -> str:
|
|
44
|
+
return str(path.expanduser().resolve())
|
|
45
|
+
|
|
46
|
+
def contains(self, path: Path) -> bool:
|
|
47
|
+
with self._locked():
|
|
48
|
+
self._items = self._load_unlocked()
|
|
49
|
+
return self.key(path) in self._items
|
|
50
|
+
|
|
51
|
+
def add(self, path: Path) -> None:
|
|
52
|
+
key = self.key(path)
|
|
53
|
+
with self._locked():
|
|
54
|
+
current = self._load_unlocked()
|
|
55
|
+
if key in current:
|
|
56
|
+
self._items = current
|
|
57
|
+
return
|
|
58
|
+
current.add(key)
|
|
59
|
+
self._save_unlocked(current)
|
|
60
|
+
self._items = current
|
|
61
|
+
|
|
62
|
+
def _save_unlocked(self, items: set[str]) -> None:
|
|
63
|
+
self.path.parent.mkdir(parents=True, exist_ok=True)
|
|
64
|
+
temporary = self.path.with_name(f".{self.path.name}.{os.getpid()}.tmp")
|
|
65
|
+
|
|
66
|
+
try:
|
|
67
|
+
with temporary.open("w", encoding="utf-8", newline="\n") as stream:
|
|
68
|
+
json.dump(sorted(items), stream, ensure_ascii=False, indent=2)
|
|
69
|
+
stream.write("\n")
|
|
70
|
+
stream.flush()
|
|
71
|
+
os.fsync(stream.fileno())
|
|
72
|
+
os.replace(temporary, self.path)
|
|
73
|
+
finally:
|
|
74
|
+
temporary.unlink(missing_ok=True)
|
|
75
|
+
|
|
76
|
+
@contextmanager
|
|
77
|
+
def _locked(self) -> Iterator[None]:
|
|
78
|
+
self.path.parent.mkdir(parents=True, exist_ok=True)
|
|
79
|
+
with self._lock_path.open("a+b") as stream:
|
|
80
|
+
_lock_file(stream)
|
|
81
|
+
try:
|
|
82
|
+
yield
|
|
83
|
+
finally:
|
|
84
|
+
_unlock_file(stream)
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
def _lock_file(stream: BinaryIO) -> None:
|
|
88
|
+
if os.name == "nt":
|
|
89
|
+
import msvcrt
|
|
90
|
+
|
|
91
|
+
stream.seek(0, os.SEEK_END)
|
|
92
|
+
if stream.tell() == 0:
|
|
93
|
+
stream.write(b"\0")
|
|
94
|
+
stream.flush()
|
|
95
|
+
stream.seek(0)
|
|
96
|
+
msvcrt.locking(stream.fileno(), msvcrt.LK_LOCK, 1)
|
|
97
|
+
return
|
|
98
|
+
|
|
99
|
+
import fcntl
|
|
100
|
+
|
|
101
|
+
fcntl.flock(stream.fileno(), fcntl.LOCK_EX)
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
def _unlock_file(stream: BinaryIO) -> None:
|
|
105
|
+
if os.name == "nt":
|
|
106
|
+
import msvcrt
|
|
107
|
+
|
|
108
|
+
stream.seek(0)
|
|
109
|
+
msvcrt.locking(stream.fileno(), msvcrt.LK_UNLCK, 1)
|
|
110
|
+
return
|
|
111
|
+
|
|
112
|
+
import fcntl
|
|
113
|
+
|
|
114
|
+
fcntl.flock(stream.fileno(), fcntl.LOCK_UN)
|
wazuhcoverage/models.py
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"""Analysis result models."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from dataclasses import dataclass
|
|
6
|
+
from pathlib import Path
|
|
7
|
+
from typing import Optional
|
|
8
|
+
|
|
9
|
+
# These dataclasses are part of the public, py.typed API, so their annotations
|
|
10
|
+
# must stay resolvable at runtime on every supported interpreter. Optional[...]
|
|
11
|
+
# is used instead of PEP 604 "X | None" because Python 3.9 cannot evaluate the
|
|
12
|
+
# union operator when a consumer calls typing.get_type_hints(). PEP 585 builtin
|
|
13
|
+
# generics such as tuple[...] are subscriptable on 3.9 and are kept as-is.
|
|
14
|
+
STATUSES = (
|
|
15
|
+
"no_decoder",
|
|
16
|
+
"no_rule",
|
|
17
|
+
"below_threshold",
|
|
18
|
+
"at_or_above_threshold",
|
|
19
|
+
)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
@dataclass(frozen=True)
|
|
23
|
+
class StatusCount:
|
|
24
|
+
status: str
|
|
25
|
+
event_count: int
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
@dataclass(frozen=True)
|
|
29
|
+
class LogTypeCount:
|
|
30
|
+
status: str
|
|
31
|
+
log_type: Optional[str]
|
|
32
|
+
event_count: int
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
@dataclass(frozen=True)
|
|
36
|
+
class Finding:
|
|
37
|
+
finding_key: str
|
|
38
|
+
observed_status: str
|
|
39
|
+
log_type: Optional[str]
|
|
40
|
+
message_pattern: str
|
|
41
|
+
event_count: int
|
|
42
|
+
affected_agents: int
|
|
43
|
+
first_seen: Optional[str]
|
|
44
|
+
last_seen: Optional[str]
|
|
45
|
+
observed_decoder: Optional[str]
|
|
46
|
+
observed_rule_id: Optional[str]
|
|
47
|
+
observed_rule_level: Optional[int]
|
|
48
|
+
sample_log: str
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
@dataclass(frozen=True)
|
|
52
|
+
class ArchiveAnalysis:
|
|
53
|
+
path: Path
|
|
54
|
+
total_events: int
|
|
55
|
+
status_counts: tuple[StatusCount, ...]
|
|
56
|
+
log_type_counts: tuple[LogTypeCount, ...]
|
|
57
|
+
findings: tuple[Finding, ...]
|
wazuhcoverage/py.typed
ADDED
|
File without changes
|
wazuhcoverage/report.py
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"""Text rendering for CLI output."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from wazuhcoverage.models import ArchiveAnalysis
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
def render_report(analysis: ArchiveAnalysis) -> str:
|
|
9
|
+
"""Render a compact human-readable report for one archive."""
|
|
10
|
+
|
|
11
|
+
lines: list[str] = [
|
|
12
|
+
f"Archive: {analysis.path}",
|
|
13
|
+
f"Total events: {analysis.total_events:,}",
|
|
14
|
+
"",
|
|
15
|
+
"Status",
|
|
16
|
+
"------",
|
|
17
|
+
]
|
|
18
|
+
|
|
19
|
+
for item in analysis.status_counts:
|
|
20
|
+
percentage = 0.0 if analysis.total_events == 0 else (100.0 * item.event_count / analysis.total_events)
|
|
21
|
+
lines.append(f"{item.status:<24} {item.event_count:>12,} {percentage:>7.2f}%")
|
|
22
|
+
|
|
23
|
+
lines.extend(["", "Log types", "---------"])
|
|
24
|
+
for item in analysis.log_type_counts:
|
|
25
|
+
lines.append(f"{item.status:<24} {item.log_type:<32} {item.event_count:>12,}")
|
|
26
|
+
|
|
27
|
+
lines.extend(["", f"Findings: {len(analysis.findings):,}", ""])
|
|
28
|
+
|
|
29
|
+
for index, finding in enumerate(analysis.findings, start=1):
|
|
30
|
+
lines.extend(
|
|
31
|
+
[
|
|
32
|
+
f"[{index}] {finding.observed_status} | {finding.log_type or '-'}",
|
|
33
|
+
f" Events: {finding.event_count:,}",
|
|
34
|
+
f" Affected agents: {finding.affected_agents:,}",
|
|
35
|
+
f" First seen: {finding.first_seen or '-'}",
|
|
36
|
+
f" Last seen: {finding.last_seen or '-'}",
|
|
37
|
+
f" Decoder: {finding.observed_decoder or '-'}",
|
|
38
|
+
f" Rule: {finding.observed_rule_id or '-'}",
|
|
39
|
+
f" Level: {finding.observed_rule_level if finding.observed_rule_level is not None else '-'}",
|
|
40
|
+
f" Pattern: {finding.message_pattern}",
|
|
41
|
+
f" Sample: {finding.sample_log}",
|
|
42
|
+
"",
|
|
43
|
+
]
|
|
44
|
+
)
|
|
45
|
+
|
|
46
|
+
return "\n".join(lines).rstrip() + "\n"
|
wazuhcoverage/targets.py
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"""Target expansion for literal archive paths and glob patterns."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from glob import glob
|
|
6
|
+
from pathlib import Path
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def resolve_targets(targets: list[str]) -> list[Path]:
|
|
10
|
+
"""Resolve literal paths and glob patterns to unique absolute files.
|
|
11
|
+
|
|
12
|
+
``**`` is supported. Results are sorted to make repeated runs deterministic.
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
files: set[Path] = set()
|
|
16
|
+
|
|
17
|
+
for target in targets:
|
|
18
|
+
expanded = str(Path(target).expanduser())
|
|
19
|
+
matches = glob(expanded, recursive=True)
|
|
20
|
+
|
|
21
|
+
if not matches:
|
|
22
|
+
candidate = Path(expanded)
|
|
23
|
+
if candidate.is_file():
|
|
24
|
+
matches = [str(candidate)]
|
|
25
|
+
|
|
26
|
+
for match in matches:
|
|
27
|
+
path = Path(match)
|
|
28
|
+
if path.is_file():
|
|
29
|
+
files.add(path.resolve())
|
|
30
|
+
|
|
31
|
+
return sorted(files, key=str)
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: wazuhcoverage
|
|
3
|
+
Version: 0.2.0
|
|
4
|
+
Summary: Analyze coverage in Wazuh JSON archives using DuckDB
|
|
5
|
+
Author-email: Zafer Balkan <zafer@zaferbalkan.com>
|
|
6
|
+
License-Expression: GPL-2.0-only
|
|
7
|
+
Project-URL: Homepage, https://github.com/zbalkan/wazuhcoverage
|
|
8
|
+
Project-URL: Repository, https://github.com/zbalkan/wazuhcoverage
|
|
9
|
+
Project-URL: Issues, https://github.com/zbalkan/wazuhcoverage/issues
|
|
10
|
+
Keywords: wazuh,siem,coverage,duckdb,detection,security
|
|
11
|
+
Classifier: Development Status :: 3 - Alpha
|
|
12
|
+
Classifier: Environment :: Console
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Intended Audience :: Information Technology
|
|
15
|
+
Classifier: Intended Audience :: System Administrators
|
|
16
|
+
Classifier: Operating System :: OS Independent
|
|
17
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
24
|
+
Classifier: Topic :: Security
|
|
25
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
26
|
+
Classifier: Topic :: Utilities
|
|
27
|
+
Requires-Python: >=3.9
|
|
28
|
+
Description-Content-Type: text/markdown
|
|
29
|
+
License-File: LICENSE
|
|
30
|
+
Requires-Dist: duckdb<2,>=1.3; python_version >= "3.10"
|
|
31
|
+
Requires-Dist: duckdb<1.5,>=1.3; python_version < "3.10"
|
|
32
|
+
Provides-Extra: test
|
|
33
|
+
Requires-Dist: pytest<10,>=8; extra == "test"
|
|
34
|
+
Provides-Extra: build
|
|
35
|
+
Requires-Dist: build>=1.2; extra == "build"
|
|
36
|
+
Requires-Dist: twine>=5; extra == "build"
|
|
37
|
+
Provides-Extra: dev
|
|
38
|
+
Requires-Dist: pytest<10,>=8; extra == "dev"
|
|
39
|
+
Requires-Dist: ruff>=0.8; extra == "dev"
|
|
40
|
+
Requires-Dist: build>=1.2; extra == "dev"
|
|
41
|
+
Requires-Dist: twine>=5; extra == "dev"
|
|
42
|
+
Dynamic: license-file
|
|
43
|
+
|
|
44
|
+
# wazuhcoverage
|
|
45
|
+
|
|
46
|
+
`wazuhcoverage` is a Python library and small batch CLI for measuring coverage in Wazuh JSON archives. It reads each archive once with DuckDB, classifies every event, groups unresolved or low-level events into findings, and selects one deterministic representative `full_log` sample per finding.
|
|
47
|
+
|
|
48
|
+
The CLI keeps only one piece of persistent state: `history.db`, an internal JSON array representing the set of successfully processed absolute archive paths. Updates are serialized with a small sidecar lock and written atomically. The library API has no dependency on that history mechanism.
|
|
49
|
+
|
|
50
|
+
## Requirements
|
|
51
|
+
|
|
52
|
+
Python 3.9 or newer on Linux, macOS, or Windows. DuckDB is the only runtime dependency and is installed automatically.
|
|
53
|
+
|
|
54
|
+
Python 3.9 is supported as a compatibility floor for hosts that still ship it, and it constrains the DuckDB version. DuckDB dropped 3.9 in 1.5.0, so the dependency is capped at `duckdb<1.5` on 3.9 via an explicit environment marker; such installs stay on the 1.4.x line, which no longer receives upstream fixes. Python 3.10 or newer is recommended wherever the host allows it.
|
|
55
|
+
|
|
56
|
+
Because 3.9 cannot evaluate PEP 604 `X | None` annotations at runtime, the public models are annotated with `typing.Optional` and `typing.Union`. This keeps `typing.get_type_hints()` working on every supported interpreter, so consumers that introspect annotations at runtime behave identically across the range.
|
|
57
|
+
|
|
58
|
+
## Installation
|
|
59
|
+
|
|
60
|
+
### Command-line use
|
|
61
|
+
|
|
62
|
+
For command-line use, install with [pipx](https://pipx.pypa.io/). It keeps the application and its dependencies in an isolated environment while exposing the `wazuhcoverage` command on your `PATH`:
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
pipx install wazuhcoverage
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
Upgrade or remove it with:
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
pipx upgrade wazuhcoverage
|
|
72
|
+
pipx uninstall wazuhcoverage
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
From a local checkout:
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
pipx install --editable .
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
### Python library
|
|
82
|
+
|
|
83
|
+
To use `wazuhcoverage` from another Python project, install it into that project's environment with pip:
|
|
84
|
+
|
|
85
|
+
```bash
|
|
86
|
+
python -m pip install wazuhcoverage
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
Then import the public package API:
|
|
90
|
+
|
|
91
|
+
```python
|
|
92
|
+
from wazuhcoverage import ArchiveAnalysis, Finding, analyze_archive
|
|
93
|
+
|
|
94
|
+
analysis = analyze_archive("/archives/2026/09/archive.json.gz")
|
|
95
|
+
print(analysis.total_events)
|
|
96
|
+
|
|
97
|
+
for finding in analysis.findings:
|
|
98
|
+
print(finding.observed_status, finding.event_count, finding.sample_log)
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
The same PyPI distribution provides both the library and the console entry point. `pipx` is the recommended installation method for CLI-only use; `pip` is the recommended method when another Python project imports the library.
|
|
102
|
+
|
|
103
|
+
### Development
|
|
104
|
+
|
|
105
|
+
```bash
|
|
106
|
+
python -m pip install -e ".[dev]"
|
|
107
|
+
python -m pytest
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
## CLI usage
|
|
111
|
+
|
|
112
|
+
Literal files and glob patterns are accepted as positional arguments:
|
|
113
|
+
|
|
114
|
+
```bash
|
|
115
|
+
wazuhcoverage /archives/2026/09/archive.json.gz
|
|
116
|
+
wazuhcoverage "/archives/2026/09/*.json.gz"
|
|
117
|
+
wazuhcoverage "/archives/**/*.json.gz"
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
Multiple targets may be supplied. Overlapping patterns are deduplicated and processed in deterministic path order.
|
|
121
|
+
|
|
122
|
+
The CLI intentionally has no subcommands:
|
|
123
|
+
|
|
124
|
+
```text
|
|
125
|
+
wazuhcoverage [--ignore-history] [--no-stats] TARGET [TARGET...]
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
### Ignore history
|
|
129
|
+
|
|
130
|
+
```bash
|
|
131
|
+
wazuhcoverage --ignore-history "/archives/**/*.json.gz"
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
The archive is processed even if its absolute path is already present in `history.db`. A successful run still records or retains the path in history.
|
|
135
|
+
|
|
136
|
+
### Samples only
|
|
137
|
+
|
|
138
|
+
```bash
|
|
139
|
+
wazuhcoverage --no-stats "/archives/**/*.json.gz"
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
`stdout` contains only one representative raw `full_log` per finding. Progress, errors, and the run summary go to `stderr`, so output remains safe to pipe into another program:
|
|
143
|
+
|
|
144
|
+
```bash
|
|
145
|
+
wazuhcoverage --no-stats "/archives/**/*.json.gz" | wazuh-logtest
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
History is updated only after analysis completes and stdout flushes successfully. A broken downstream pipe therefore does not mark the current archive as processed.
|
|
149
|
+
|
|
150
|
+
## Python API
|
|
151
|
+
|
|
152
|
+
The supported package-level API is:
|
|
153
|
+
|
|
154
|
+
```python
|
|
155
|
+
from wazuhcoverage import (
|
|
156
|
+
DEFAULT_ALERT_THRESHOLD,
|
|
157
|
+
ArchiveAnalysis,
|
|
158
|
+
Finding,
|
|
159
|
+
LogTypeCount,
|
|
160
|
+
StatusCount,
|
|
161
|
+
analyze_archive,
|
|
162
|
+
)
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
`analyze_archive()` accepts either `str` or `pathlib.Path` and returns an `ArchiveAnalysis`. CLI concerns such as glob expansion, `history.db`, report rendering, stdout/stderr, and exit codes are intentionally outside the analysis API.
|
|
166
|
+
|
|
167
|
+
## Classification
|
|
168
|
+
|
|
169
|
+
Every archive event is placed in exactly one bucket:
|
|
170
|
+
|
|
171
|
+
- `no_decoder`: no named Wazuh decoder is represented in the archive event.
|
|
172
|
+
- `no_rule`: a decoder is present but no final rule is represented.
|
|
173
|
+
- `below_threshold`: a rule is represented but its level is below the alert threshold, or its level is missing/unparseable and therefore cannot be proven to meet the threshold.
|
|
174
|
+
- `at_or_above_threshold`: a rule is represented with a usable level at or above the threshold.
|
|
175
|
+
|
|
176
|
+
These buckets are mutually exclusive and their event counts sum to `total_events`.
|
|
177
|
+
|
|
178
|
+
The CLI currently uses an alert threshold of 3. The library accepts an alternate `alert_threshold` value so configuration discovery can be added later without changing the analysis model.
|
|
179
|
+
|
|
180
|
+
`no_rule` means no final rule is represented in the archive; it does not prove that no rule predicate was evaluated internally by Wazuh.
|
|
181
|
+
|
|
182
|
+
## Finding grouping
|
|
183
|
+
|
|
184
|
+
`below_threshold` events are grouped by rule ID because the rule is already the semantic grouping. Such findings deliberately do not claim one arbitrary log type even when that rule appears across several decoders or sources; log-type population statistics remain available separately in `ArchiveAnalysis.log_type_counts`.
|
|
185
|
+
|
|
186
|
+
`no_decoder` and `no_rule` events are grouped by log type and a conservative normalized message pattern. The normalizer currently replaces common timestamp prefixes, UUIDs, long hexadecimal values, and decimal numbers with five or more digits. Short numbers, IP addresses, ports, usernames, paths, event IDs, and HTTP status codes are deliberately retained.
|
|
187
|
+
|
|
188
|
+
Malformed NDJSON is not silently ignored because doing so would corrupt the coverage denominator. Compressed `.json.gz` and uncompressed NDJSON archives are both supported directly by DuckDB.
|
|
189
|
+
|
|
190
|
+
## Scope
|
|
191
|
+
|
|
192
|
+
`wazuhcoverage` owns archive coverage analysis. It does not depend on `wazuhtester` and does not run Wazuh logtest internally. A higher-level toolkit can compose the libraries directly, for example by analyzing an archive with `wazuhcoverage` and replaying selected samples with `wazuhtester`.
|
|
193
|
+
|
|
194
|
+
`history.db` remains only a processed-path cache. It is not intended to become an analytics database. Malformed, legacy-pickle, or structurally invalid history files are never deserialized. Because history is only a disposable processed-path cache, the tool replaces such files atomically with an empty JSON history and continues.
|
|
195
|
+
|
|
196
|
+
## License
|
|
197
|
+
|
|
198
|
+
GNU General Public License version 2 only. See [LICENSE](LICENSE).
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
wazuhcoverage/__init__.py,sha256=Dgnpxz6AXjs05AoIKt10B-CmqVRUNTcB5z7QZiKsBj4,359
|
|
2
|
+
wazuhcoverage/__main__.py,sha256=x9gDrL3qdwRgbOW6Rg0Mdi_vPuT8JkPPi4MoupOGhPU,61
|
|
3
|
+
wazuhcoverage/analysis.py,sha256=NFjYEU6d2GEpZbZCq3G8_HU68BBs8OhSh4RBhXpIVwo,10497
|
|
4
|
+
wazuhcoverage/cli.py,sha256=L-_B0YkjHr5Ty8NRLvYtobbOFXh_GGZurJxQYO-2-YA,3797
|
|
5
|
+
wazuhcoverage/history.py,sha256=B1CPNOVK8iolGAYBPzAqMMjci3dIDaQSYD3lh3yUaeE,3414
|
|
6
|
+
wazuhcoverage/models.py,sha256=aATnoSUW_5XiZfnQEXeFDozoIZfghna2feTzKThuqZU,1426
|
|
7
|
+
wazuhcoverage/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
8
|
+
wazuhcoverage/report.py,sha256=H_ewBa2YurgCYMDsgSbyi8Jy3Z-jDbg614gXhB-jQL8,1783
|
|
9
|
+
wazuhcoverage/targets.py,sha256=8cD7Jfc55bcUFVNuURVFeXRKXKHx0d2eH4o8wq-Dja4,842
|
|
10
|
+
wazuhcoverage-0.2.0.dist-info/licenses/LICENSE,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
|
|
11
|
+
wazuhcoverage-0.2.0.dist-info/METADATA,sha256=rEDWIEfBmGH8100j-gIPLD0UMgAiaHP3GKg9oxiz0Y8,8678
|
|
12
|
+
wazuhcoverage-0.2.0.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
|
|
13
|
+
wazuhcoverage-0.2.0.dist-info/entry_points.txt,sha256=LdxJkl_WYXDaUOr-wrglQblSq_Ept-vDpA14Duz97Ak,57
|
|
14
|
+
wazuhcoverage-0.2.0.dist-info/top_level.txt,sha256=wL0A1qLLHM7IHS3OBUkTl0jWCv7T8pk4_ZpGZOZKgJY,14
|
|
15
|
+
wazuhcoverage-0.2.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,339 @@
|
|
|
1
|
+
GNU GENERAL PUBLIC LICENSE
|
|
2
|
+
Version 2, June 1991
|
|
3
|
+
|
|
4
|
+
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
|
|
5
|
+
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
6
|
+
Everyone is permitted to copy and distribute verbatim copies
|
|
7
|
+
of this license document, but changing it is not allowed.
|
|
8
|
+
|
|
9
|
+
Preamble
|
|
10
|
+
|
|
11
|
+
The licenses for most software are designed to take away your
|
|
12
|
+
freedom to share and change it. By contrast, the GNU General Public
|
|
13
|
+
License is intended to guarantee your freedom to share and change free
|
|
14
|
+
software--to make sure the software is free for all its users. This
|
|
15
|
+
General Public License applies to most of the Free Software
|
|
16
|
+
Foundation's software and to any other program whose authors commit to
|
|
17
|
+
using it. (Some other Free Software Foundation software is covered by
|
|
18
|
+
the GNU Lesser General Public License instead.) You can apply it to
|
|
19
|
+
your programs, too.
|
|
20
|
+
|
|
21
|
+
When we speak of free software, we are referring to freedom, not
|
|
22
|
+
price. Our General Public Licenses are designed to make sure that you
|
|
23
|
+
have the freedom to distribute copies of free software (and charge for
|
|
24
|
+
this service if you wish), that you receive source code or can get it
|
|
25
|
+
if you want it, that you can change the software or use pieces of it
|
|
26
|
+
in new free programs; and that you know you can do these things.
|
|
27
|
+
|
|
28
|
+
To protect your rights, we need to make restrictions that forbid
|
|
29
|
+
anyone to deny you these rights or to ask you to surrender the rights.
|
|
30
|
+
These restrictions translate to certain responsibilities for you if you
|
|
31
|
+
distribute copies of the software, or if you modify it.
|
|
32
|
+
|
|
33
|
+
For example, if you distribute copies of such a program, whether
|
|
34
|
+
gratis or for a fee, you must give the recipients all the rights that
|
|
35
|
+
you have. You must make sure that they, too, receive or can get the
|
|
36
|
+
source code. And you must show them these terms so they know their
|
|
37
|
+
rights.
|
|
38
|
+
|
|
39
|
+
We protect your rights with two steps: (1) copyright the software, and
|
|
40
|
+
(2) offer you this license which gives you legal permission to copy,
|
|
41
|
+
distribute and/or modify the software.
|
|
42
|
+
|
|
43
|
+
Also, for each author's protection and ours, we want to make certain
|
|
44
|
+
that everyone understands that there is no warranty for this free
|
|
45
|
+
software. If the software is modified by someone else and passed on, we
|
|
46
|
+
want its recipients to know that what they have is not the original, so
|
|
47
|
+
that any problems introduced by others will not reflect on the original
|
|
48
|
+
authors' reputations.
|
|
49
|
+
|
|
50
|
+
Finally, any free program is threatened constantly by software
|
|
51
|
+
patents. We wish to avoid the danger that redistributors of a free
|
|
52
|
+
program will individually obtain patent licenses, in effect making the
|
|
53
|
+
program proprietary. To prevent this, we have made it clear that any
|
|
54
|
+
patent must be licensed for everyone's free use or not licensed at all.
|
|
55
|
+
|
|
56
|
+
The precise terms and conditions for copying, distribution and
|
|
57
|
+
modification follow.
|
|
58
|
+
|
|
59
|
+
GNU GENERAL PUBLIC LICENSE
|
|
60
|
+
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
|
61
|
+
|
|
62
|
+
0. This License applies to any program or other work which contains
|
|
63
|
+
a notice placed by the copyright holder saying it may be distributed
|
|
64
|
+
under the terms of this General Public License. The "Program", below,
|
|
65
|
+
refers to any such program or work, and a "work based on the Program"
|
|
66
|
+
means either the Program or any derivative work under copyright law:
|
|
67
|
+
that is to say, a work containing the Program or a portion of it,
|
|
68
|
+
either verbatim or with modifications and/or translated into another
|
|
69
|
+
language. (Hereinafter, translation is included without limitation in
|
|
70
|
+
the term "modification".) Each licensee is addressed as "you".
|
|
71
|
+
|
|
72
|
+
Activities other than copying, distribution and modification are not
|
|
73
|
+
covered by this License; they are outside its scope. The act of
|
|
74
|
+
running the Program is not restricted, and the output from the Program
|
|
75
|
+
is covered only if its contents constitute a work based on the
|
|
76
|
+
Program (independent of having been made by running the Program).
|
|
77
|
+
Whether that is true depends on what the Program does.
|
|
78
|
+
|
|
79
|
+
1. You may copy and distribute verbatim copies of the Program's
|
|
80
|
+
source code as you receive it, in any medium, provided that you
|
|
81
|
+
conspicuously and appropriately publish on each copy an appropriate
|
|
82
|
+
copyright notice and disclaimer of warranty; keep intact all the
|
|
83
|
+
notices that refer to this License and to the absence of any warranty;
|
|
84
|
+
and give any other recipients of the Program a copy of this License
|
|
85
|
+
along with the Program.
|
|
86
|
+
|
|
87
|
+
You may charge a fee for the physical act of transferring a copy, and
|
|
88
|
+
you may at your option offer warranty protection in exchange for a fee.
|
|
89
|
+
|
|
90
|
+
2. You may modify your copy or copies of the Program or any portion
|
|
91
|
+
of it, thus forming a work based on the Program, and copy and
|
|
92
|
+
distribute such modifications or work under the terms of Section 1
|
|
93
|
+
above, provided that you also meet all of these conditions:
|
|
94
|
+
|
|
95
|
+
a) You must cause the modified files to carry prominent notices
|
|
96
|
+
stating that you changed the files and the date of any change.
|
|
97
|
+
|
|
98
|
+
b) You must cause any work that you distribute or publish, that in
|
|
99
|
+
whole or in part contains or is derived from the Program or any
|
|
100
|
+
part thereof, to be licensed as a whole at no charge to all third
|
|
101
|
+
parties under the terms of this License.
|
|
102
|
+
|
|
103
|
+
c) If the modified program normally reads commands interactively
|
|
104
|
+
when run, you must cause it, when started running for such
|
|
105
|
+
interactive use in the most ordinary way, to print or display an
|
|
106
|
+
announcement including an appropriate copyright notice and a
|
|
107
|
+
notice that there is no warranty (or else, saying that you provide
|
|
108
|
+
a warranty) and that users may redistribute the program under
|
|
109
|
+
these conditions, and telling the user how to view a copy of this
|
|
110
|
+
License. (Exception: if the Program itself is interactive but
|
|
111
|
+
does not normally print such an announcement, your work based on
|
|
112
|
+
the Program is not required to print an announcement.)
|
|
113
|
+
|
|
114
|
+
These requirements apply to the modified work as a whole. If
|
|
115
|
+
identifiable sections of that work are not derived from the Program,
|
|
116
|
+
and can be reasonably considered independent and separate works in
|
|
117
|
+
themselves, then this License, and its terms, do not apply to those
|
|
118
|
+
sections when you distribute them as separate works. But when you
|
|
119
|
+
distribute the same sections as part of a whole which is a work based
|
|
120
|
+
on the Program, the distribution of the whole must be on the terms of
|
|
121
|
+
this License, whose permissions for other licensees extend to the
|
|
122
|
+
entire whole, and thus to each and every part regardless of who wrote it.
|
|
123
|
+
|
|
124
|
+
Thus, it is not the intent of this section to claim rights or contest
|
|
125
|
+
your rights to work written entirely by you; rather, the intent is to
|
|
126
|
+
exercise the right to control the distribution of derivative or
|
|
127
|
+
collective works based on the Program.
|
|
128
|
+
|
|
129
|
+
In addition, mere aggregation of another work not based on the Program
|
|
130
|
+
with the Program (or with a work based on the Program) on a volume of
|
|
131
|
+
a storage or distribution medium does not bring the other work under
|
|
132
|
+
the scope of this License.
|
|
133
|
+
|
|
134
|
+
3. You may copy and distribute the Program (or a work based on it,
|
|
135
|
+
under Section 2) in object code or executable form under the terms of
|
|
136
|
+
Sections 1 and 2 above provided that you also do one of the following:
|
|
137
|
+
|
|
138
|
+
a) Accompany it with the complete corresponding machine-readable
|
|
139
|
+
source code, which must be distributed under the terms of Sections
|
|
140
|
+
1 and 2 above on a medium customarily used for software interchange; or,
|
|
141
|
+
|
|
142
|
+
b) Accompany it with a written offer, valid for at least three
|
|
143
|
+
years, to give any third party, for a charge no more than your
|
|
144
|
+
cost of physically performing source distribution, a complete
|
|
145
|
+
machine-readable copy of the corresponding source code, to be
|
|
146
|
+
distributed under the terms of Sections 1 and 2 above on a medium
|
|
147
|
+
customarily used for software interchange; or,
|
|
148
|
+
|
|
149
|
+
c) Accompany it with the information you received as to the offer
|
|
150
|
+
to distribute corresponding source code. (This alternative is
|
|
151
|
+
allowed only for noncommercial distribution and only if you
|
|
152
|
+
received the program in object code or executable form with such
|
|
153
|
+
an offer, in accord with Subsection b above.)
|
|
154
|
+
|
|
155
|
+
The source code for a work means the preferred form of the work for
|
|
156
|
+
making modifications to it. For an executable work, complete source
|
|
157
|
+
code means all the source code for all modules it contains, plus any
|
|
158
|
+
associated interface definition files, plus the scripts used to
|
|
159
|
+
control compilation and installation of the executable. However, as a
|
|
160
|
+
special exception, the source code distributed need not include
|
|
161
|
+
anything that is normally distributed (in either source or binary
|
|
162
|
+
form) with the major components (compiler, kernel, and so on) of the
|
|
163
|
+
operating system on which the executable runs, unless that component
|
|
164
|
+
itself accompanies the executable.
|
|
165
|
+
|
|
166
|
+
If distribution of executable or object code is made by offering
|
|
167
|
+
access to copy from a designated place, then offering equivalent
|
|
168
|
+
access to copy the source code from the same place counts as
|
|
169
|
+
distribution of the source code, even though third parties are not
|
|
170
|
+
compelled to copy the source along with the object code.
|
|
171
|
+
|
|
172
|
+
4. You may not copy, modify, sublicense, or distribute the Program
|
|
173
|
+
except as expressly provided under this License. Any attempt
|
|
174
|
+
otherwise to copy, modify, sublicense or distribute the Program is
|
|
175
|
+
void, and will automatically terminate your rights under this License.
|
|
176
|
+
However, parties who have received copies, or rights, from you under
|
|
177
|
+
this License will not have their licenses terminated so long as such
|
|
178
|
+
parties remain in full compliance.
|
|
179
|
+
|
|
180
|
+
5. You are not required to accept this License, since you have not
|
|
181
|
+
signed it. However, nothing else grants you permission to modify or
|
|
182
|
+
distribute the Program or its derivative works. These actions are
|
|
183
|
+
prohibited by law if you do not accept this License. Therefore, by
|
|
184
|
+
modifying or distributing the Program (or any work based on the
|
|
185
|
+
Program), you indicate your acceptance of this License to do so, and
|
|
186
|
+
all its terms and conditions for copying, distributing or modifying
|
|
187
|
+
the Program or works based on it.
|
|
188
|
+
|
|
189
|
+
6. Each time you redistribute the Program (or any work based on the
|
|
190
|
+
Program), the recipient automatically receives a license from the
|
|
191
|
+
original licensor to copy, distribute or modify the Program subject to
|
|
192
|
+
these terms and conditions. You may not impose any further
|
|
193
|
+
restrictions on the recipients' exercise of the rights granted herein.
|
|
194
|
+
You are not responsible for enforcing compliance by third parties to
|
|
195
|
+
this License.
|
|
196
|
+
|
|
197
|
+
7. If, as a consequence of a court judgment or allegation of patent
|
|
198
|
+
infringement or for any other reason (not limited to patent issues),
|
|
199
|
+
conditions are imposed on you (whether by court order, agreement or
|
|
200
|
+
otherwise) that contradict the conditions of this License, they do not
|
|
201
|
+
excuse you from the conditions of this License. If you cannot
|
|
202
|
+
distribute so as to satisfy simultaneously your obligations under this
|
|
203
|
+
License and any other pertinent obligations, then as a consequence you
|
|
204
|
+
may not distribute the Program at all. For example, if a patent
|
|
205
|
+
license would not permit royalty-free redistribution of the Program by
|
|
206
|
+
all those who receive copies directly or indirectly through you, then
|
|
207
|
+
the only way you could satisfy both it and this License would be to
|
|
208
|
+
refrain entirely from distribution of the Program.
|
|
209
|
+
|
|
210
|
+
If any portion of this section is held invalid or unenforceable under
|
|
211
|
+
any particular circumstance, the balance of the section is intended to
|
|
212
|
+
apply and the section as a whole is intended to apply in other
|
|
213
|
+
circumstances.
|
|
214
|
+
|
|
215
|
+
It is not the purpose of this section to induce you to infringe any
|
|
216
|
+
patents or other property right claims or to contest validity of any
|
|
217
|
+
such claims; this section has the sole purpose of protecting the
|
|
218
|
+
integrity of the free software distribution system, which is
|
|
219
|
+
implemented by public license practices. Many people have made
|
|
220
|
+
generous contributions to the wide range of software distributed
|
|
221
|
+
through that system in reliance on consistent application of that
|
|
222
|
+
system; it is up to the author/donor to decide if he or she is willing
|
|
223
|
+
to distribute software through any other system and a licensee cannot
|
|
224
|
+
impose that choice.
|
|
225
|
+
|
|
226
|
+
This section is intended to make thoroughly clear what is believed to
|
|
227
|
+
be a consequence of the rest of this License.
|
|
228
|
+
|
|
229
|
+
8. If the distribution and/or use of the Program is restricted in
|
|
230
|
+
certain countries either by patents or by copyrighted interfaces, the
|
|
231
|
+
original copyright holder who places the Program under this License
|
|
232
|
+
may add an explicit geographical distribution limitation excluding
|
|
233
|
+
those countries, so that distribution is permitted only in or among
|
|
234
|
+
countries not thus excluded. In such case, this License incorporates
|
|
235
|
+
the limitation as if written in the body of this License.
|
|
236
|
+
|
|
237
|
+
9. The Free Software Foundation may publish revised and/or new versions
|
|
238
|
+
of the General Public License from time to time. Such new versions will
|
|
239
|
+
be similar in spirit to the present version, but may differ in detail to
|
|
240
|
+
address new problems or concerns.
|
|
241
|
+
|
|
242
|
+
Each version is given a distinguishing version number. If the Program
|
|
243
|
+
specifies a version number of this License which applies to it and "any
|
|
244
|
+
later version", you have the option of following the terms and conditions
|
|
245
|
+
either of that version or of any later version published by the Free
|
|
246
|
+
Software Foundation. If the Program does not specify a version number of
|
|
247
|
+
this License, you may choose any version ever published by the Free Software
|
|
248
|
+
Foundation.
|
|
249
|
+
|
|
250
|
+
10. If you wish to incorporate parts of the Program into other free
|
|
251
|
+
programs whose distribution conditions are different, write to the author
|
|
252
|
+
to ask for permission. For software which is copyrighted by the Free
|
|
253
|
+
Software Foundation, write to the Free Software Foundation; we sometimes
|
|
254
|
+
make exceptions for this. Our decision will be guided by the two goals
|
|
255
|
+
of preserving the free status of all derivatives of our free software and
|
|
256
|
+
of promoting the sharing and reuse of software generally.
|
|
257
|
+
|
|
258
|
+
NO WARRANTY
|
|
259
|
+
|
|
260
|
+
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
|
261
|
+
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
|
262
|
+
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
|
263
|
+
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
|
264
|
+
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
|
265
|
+
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
|
266
|
+
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
|
267
|
+
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
|
268
|
+
REPAIR OR CORRECTION.
|
|
269
|
+
|
|
270
|
+
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
|
271
|
+
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
|
272
|
+
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
|
273
|
+
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
|
274
|
+
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
|
275
|
+
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
|
276
|
+
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
|
277
|
+
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
|
278
|
+
POSSIBILITY OF SUCH DAMAGES.
|
|
279
|
+
|
|
280
|
+
END OF TERMS AND CONDITIONS
|
|
281
|
+
|
|
282
|
+
How to Apply These Terms to Your New Programs
|
|
283
|
+
|
|
284
|
+
If you develop a new program, and you want it to be of the greatest
|
|
285
|
+
possible use to the public, the best way to achieve this is to make it
|
|
286
|
+
free software which everyone can redistribute and change under these terms.
|
|
287
|
+
|
|
288
|
+
To do so, attach the following notices to the program. It is safest
|
|
289
|
+
to attach them to the start of each source file to most effectively
|
|
290
|
+
convey the exclusion of warranty; and each file should have at least
|
|
291
|
+
the "copyright" line and a pointer to where the full notice is found.
|
|
292
|
+
|
|
293
|
+
<one line to give the program's name and a brief idea of what it does.>
|
|
294
|
+
Copyright (C) <year> <name of author>
|
|
295
|
+
|
|
296
|
+
This program is free software; you can redistribute it and/or modify
|
|
297
|
+
it under the terms of the GNU General Public License as published by
|
|
298
|
+
the Free Software Foundation; either version 2 of the License, or
|
|
299
|
+
(at your option) any later version.
|
|
300
|
+
|
|
301
|
+
This program is distributed in the hope that it will be useful,
|
|
302
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
303
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
304
|
+
GNU General Public License for more details.
|
|
305
|
+
|
|
306
|
+
You should have received a copy of the GNU General Public License along
|
|
307
|
+
with this program; if not, write to the Free Software Foundation, Inc.,
|
|
308
|
+
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
309
|
+
|
|
310
|
+
Also add information on how to contact you by electronic and paper mail.
|
|
311
|
+
|
|
312
|
+
If the program is interactive, make it output a short notice like this
|
|
313
|
+
when it starts in an interactive mode:
|
|
314
|
+
|
|
315
|
+
Gnomovision version 69, Copyright (C) year name of author
|
|
316
|
+
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
|
317
|
+
This is free software, and you are welcome to redistribute it
|
|
318
|
+
under certain conditions; type `show c' for details.
|
|
319
|
+
|
|
320
|
+
The hypothetical commands `show w' and `show c' should show the appropriate
|
|
321
|
+
parts of the General Public License. Of course, the commands you use may
|
|
322
|
+
be called something other than `show w' and `show c'; they could even be
|
|
323
|
+
mouse-clicks or menu items--whatever suits your program.
|
|
324
|
+
|
|
325
|
+
You should also get your employer (if you work as a programmer) or your
|
|
326
|
+
school, if any, to sign a "copyright disclaimer" for the program, if
|
|
327
|
+
necessary. Here is a sample; alter the names:
|
|
328
|
+
|
|
329
|
+
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
|
330
|
+
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
|
331
|
+
|
|
332
|
+
<signature of Ty Coon>, 1 April 1989
|
|
333
|
+
Ty Coon, President of Vice
|
|
334
|
+
|
|
335
|
+
This General Public License does not permit incorporating your program into
|
|
336
|
+
proprietary programs. If your program is a subroutine library, you may
|
|
337
|
+
consider it more useful to permit linking proprietary applications with the
|
|
338
|
+
library. If this is what you want to do, use the GNU Lesser General
|
|
339
|
+
Public License instead of this License.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
wazuhcoverage
|