Closed
Conversation
Contributor
❌ 8 blocking issues (8 total)
|
Contributor
Build artifacts:
|
Contributor
Build artifacts:
|
Contributor
Build artifacts:
|
Contributor
Build artifacts:
|
Collaborator
Author
|
It doesn't look like I am able to fix the clusterfucker. I need to fix this separately. The fuzzing has been failing due to dependency issues for some time. |
Contributor
Build artifacts:
|
Contributor
Build artifacts:
|
Contributor
Build artifacts:
|
Contributor
Build artifacts:
|
Contributor
Build artifacts:
|
| make \ | ||
| libxml2-dev \ | ||
| libxslt-dev \ | ||
| python3-dev \ |
Contributor
| RUN apt-get install -y python3-pip | ||
| RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python3.10 | ||
| RUN python3.10 -m pip install --upgrade wheel setuptools setuptools_scm PyInstaller==6.13.0 | ||
| RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python3 |
Contributor
| RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python3.10 | ||
| RUN python3.10 -m pip install --upgrade wheel setuptools setuptools_scm PyInstaller==6.13.0 | ||
| RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python3 | ||
| RUN python3 -m pip install --upgrade wheel setuptools setuptools_scm PyInstaller==6.18.0 |
Contributor
There was a problem hiding this comment.
| call-run-website-tests: | ||
| name: Build and run Website Tests | ||
| needs: hardening | ||
| uses: ./.github/workflows/build-website.yaml |
Contributor
| call-run-build-copi-tests: | ||
| name: Build and run COPI Tests | ||
| needs: hardening | ||
| uses: ./.github/workflows/copi-build.yaml No newline at end of file |
Contributor
| make | ||
| COPY --chown=builder:union requirements.txt ./ | ||
| RUN pip install -r requirements.txt --require-hashes | ||
| RUN pip install pipenv |
Contributor
There was a problem hiding this comment.
Found 3 issues:
1. Avoid use of cache directory with pip. Use pip install --no-cache-dir [hadolint:DL3042]
2. Pin versions in pip. Instead of pip install use pip install == or pip install --requirement [hadolint:DL3013]
3. Multiple consecutive RUN instructions. Consider consolidation. [hadolint:DL3059]
Collaborator
Author
|
superseeded by #2054 |
Contributor
Build artifacts:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In this pull-request:
Additional Utility Scripts
Converting CAPEC Data
The
scripts/convertCAPEC.pyscript converts CAPEC (Common Attack Pattern Enumeration and Classification) JSON data into Markdown format for the Cornucopia website taxonomy.Example usage:
Default paths:
cornucopia.owasp.org/data/capec-3.9/3000.jsoncornucopia.owasp.org/data/taxonomy/en/CAPEC-3.9/The script creates individual Markdown files for each CAPEC attack pattern with descriptions and links to the official CAPEC database.
Converting CAPEC Mappings to ASVS Format
The
scripts/convertCAPECMapToASVSMap.pyscript processes webapp-mappings YAML files and generates a consolidated CAPEC-to-ASVS (Application Security Verification Standard) mapping file.Example usage:
Default paths:
source/webapp-mappings-3.0.yamlsource/webapp-capec-3.0.yamlThe script:
suits -> cards -> capec_mapstructureOutput format: