pyrig-codeql 3.1.21__tar.gz → 3.1.23__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.
- {pyrig_codeql-3.1.21 → pyrig_codeql-3.1.23}/PKG-INFO +1 -1
- {pyrig_codeql-3.1.21 → pyrig_codeql-3.1.23}/pyproject.toml +1 -1
- {pyrig_codeql-3.1.21 → pyrig_codeql-3.1.23}/pyproject.toml.orig +1 -1
- {pyrig_codeql-3.1.21 → pyrig_codeql-3.1.23}/src/pyrig_codeql/rig/configs/version_control/remote/workflows/code_analysis.py +4 -4
- {pyrig_codeql-3.1.21 → pyrig_codeql-3.1.23}/LICENSE +0 -0
- {pyrig_codeql-3.1.21 → pyrig_codeql-3.1.23}/README.md +0 -0
- {pyrig_codeql-3.1.21 → pyrig_codeql-3.1.23}/src/pyrig_codeql/__init__.py +0 -0
- {pyrig_codeql-3.1.21 → pyrig_codeql-3.1.23}/src/pyrig_codeql/py.typed +0 -0
- {pyrig_codeql-3.1.21 → pyrig_codeql-3.1.23}/src/pyrig_codeql/rig/__init__.py +0 -0
- {pyrig_codeql-3.1.21 → pyrig_codeql-3.1.23}/src/pyrig_codeql/rig/configs/__init__.py +0 -0
- {pyrig_codeql-3.1.21 → pyrig_codeql-3.1.23}/src/pyrig_codeql/rig/configs/version_control/__init__.py +0 -0
- {pyrig_codeql-3.1.21 → pyrig_codeql-3.1.23}/src/pyrig_codeql/rig/configs/version_control/remote/__init__.py +0 -0
- {pyrig_codeql-3.1.21 → pyrig_codeql-3.1.23}/src/pyrig_codeql/rig/configs/version_control/remote/code_analyzer.py +0 -0
- {pyrig_codeql-3.1.21 → pyrig_codeql-3.1.23}/src/pyrig_codeql/rig/configs/version_control/remote/workflows/__init__.py +0 -0
- {pyrig_codeql-3.1.21 → pyrig_codeql-3.1.23}/src/pyrig_codeql/rig/configs/version_control/remote/workflows/health_check.py +0 -0
- {pyrig_codeql-3.1.21 → pyrig_codeql-3.1.23}/src/pyrig_codeql/rig/resources/ACTION_CODEQL_ANALYZE +0 -0
- {pyrig_codeql-3.1.21 → pyrig_codeql-3.1.23}/src/pyrig_codeql/rig/resources/ACTION_CODEQL_INIT +0 -0
- {pyrig_codeql-3.1.21 → pyrig_codeql-3.1.23}/src/pyrig_codeql/rig/resources/__init__.py +0 -0
- {pyrig_codeql-3.1.21 → pyrig_codeql-3.1.23}/src/pyrig_codeql/rig/tools/__init__.py +0 -0
- {pyrig_codeql-3.1.21 → pyrig_codeql-3.1.23}/src/pyrig_codeql/rig/tools/security/__init__.py +0 -0
- {pyrig_codeql-3.1.21 → pyrig_codeql-3.1.23}/src/pyrig_codeql/rig/tools/security/code.py +0 -0
|
@@ -35,7 +35,7 @@ class CodeAnalysisWorkflowConfigFile(WorkflowConfigFile):
|
|
|
35
35
|
return self.job(
|
|
36
36
|
self.job_check_alerts,
|
|
37
37
|
needs=(self.job_analyze,),
|
|
38
|
-
permissions=self.
|
|
38
|
+
permissions=self.permissions_job_check_alerts(),
|
|
39
39
|
steps=self.steps_check_alerts(),
|
|
40
40
|
timeout_minutes=5,
|
|
41
41
|
)
|
|
@@ -47,12 +47,12 @@ class CodeAnalysisWorkflowConfigFile(WorkflowConfigFile):
|
|
|
47
47
|
strategy=self.strategy_matrix(
|
|
48
48
|
matrix=self.matrix({"language": ["python", "actions"]}),
|
|
49
49
|
),
|
|
50
|
-
permissions=self.
|
|
50
|
+
permissions=self.permissions_job_analyze(),
|
|
51
51
|
steps=self.steps_analyze(),
|
|
52
52
|
timeout_minutes=90,
|
|
53
53
|
)
|
|
54
54
|
|
|
55
|
-
def
|
|
55
|
+
def permissions_job_check_alerts(self) -> dict[str, str]:
|
|
56
56
|
"""Grant read access to code-scanning alerts."""
|
|
57
57
|
return self.permission("security-events")
|
|
58
58
|
|
|
@@ -60,7 +60,7 @@ class CodeAnalysisWorkflowConfigFile(WorkflowConfigFile):
|
|
|
60
60
|
"""Return the CodeQL alert-check step."""
|
|
61
61
|
return [self.step_check_alerts()]
|
|
62
62
|
|
|
63
|
-
def
|
|
63
|
+
def permissions_job_analyze(self) -> dict[str, str]:
|
|
64
64
|
"""Grant the permissions required to analyze and upload CodeQL results."""
|
|
65
65
|
return {
|
|
66
66
|
**self.permission_contents(),
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyrig_codeql-3.1.21 → pyrig_codeql-3.1.23}/src/pyrig_codeql/rig/configs/version_control/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyrig_codeql-3.1.21 → pyrig_codeql-3.1.23}/src/pyrig_codeql/rig/resources/ACTION_CODEQL_ANALYZE
RENAMED
|
File without changes
|
{pyrig_codeql-3.1.21 → pyrig_codeql-3.1.23}/src/pyrig_codeql/rig/resources/ACTION_CODEQL_INIT
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|