prodcycle 0.2.0__tar.gz → 0.2.2__tar.gz
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.
- {prodcycle-0.2.0 → prodcycle-0.2.2}/PKG-INFO +2 -2
- {prodcycle-0.2.0 → prodcycle-0.2.2}/pyproject.toml +2 -2
- {prodcycle-0.2.0 → prodcycle-0.2.2}/src/prodcycle/utils/fs.py +10 -2
- {prodcycle-0.2.0 → prodcycle-0.2.2}/src/prodcycle.egg-info/PKG-INFO +2 -2
- {prodcycle-0.2.0 → prodcycle-0.2.2}/LICENSE +0 -0
- {prodcycle-0.2.0 → prodcycle-0.2.2}/README.md +0 -0
- {prodcycle-0.2.0 → prodcycle-0.2.2}/setup.cfg +0 -0
- {prodcycle-0.2.0 → prodcycle-0.2.2}/src/prodcycle/__init__.py +0 -0
- {prodcycle-0.2.0 → prodcycle-0.2.2}/src/prodcycle/api_client.py +0 -0
- {prodcycle-0.2.0 → prodcycle-0.2.2}/src/prodcycle/cli.py +0 -0
- {prodcycle-0.2.0 → prodcycle-0.2.2}/src/prodcycle/formatters/prompt.py +0 -0
- {prodcycle-0.2.0 → prodcycle-0.2.2}/src/prodcycle/formatters/sarif.py +0 -0
- {prodcycle-0.2.0 → prodcycle-0.2.2}/src/prodcycle/formatters/table.py +0 -0
- {prodcycle-0.2.0 → prodcycle-0.2.2}/src/prodcycle.egg-info/SOURCES.txt +0 -0
- {prodcycle-0.2.0 → prodcycle-0.2.2}/src/prodcycle.egg-info/dependency_links.txt +0 -0
- {prodcycle-0.2.0 → prodcycle-0.2.2}/src/prodcycle.egg-info/entry_points.txt +0 -0
- {prodcycle-0.2.0 → prodcycle-0.2.2}/src/prodcycle.egg-info/top_level.txt +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: prodcycle
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: Multi-framework policy-as-code compliance scanner for infrastructure and application code.
|
|
5
5
|
Author-email: "ProdCycle, Inc." <engineering@prodcycle.com>
|
|
6
6
|
License: See LICENSE in LICENSE
|
|
7
7
|
Project-URL: Homepage, https://prodcycle.com
|
|
8
8
|
Project-URL: Documentation, https://docs.prodcycle.com
|
|
9
|
-
Project-URL: Repository, https://github.com/prodcycle/
|
|
9
|
+
Project-URL: Repository, https://github.com/prodcycle/cli
|
|
10
10
|
Keywords: compliance,soc2,hipaa,nist,cli,security
|
|
11
11
|
Classifier: Development Status :: 4 - Beta
|
|
12
12
|
Classifier: Environment :: Console
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "prodcycle"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.2"
|
|
8
8
|
description = "Multi-framework policy-as-code compliance scanner for infrastructure and application code."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.12"
|
|
@@ -31,4 +31,4 @@ prodcycle = "prodcycle.cli:main"
|
|
|
31
31
|
[project.urls]
|
|
32
32
|
Homepage = "https://prodcycle.com"
|
|
33
33
|
Documentation = "https://docs.prodcycle.com"
|
|
34
|
-
Repository = "https://github.com/prodcycle/
|
|
34
|
+
Repository = "https://github.com/prodcycle/cli"
|
|
@@ -2,7 +2,7 @@ import os
|
|
|
2
2
|
import glob
|
|
3
3
|
|
|
4
4
|
MAX_FILE_SIZE = 256 * 1024 # 256 KB
|
|
5
|
-
MAX_TOTAL_FILES =
|
|
5
|
+
MAX_TOTAL_FILES = 10_000
|
|
6
6
|
|
|
7
7
|
def is_binary(file_path):
|
|
8
8
|
try:
|
|
@@ -17,7 +17,8 @@ def collect_files(base_dir, include_patterns=None, exclude_patterns=None):
|
|
|
17
17
|
include_patterns = ['**/*']
|
|
18
18
|
|
|
19
19
|
ignore_list = [
|
|
20
|
-
'node_modules', '.git', '.terraform', 'dist', 'build', '__pycache__',
|
|
20
|
+
'node_modules', '.git', '.terraform', 'dist', 'build', '__pycache__',
|
|
21
|
+
'.venv', 'venv', '.next', '.nuxt', 'vendor', 'coverage', '.tox', 'target',
|
|
21
22
|
]
|
|
22
23
|
if exclude_patterns:
|
|
23
24
|
ignore_list.extend(exclude_patterns)
|
|
@@ -45,6 +46,13 @@ def collect_files(base_dir, include_patterns=None, exclude_patterns=None):
|
|
|
45
46
|
if should_ignore:
|
|
46
47
|
continue
|
|
47
48
|
|
|
49
|
+
# Skip known non-IaC files by name/extension
|
|
50
|
+
basename = os.path.basename(rel_path)
|
|
51
|
+
skip_extensions = ('.lock', '.min.js', '.min.css', '.map', '.bundle.js', '.tfstate')
|
|
52
|
+
skip_names = ('package-lock.json',)
|
|
53
|
+
if basename in skip_names or any(basename.endswith(ext) for ext in skip_extensions):
|
|
54
|
+
continue
|
|
55
|
+
|
|
48
56
|
if count >= MAX_TOTAL_FILES:
|
|
49
57
|
print(f"Warning: Reached max file limit ({MAX_TOTAL_FILES}). Some files were skipped.")
|
|
50
58
|
return files
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: prodcycle
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: Multi-framework policy-as-code compliance scanner for infrastructure and application code.
|
|
5
5
|
Author-email: "ProdCycle, Inc." <engineering@prodcycle.com>
|
|
6
6
|
License: See LICENSE in LICENSE
|
|
7
7
|
Project-URL: Homepage, https://prodcycle.com
|
|
8
8
|
Project-URL: Documentation, https://docs.prodcycle.com
|
|
9
|
-
Project-URL: Repository, https://github.com/prodcycle/
|
|
9
|
+
Project-URL: Repository, https://github.com/prodcycle/cli
|
|
10
10
|
Keywords: compliance,soc2,hipaa,nist,cli,security
|
|
11
11
|
Classifier: Development Status :: 4 - Beta
|
|
12
12
|
Classifier: Environment :: Console
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|