-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (65 loc) · 2.46 KB
/
Copy pathpyproject.toml
File metadata and controls
77 lines (65 loc) · 2.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "sentineldeck"
dynamic = ["version"]
description = "Passive attack-surface visibility and client-ready security reports for small businesses."
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT"}
authors = [{name = "sanmaxdev"}]
keywords = ["security", "attack-surface", "osint", "headers", "ssl", "sme"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Security",
"Typing :: Typed",
]
dependencies = ["dnspython>=2.0", "cryptography>=41.0"]
[project.urls]
Homepage = "https://github.com/sanmaxdev/SentinelDeck"
Repository = "https://github.com/sanmaxdev/SentinelDeck"
Issues = "https://github.com/sanmaxdev/SentinelDeck/issues"
Changelog = "https://github.com/sanmaxdev/SentinelDeck/blob/main/CHANGELOG.md"
[project.optional-dependencies]
dev = ["pytest>=7", "ruff>=0.4"]
[project.scripts]
sentineldeck = "sentineldeck.cli:main"
[tool.setuptools.dynamic]
version = {attr = "sentineldeck.__version__"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
sentineldeck = ["py.typed"]
[tool.pytest.ini_options]
pythonpath = ["src"]
testpaths = ["tests"]
[tool.bandit]
# Patterns inherent to a passive network scanner, reviewed as safe:
# B404/B603 - the dig/host DNS fallback runs a fixed argv with no shell
# B310 - urlopen targets are https/http URLs we construct from a domain
# B112 - retry loops continue on a failed attempt
# B110 - terminal colour / UTF-8 setup is best-effort and must never crash the CLI
skips = ["B404", "B603", "B310", "B112", "B110"]
[tool.ruff]
line-length = 120
target-version = "py310"
src = ["src", "tests"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]
[tool.ruff.lint.per-file-ignores]
# Report renderers and the remediation snippets are inline templates with long
# markup, CSS, and config lines.
"src/sentineldeck/reporters/html_report.py" = ["E501"]
"src/sentineldeck/reporters/badge.py" = ["E501"]
"src/sentineldeck/reporters/diff_report.py" = ["E501"]
"src/sentineldeck/remediation.py" = ["E501"]