-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
106 lines (95 loc) · 3.96 KB
/
Copy pathpyproject.toml
File metadata and controls
106 lines (95 loc) · 3.96 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "agentdiscover"
version = "2.9.5"
description = "Discover every AI agent in your infrastructure. 5-layer detection: static analysis, network monitoring, eBPF/Kubernetes runtime, endpoint, and cloud audit (CloudTrail). Company-level correlation. AIBOM export. MCP server detection."
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT"}
authors = [
{name = "Mohamed Waseem", email = "mwaseem@defendai.tech"}
]
maintainers = [
{name = "DefendAI", email = "support@defendai.ai"}
]
keywords = [
"ai", "agents", "security", "static-analysis", "kubernetes", "llm",
"shadow-ai", "ai-security", "agent-discovery", "ebpf",
"ai-agent-security", "mcp-security", "llm-security", "ghost-detection",
"ai-governance", "cyclonedx", "aibom", "mcp", "agent-scanner",
"shadow-ai-detection", "ai-inventory",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"Topic :: Security",
"Topic :: Software Development :: Quality Assurance",
"Topic :: System :: Monitoring",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
]
dependencies = [
"typer>=0.9.0",
"rich>=13.0.0",
"pydantic>=2.0.0",
"sarif-om>=1.0.4",
"esprima>=4.0.1",
"psutil>=5.9.0",
"kubernetes>=28.1.0",
"httpx>=0.27.0",
"certifi>=2024.2.2",
]
# --platform flag (known-apps fetch): uses defendai-sdk when available, else urllib.
# To use the SDK (tenant token, etc.): pip install -e /path/to/defendai-sdk
# When defendai-sdk is on PyPI, add optional-dependencies platform = ["defendai-sdk>=0.2.0"]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-cov>=4.1.0",
"ruff>=0.1.0",
]
[project.scripts]
agentdiscover = "agent_discover_scanner.cli:app"
# Backward-compatible aliases kept so existing installs and CI scripts continue to work.
agent-discover-scanner = "agent_discover_scanner.cli:app"
agent-discover = "agent_discover_scanner.cli:app"
[project.urls]
Homepage = "https://defendai.ai"
Documentation = "https://github.com/Defend-AI-Tech-Inc/agent-discover-scanner/blob/main/README.md"
Repository = "https://github.com/Defend-AI-Tech-Inc/agent-discover-scanner"
Issues = "https://github.com/Defend-AI-Tech-Inc/agent-discover-scanner/issues"
Changelog = "https://github.com/Defend-AI-Tech-Inc/agent-discover-scanner/blob/main/CHANGELOG.md"
[tool.ruff]
target-version = "py310"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP"]
ignore = []
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --cov=agent_discover_scanner --cov-report=term-missing"
[tool.hatch.build.targets.wheel]
packages = ["src/agent_discover_scanner"]
# Hatchling's default file selection is VCS-ignore-aware: it re-applies .gitignore
# patterns at build time regardless of whether a file was force-committed to git.
# The repo's blanket `*.json` gitignore rule would otherwise silently drop these
# runtime-loaded data files from the wheel. `artifacts` is the hatchling-recommended
# mechanism for including VCS-ignored files (see https://hatch.pypa.io/latest/config/build/#artifacts).
artifacts = ["src/agent_discover_scanner/data/*.json"]
[tool.hatch.build.targets.sdist]
include = ["src/agent_discover_scanner", "tests", "README.md", "LICENSE", "CHANGELOG.md"]
# Same VCS-ignore-aware exclusion applies to the sdist target; without this, files
# built from the sdist (rather than a wheel built directly from git) would also
# silently omit these data files.
artifacts = ["src/agent_discover_scanner/data/*.json"]