generated from oracle/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 28
feat: add Dockerfile analysis for build command detection #1091
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
achrafmag
wants to merge
36
commits into
oracle:staging
Choose a base branch
from
achrafmag:achrafmag-docker-node
base: staging
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
…PyPI malware reporting (oracle#1031) Resolved issue in ProbLog model where skip results were evaluated as false, causing many false positives. Rule IDs have also been added. Signed-off-by: Carl Flottmann <[email protected]>
Signed-off-by: Ben Selwyn-Smith <[email protected]>
Signed-off-by: behnazh-w <[email protected]>
…tory (oracle#982) This PR adds a fallback option for PyPI PURLs in cases where deps.dev does not report their repositories. Instead, the PyPI registry is used to find the appropriate repository URL. Signed-off-by: Ben Selwyn-Smith <[email protected]>
Signed-off-by: Ben Selwyn-Smith <[email protected]>
This pull request introduces a new check mcn_githubactions_vulnerabilities_1 to detect vulnerable GitHub Actions, enhancing the security of workflows and automating the identification of potential risks in CI/CD pipelines. Signed-off-by: behnazh-w <[email protected]>
Refactor logging behavior to print the SLSA summary only when verbose mode is enabled. We can revisit if the summary should be removed or improved in the verbose mode in the future. Signed-off-by: behnazh-w <[email protected]>
This PR adds a utility function to identify the highest semantic version tag from a set of Git tags, specifically for cases where multiple tags point to the same commit SHA in a third-party GitHub Action. Signed-off-by: behnazh-w <[email protected]>
Automatically generated by Commitizen.
Signed-off-by: Carl Flottmann <[email protected]>
This PR adds discovery of PyPI attestation files for software components. Signed-off-by: Ben Selwyn-Smith <[email protected]>
Signed-off-by: behnazh-w <[email protected]>
add support for Semgrep in the final macaron docker build using multistage docker builds. Signed-off-by: Carl Flottmann <[email protected]>
Signed-off-by: Ben Selwyn-Smith <[email protected]>
…racle#1087) Signed-off-by: behnazh-w <[email protected]>
Signed-off-by: Ben Selwyn-Smith <[email protected]>
Changes: -Function find_dockerfile_from_job: handles finding Dockerfile inside workflow in 2 cases of workflow jobs: -run and -uses. -Simple DockerNode class, so far it stores mainly the dockerfile path retrieved from workflow -Parsing Dockerfile using dockerfile-parse and RUN instruction commands using bashparser.py Signed-off-by: Achraf Maghous <[email protected]>
Changes: -Function find_dockerfile_from_job: handles finding Dockerfile inside workflow in 2 cases of workflow jobs: -run and -uses. -Simple DockerNode class, so far it stores mainly the dockerfile path retrieved from workflow -Parsing Dockerfile using dockerfile-parse and RUN instruction commands using bashparser.py Signed-off-by: Achraf Maghous <[email protected]>
Changes: -Function find_dockerfile_from_job: handles finding Dockerfile inside workflow in 2 cases of workflow jobs: -run and -uses. -Simple DockerNode class, so far it stores mainly the dockerfile path retrieved from workflow -Parsing Dockerfile using dockerfile-parse and RUN instruction commands using bashparser.py Signed-off-by: Achraf Maghous <[email protected]>
Changes: -Function find_dockerfile_from_job: handles finding Dockerfile inside workflow in 2 cases of workflow jobs: -run and -uses. -Simple DockerNode class, so far it stores mainly the dockerfile path retrieved from workflow -Parsing Dockerfile using dockerfile-parse and RUN instruction commands using bashparser.py Signed-off-by: Achraf Maghous <[email protected]>
Signed-off-by: Ben Selwyn-Smith <[email protected]>
Signed-off-by: Amine <[email protected]>
…ackages (oracle#965) Include support for using Semgrep for analysis of source code to detect malicious code patterns, specified using Semgrep's YAML files. Signed-off-by: Carl Flottmann <[email protected]>
This PR allows Macaron to discover GitHub attestation. To retrieve these attestations, the SHA256 hash of the related artefact is required. Hashes are computed from local artefact files if available, or from downloaded ones otherwise. Signed-off-by: Ben Selwyn-Smith <[email protected]>
…acle#1096) This PR replaces the Go shared library previously used via C-bindings in Python with a standalone binary for the cuevalidator component. The binary can now be invoked as a subprocess, simplifying integration and improving portability. Signed-off-by: behnazh-w <[email protected]>
Changes: -Function find_dockerfile_from_job: handles finding Dockerfile inside workflow in 2 cases of workflow jobs: -run and -uses. -Simple DockerNode class, so far it stores mainly the dockerfile path retrieved from workflow -Parsing Dockerfile using dockerfile-parse and RUN instruction commands using bashparser.py -Parsing and storing build commands found in Dockerfiles Signed-off-by: Achraf Maghous <[email protected]>
…e. (oracle#1102) The detail info containing inspector links now contains links as keys regardless of whether they are reachable, and includes a boolean value for reachability. Signed-off-by: Carl Flottmann <[email protected]>
…torial (oracle#1101) Signed-off-by: Carl Flottmann <[email protected]>
oracle#1097) Signed-off-by: Amine <[email protected]>
--analyze-source CLI arg removed so Semgrep is now run by default. Automatic API docs update also run. Signed-off-by: Carl Flottmann <[email protected]>
Changes: -Function find_dockerfile_from_job: handles finding Dockerfile inside workflow in 2 cases of workflow jobs: -run and -uses. -Simple DockerNode class, so far it stores mainly the dockerfile path retrieved from workflow -Parsing Dockerfile using dockerfile-parse and RUN instruction commands using bashparser.py -Parsing and storing build commands found in Dockerfiles Signed-off-by: Achraf Maghous <[email protected]>
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.
Summary
Description of changes
-Function find_dockerfile_from_job: handles finding Dockerfile inside workflow in 2 cases of workflow jobs: -run and -uses.
-Simple DockerNode class, so far it stores mainly the dockerfile path retrieved from workflow
-Parsing Dockerfile using dockerfile-parse and RUN instruction commands using bashparser.py
Related issues
Draft Pull Request, does not target any particular issue
Checklist
verified
label should appear next to all of your commits on GitHub.