You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In addition, Macaron uses the global settings files for Maven and Gradle if present on the host machine and copies them to
136
-
the Docker container. You can set up your proxy settings in the following files:
137
-
138
-
* ``~/.m2/settings.xml``
139
-
* ``~/.gradle/gradle.properties``
140
-
141
-
See the `Maven <https://maven.apache.org/settings.html#proxies>`_ and `Gradle <https://docs.gradle.org/current/userguide/build_environment.html#sec:accessing_the_web_via_a_proxy>`_ documentations for more information on setting up proxies.
Copy file name to clipboardExpand all lines: docs/source/pages/output_files.rst
+1-11Lines changed: 1 addition & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,8 +20,6 @@ Top level structure
20
20
.. code-block::
21
21
22
22
output/
23
-
├── .gradle/
24
-
├── .m2/
25
23
├── build_log/
26
24
├── git_repos/
27
25
├── reports/
@@ -182,18 +180,10 @@ This file stores the log messages from the latest run of Macaron.
182
180
build_log
183
181
^^^^^^^^^
184
182
185
-
This is the directory for storing the log from running external components such as `CycloneDx SBOM Maven plugin <https://github.com/CycloneDX/cyclonedx-maven-plugin>`_, `CycloneDx SBOM Gradle plugin <https://github.com/CycloneDX/cyclonedx-gradle-plugin>`_ or the `slsa-verifier <https://github.com/slsa-framework/slsa-verifier>`_.
183
+
This is the directory for storing the log from running external components, such as `slsa-verifier <https://github.com/slsa-framework/slsa-verifier>`_.
186
184
187
185
^^^^^^^^^^^^^^^
188
186
sbom_debug.json
189
187
^^^^^^^^^^^^^^^
190
188
191
189
This file contain the debug information for running the SBOM generator to obtain dependencies of a repository.
192
-
193
-
^^^^^^^^^^^^^^^
194
-
.m2 and .gradle
195
-
^^^^^^^^^^^^^^^
196
-
197
-
These two directories cache the content of ``~/.m2`` and ``~/.gradle`` in the Docker container between different runs (which are
198
-
mainly updated by the CycloneDX SBOM plugins).
199
-
This will helps subsequent runs on the same target repository faster.
Currently, we support the following type of project for automatic dependency resolution.
117
117
118
-
* Java Maven
119
-
* Java Gradle
120
118
* Python (with a Python virtual environment created and packages installed using Python3.11, see :ref:`providing Python virtual environment <python-venv-deps>`.)
Copy file name to clipboardExpand all lines: docs/source/pages/tutorials/detect_malicious_java_dep.rst
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,11 +66,11 @@ Skip this section if you already know how to install Macaron.
66
66
Run ``analyze`` command
67
67
***********************
68
68
69
-
First, we need to run the ``analyze`` command of Macaron to run a number of :ref:`checks <checks>` and collect evidence for ``example-maven-app`` and its dependencies.
69
+
First, we need to run the ``analyze`` command of Macaron to run a number of :ref:`checks <checks>` and collect evidence for ``example-maven-app`` and its dependencies. You need to generate the SBOM and provide it to Macaron. For more details see the instructions : :ref:`here <with-sbom>`.
.. note:: By default, Macaron clones the repositories and creates output files under the ``output`` directory. To understand the structure of this directory please see :ref:`Output Files Guide <output_files_guide>`.
76
76
@@ -98,7 +98,7 @@ As you can see, some of the checks are passing and some are failing. In summary,
98
98
* but it is not deploying any artifacts automatically (``mcn_build_as_code_1``)
99
99
* and no CI workflow runs are detected that automatically publish artifacts (``mcn_find_artifact_pipeline_1``)
100
100
101
-
As you scroll down in the HTML report, you will see a section for the dependencies that were automatically identified:
101
+
As you scroll down in the HTML report, you will see a section for the dependencies that were identified from the provided ``sbom.json``:
0 commit comments