Skip to content

Commit 10275b0

Browse files
committed
chore: rename Exhort to Trustify DA
1 parent a40ea31 commit 10275b0

29 files changed

Lines changed: 304 additions & 300 deletions

.github/workflows/pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ jobs:
4949
echo "python-bin-location=$(echo $pythonLocation)/bin" >> $GITHUB_OUTPUT
5050
- name: Verify the project and create coverage report
5151
env:
52-
EXHORT_PYTHON3_PATH: "${{steps.python-location.outputs.python-bin-location}}/python3"
53-
EXHORT_PIP3_PATH: "${{steps.python-location.outputs.python-bin-location}}/pip3"
52+
TRUSTIFY_DA_PYTHON3_PATH: "${{steps.python-location.outputs.python-bin-location}}/python3"
53+
TRUSTIFY_DA_PIP3_PATH: "${{steps.python-location.outputs.python-bin-location}}/pip3"
5454
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5555
run: |
5656
mvn verify -Pits,cov -B -ff

CONTRIBUTING.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,17 @@
3737

3838
### Good to know
3939

40-
* You can override the default backend url by setting the `EXHORT_DEV_MODE` environment variable/system property to true:
41-
* In case environment variable/System Property `EXHORT_DEV_MODE=true` - You can Override the default exhort backend by setting
42-
`DEV_EXHORT_BACKEND_URL` env variable/system property to the desired exhort backend instance address ( useful for tests).
43-
* In case `DEV_EXHORT_BACKEND_URL` is not set via environment variable/system property, then the default DEV exhort backend is picked.
44-
* In case `EXHORT_DEV_MODE=false` or not set at all levels, then default backend url ( exhort prod) is picked, regardless of the value of `DEV_EXHORT_BACKEND_URL`.
45-
* Environment variables takes precedence over System properties - for example, if System property `EXHORT_DEV_MODE=true`
46-
but environment variable `EXHORT_DEV_MODE=false` , then default exhort prod will be used anyway.
40+
* You can override the default backend url by setting the `TRUSTIFY_DA_DEV_MODE` environment variable/system property to true:
41+
* In case environment variable/System Property `TRUSTIFY_DA_DEV_MODE=true` - You can Override the default trustify-dependency-analytics backend by setting
42+
`DEV_TRUSTIFY_DA_BACKEND_URL` env variable/system property to the desired trustify-dependency-analytics backend instance address ( useful for tests).
43+
* In case `DEV_TRUSTIFY_DA_BACKEND_URL` is not set via environment variable/system property, then the default DEV trustify-dependency-analytics backend is picked.
44+
* In case `TRUSTIFY_DA_DEV_MODE=false` or not set at all levels, then default backend url ( trustify-dependency-analytics prod) is picked, regardless of the value of `DEV_TRUSTIFY_DA_BACKEND_URL`.
45+
* Environment variables takes precedence over System properties - for example, if System property `TRUSTIFY_DA_DEV_MODE=true`
46+
but environment variable `TRUSTIFY_DA_DEV_MODE=false` , then default trustify-dependency-analytics prod will be used anyway.
4747

4848
### OpenAPI Specifications
4949

50-
We use the Java generated library for the [Exhort OpenAPI spec][1] for deserialization of the Backend's
50+
We use the Java generated library for the [Trustify Dependency Analytics API Specification][1] for deserialization of the Backend's
5151
API responses.<br/>
5252

5353
When the [Backend's spec file][1] is modified, a new
@@ -97,10 +97,10 @@ $ mvn clean verify -Pits,dev
9797
```
9898

9999
Integration tests are executed against a mocked _Backend_ server.<br/>
100-
If you need to run against the actual _Backend_ server, use the _EXHORT_ITS_USE_REAL_API_ environment variable:
100+
If you need to run against the actual _Backend_ server, use the _TRUSTIFY_DA_ITS_USE_REAL_API_ environment variable:
101101

102102
```shell
103-
EXHORT_ITS_USE_REAL_API=true mvn clean verify -Pits
103+
TRUSTIFY_DA_ITS_USE_REAL_API=true mvn clean verify -Pits
104104
```
105105

106106
> TIP: When working on a new integration test project, it's helpful opening the IDE directly in the test project folder.
@@ -114,7 +114,7 @@ contribution. See the [DCO](DCO) file for details.
114114

115115
<!-- Real links -->
116116
[0]: https://www.conventionalcommits.org/en/v1.0.0/
117-
[1]: https://github.com/guacsec/trustify-da-api-spec/blob/main/api/v4/openapi.yaml
117+
[1]: https://github.com/guacsec/trustify-da-api-spec/blob/main/api/v5/openapi.yaml
118118

119119
<!-- Badge links -->
120120
[10]: https://badgen.net/badge/Java%20Version/11/5382a1

README.md

Lines changed: 59 additions & 59 deletions
Large diffs are not rendered by default.

src/main/java/com/redhat/exhort/image/ImageUtils.java

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,14 @@
4040

4141
public class ImageUtils {
4242

43-
static final String EXHORT_SYFT_CONFIG_PATH = "EXHORT_SYFT_CONFIG_PATH";
44-
static final String EXHORT_SYFT_IMAGE_SOURCE = "EXHORT_SYFT_IMAGE_SOURCE";
45-
static final String EXHORT_IMAGE_PLATFORM = "EXHORT_IMAGE_PLATFORM";
46-
static final String EXHORT_IMAGE_OS = "EXHORT_IMAGE_OS";
47-
static final String EXHORT_IMAGE_ARCH = "EXHORT_IMAGE_ARCH";
48-
static final String EXHORT_IMAGE_VARIANT = "EXHORT_IMAGE_VARIANT";
49-
static final String EXHORT_SKOPEO_CONFIG_PATH = "EXHORT_SKOPEO_CONFIG_PATH";
50-
static final String EXHORT_IMAGE_SERVICE_ENDPOINT = "EXHORT_IMAGE_SERVICE_ENDPOINT";
43+
static final String TRUSTIFY_DA_SYFT_CONFIG_PATH = "TRUSTIFY_DA_SYFT_CONFIG_PATH";
44+
static final String TRUSTIFY_DA_SYFT_IMAGE_SOURCE = "TRUSTIFY_DA_SYFT_IMAGE_SOURCE";
45+
static final String TRUSTIFY_DA_IMAGE_PLATFORM = "TRUSTIFY_DA_IMAGE_PLATFORM";
46+
static final String TRUSTIFY_DA_IMAGE_OS = "TRUSTIFY_DA_IMAGE_OS";
47+
static final String TRUSTIFY_DA_IMAGE_ARCH = "TRUSTIFY_DA_IMAGE_ARCH";
48+
static final String TRUSTIFY_DA_IMAGE_VARIANT = "TRUSTIFY_DA_IMAGE_VARIANT";
49+
static final String TRUSTIFY_DA_SKOPEO_CONFIG_PATH = "TRUSTIFY_DA_SKOPEO_CONFIG_PATH";
50+
static final String TRUSTIFY_DA_IMAGE_SERVICE_ENDPOINT = "TRUSTIFY_DA_IMAGE_SERVICE_ENDPOINT";
5151
private static final String MEDIA_TYPE_DOCKER2_MANIFEST =
5252
"application/vnd.docker.distribution.manifest.v2+json";
5353
private static final String MEDIA_TYPE_DOCKER2_MANIFEST_LIST =
@@ -135,8 +135,8 @@ static Operations.ProcessExecOutput execSyft(ImageRef imageRef) {
135135
var docker = Operations.getCustomPathOrElse(DOCKER);
136136
var podman = Operations.getCustomPathOrElse(PODMAN);
137137

138-
var syftConfigPath = Environment.get(EXHORT_SYFT_CONFIG_PATH, "");
139-
var imageSource = Environment.get(EXHORT_SYFT_IMAGE_SOURCE, "");
138+
var syftConfigPath = Environment.get(TRUSTIFY_DA_SYFT_CONFIG_PATH, "");
139+
var imageSource = Environment.get(TRUSTIFY_DA_SYFT_IMAGE_SOURCE, "");
140140
SyftImageSource.getImageSource(imageSource);
141141

142142
var dockerPath =
@@ -205,19 +205,19 @@ static List<String> getSyftEnvs(String dockerPath, String podmanPath) {
205205
}
206206

207207
public static Platform getImagePlatform() {
208-
var platform = Environment.get(EXHORT_IMAGE_PLATFORM, "");
208+
var platform = Environment.get(TRUSTIFY_DA_IMAGE_PLATFORM, "");
209209
if (!platform.isEmpty()) {
210210
return new Platform(platform);
211211
}
212212

213-
var imageSource = Environment.get(EXHORT_SYFT_IMAGE_SOURCE, "");
213+
var imageSource = Environment.get(TRUSTIFY_DA_SYFT_IMAGE_SOURCE, "");
214214
SyftImageSource source = SyftImageSource.getImageSource(imageSource);
215215

216-
var os = Environment.get(EXHORT_IMAGE_OS, "");
216+
var os = Environment.get(TRUSTIFY_DA_IMAGE_OS, "");
217217
if (os.isEmpty()) {
218218
os = source.getOs();
219219
}
220-
var arch = Environment.get(EXHORT_IMAGE_ARCH, "");
220+
var arch = Environment.get(TRUSTIFY_DA_IMAGE_ARCH, "");
221221
if (arch.isEmpty()) {
222222
arch = source.getArch();
223223
}
@@ -226,7 +226,7 @@ public static Platform getImagePlatform() {
226226
return new Platform(os, arch, null);
227227
}
228228

229-
var variant = Environment.get(EXHORT_IMAGE_VARIANT, "");
229+
var variant = Environment.get(TRUSTIFY_DA_IMAGE_VARIANT, "");
230230
if (variant.isEmpty()) {
231231
variant = source.getVariant();
232232
}
@@ -425,8 +425,8 @@ static Map<Platform, String> getSingleImageDigest(ImageRef imageRef)
425425
static Operations.ProcessExecOutput execSkopeoInspect(ImageRef imageRef, boolean raw) {
426426
var skopeo = Operations.getExecutable(SKOPEO, ARG_VERSION);
427427

428-
var configPath = Environment.get(EXHORT_SKOPEO_CONFIG_PATH, "");
429-
var daemonHost = Environment.get(EXHORT_IMAGE_SERVICE_ENDPOINT, "");
428+
var configPath = Environment.get(TRUSTIFY_DA_SKOPEO_CONFIG_PATH, "");
429+
var daemonHost = Environment.get(TRUSTIFY_DA_IMAGE_SERVICE_ENDPOINT, "");
430430

431431
String[] cmd;
432432
if (daemonHost.isEmpty()) {

src/main/java/com/redhat/exhort/impl/ExhortApi.java

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,13 @@
6565
/** Concrete implementation of the Exhort {@link Api} Service. */
6666
public final class ExhortApi implements Api {
6767

68-
private static final String DEV_EXHORT_BACKEND_URL = "DEV_EXHORT_BACKEND_URL";
68+
private static final String DEV_TRUSTIFY_DA_BACKEND_URL = "DEV_TRUSTIFY_DA_BACKEND_URL";
6969

70-
private static final String EXHORT_DEV_MODE = "EXHORT_DEV_MODE";
70+
private static final String TRUSTIFY_DA_DEV_MODE = "TRUSTIFY_DA_DEV_MODE";
7171

72-
private static final String HTTP_VERSION_EXHORT_CLIENT = "HTTP_VERSION_EXHORT_CLIENT";
72+
private static final String HTTP_VERSION_TRUSTIFY_DA_CLIENT = "HTTP_VERSION_TRUSTIFY_DA_CLIENT";
7373

74-
private static final String EXHORT_PROXY_URL = "EXHORT_PROXY_URL";
74+
private static final String TRUSTIFY_DA_PROXY_URL = "TRUSTIFY_DA_PROXY_URL";
7575

7676
private static final Logger LOG = LoggersFactory.getLogger(ExhortApi.class.getName());
7777

@@ -80,7 +80,7 @@ public final class ExhortApi implements Api {
8080
public static final String RHDA_TOKEN_HEADER = "rhda-token";
8181
public static final String RHDA_SOURCE_HEADER = "rhda-source";
8282
public static final String RHDA_OPERATION_TYPE_HEADER = "rhda-operation-type";
83-
public static final String EXHORT_REQUEST_ID_HEADER_NAME = "ex-request-id";
83+
public static final String TRUSTIFY_DA_REQUEST_ID_HEADER_NAME = "ex-request-id";
8484

8585
private final String endpoint;
8686

@@ -96,14 +96,14 @@ private enum TokenProvider {
9696
/**
9797
* Get the expected environment variable name.
9898
*
99-
* @return i.e. EXHORT_SNYK_TOKEN
99+
* @return i.e. TRUSTIFY_DA_SNYK_TOKEN
100100
*/
101101
String getVarName() {
102-
return String.format("EXHORT_%s_TOKEN", this);
102+
return String.format("TRUSTIFY_DA_%s_TOKEN", this);
103103
}
104104

105105
String getUserVarName() {
106-
return String.format("EXHORT_%s_USER", this);
106+
return String.format("TRUSTIFY_DA_%s_USER", this);
107107
}
108108

109109
/**
@@ -138,7 +138,7 @@ public ExhortApi() {
138138
* @return i.e. HttpClient.Version.HTTP_1.1
139139
*/
140140
static HttpClient.Version getHttpVersion() {
141-
var version = Environment.get(HTTP_VERSION_EXHORT_CLIENT);
141+
var version = Environment.get(HTTP_VERSION_TRUSTIFY_DA_CLIENT);
142142
return (version != null && version.contains("2"))
143143
? HttpClient.Version.HTTP_2
144144
: HttpClient.Version.HTTP_1_1;
@@ -148,32 +148,32 @@ static HttpClient.Version getHttpVersion() {
148148
// // temp system property - as long as prod exhort url not implemented the multi-source v4
149149
// endpoint, this
150150
// property needs to be true
151-
// System.setProperty("EXHORT_DEV_MODE","true");
151+
// System.setProperty("TRUSTIFY_DA_DEV_MODE","true");
152152
commonHookBeginning(true);
153153
this.client = client;
154154
this.mapper = new ObjectMapper().disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES);
155155
// Take default from config.properties in case client didn't override DEV MODE
156-
if (Environment.get(EXHORT_DEV_MODE) == null) {
156+
if (Environment.get(TRUSTIFY_DA_DEV_MODE) == null) {
157157
try {
158158
InputStream exhortConfig =
159159
this.getClass().getClassLoader().getResourceAsStream("config.properties");
160160
if (exhortConfig == null) {
161161
LOG.info(
162162
"config.properties not found on the class path, fallback to default DEV MODE ="
163163
+ " false");
164-
System.setProperty(EXHORT_DEV_MODE, "false");
164+
System.setProperty(TRUSTIFY_DA_DEV_MODE, "false");
165165
} else {
166166
Properties properties = new Properties();
167167
properties.load(exhortConfig);
168-
System.setProperty(EXHORT_DEV_MODE, (String) properties.get(EXHORT_DEV_MODE));
168+
System.setProperty(TRUSTIFY_DA_DEV_MODE, (String) properties.get(TRUSTIFY_DA_DEV_MODE));
169169
}
170170
} catch (IOException e) {
171171
LOG.info(
172172
String.format(
173173
"Error loading config.properties , fallback to set default property DEV MODE ="
174174
+ " false, Error message = %s",
175175
e.getMessage()));
176-
System.setProperty(EXHORT_DEV_MODE, "false");
176+
System.setProperty(TRUSTIFY_DA_DEV_MODE, "false");
177177
}
178178
}
179179

@@ -182,14 +182,14 @@ static HttpClient.Version getHttpVersion() {
182182

183183
public static HttpClient createHttpClient() {
184184
HttpClient.Builder builder = HttpClient.newBuilder().version(getHttpVersion());
185-
String proxyUrl = Environment.get(EXHORT_PROXY_URL);
185+
String proxyUrl = Environment.get(TRUSTIFY_DA_PROXY_URL);
186186
if (proxyUrl != null && !proxyUrl.isBlank()) {
187187
try {
188188
URI proxyUri = URI.create(proxyUrl);
189189
builder.proxy(
190190
ProxySelector.of(new InetSocketAddress(proxyUri.getHost(), proxyUri.getPort())));
191191
} catch (IllegalArgumentException e) {
192-
LOG.warning("Invalid EXHORT_PROXY_URL: " + proxyUrl + ", using direct connection");
192+
LOG.warning("Invalid TRUSTIFY_DA_PROXY_URL: " + proxyUrl + ", using direct connection");
193193
}
194194
}
195195
return builder.build();
@@ -225,19 +225,19 @@ private static String getClientRequestId() {
225225

226226
public String getExhortUrl() {
227227
String endpoint;
228-
if (Environment.getBoolean(EXHORT_DEV_MODE, false)) {
229-
endpoint = Environment.get(DEV_EXHORT_BACKEND_URL, DEFAULT_ENDPOINT_DEV);
228+
if (Environment.getBoolean(TRUSTIFY_DA_DEV_MODE, false)) {
229+
endpoint = Environment.get(DEV_TRUSTIFY_DA_BACKEND_URL, DEFAULT_ENDPOINT_DEV);
230230

231231
} else {
232232
endpoint = DEFAULT_ENDPOINT;
233233
}
234234
if (debugLoggingIsNeeded()) {
235235
LOG.info(
236236
String.format(
237-
"EXHORT_DEV_MODE=%s,DEV_EXHORT_BACKEND_URL=%s, Chosen Backend URL=%s ,"
237+
"TRUSTIFY_DA_DEV_MODE=%s,DEV_TRUSTIFY_DA_BACKEND_URL=%s, Chosen Backend URL=%s ,"
238238
+ " DEFAULT_ENDPOINT_DEV=%s , DEFAULT_ENDPOINT=%s",
239-
Environment.getBoolean(EXHORT_DEV_MODE, false),
240-
Environment.get(DEV_EXHORT_BACKEND_URL, DEFAULT_ENDPOINT_DEV),
239+
Environment.getBoolean(TRUSTIFY_DA_DEV_MODE, false),
240+
Environment.get(DEV_TRUSTIFY_DA_BACKEND_URL, DEFAULT_ENDPOINT_DEV),
241241
endpoint,
242242
DEFAULT_ENDPOINT_DEV,
243243
DEFAULT_ENDPOINT));
@@ -392,7 +392,7 @@ private AnalysisReport getAnalysisReportFromResponse(
392392

393393
private static void logExhortRequestId(HttpResponse<?> response) {
394394
Optional<String> headerExRequestId =
395-
response.headers().allValues(EXHORT_REQUEST_ID_HEADER_NAME).stream().findFirst();
395+
response.headers().allValues(TRUSTIFY_DA_REQUEST_ID_HEADER_NAME).stream().findFirst();
396396
headerExRequestId.ifPresent(
397397
value ->
398398
LOG.info(
@@ -403,7 +403,7 @@ private static void logExhortRequestId(HttpResponse<?> response) {
403403
}
404404

405405
public static boolean debugLoggingIsNeeded() {
406-
return Environment.getBoolean("EXHORT_DEBUG", false);
406+
return Environment.getBoolean("TRUSTIFY_DA_DEBUG", false);
407407
}
408408

409409
@Override

src/main/java/com/redhat/exhort/providers/GoModulesProvider.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@
5151
*/
5252
public final class GoModulesProvider extends Provider {
5353

54-
public static final String PROP_EXHORT_GO_MVS_LOGIC_ENABLED = "EXHORT_GO_MVS_LOGIC_ENABLED";
54+
public static final String PROP_TRUSTIFY_DA_GO_MVS_LOGIC_ENABLED =
55+
"TRUSTIFY_DA_GO_MVS_LOGIC_ENABLED";
5556
private static final Logger log = LoggersFactory.getLogger(GoModulesProvider.class.getName());
5657
public static final String DEFAULT_MAIN_VERSION = "v0.0.0";
5758
private final String goExecutable;
@@ -277,7 +278,7 @@ private Sbom buildSbomFromGraph(
277278
startingIndex += deps.size();
278279
}
279280
}
280-
boolean goMvsLogicEnabled = Environment.getBoolean(PROP_EXHORT_GO_MVS_LOGIC_ENABLED, true);
281+
boolean goMvsLogicEnabled = Environment.getBoolean(PROP_TRUSTIFY_DA_GO_MVS_LOGIC_ENABLED, true);
281282
if (goMvsLogicEnabled) {
282283
edges = getFinalPackagesVersionsForModule(edges, manifestPath);
283284
}

src/main/java/com/redhat/exhort/providers/GradleProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ private String extractPackageName(String line) {
222222

223223
private Path getDependencies(Path manifestPath) throws IOException {
224224
// create a temp file for storing the dependency tree in
225-
var tempFile = Files.createTempFile("exhort_graph_", null);
225+
var tempFile = Files.createTempFile("TRUSTIFY_DA_graph_", null);
226226
// the command will create the dependency tree in the temp file
227227
String gradleCommand = gradleExecutable + " dependencies";
228228

src/main/java/com/redhat/exhort/providers/JavaMavenProvider.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public Content provideStack() throws IOException {
7272
// execute the clean command
7373
Operations.runProcess(manifest.getParent(), mvnCleanCmd.toArray(String[]::new), mvnEnvs);
7474
// create a temp file for storing the dependency tree in
75-
var tmpFile = Files.createTempFile("exhort_dot_graph_", null);
75+
var tmpFile = Files.createTempFile("TRUSTIFY_DA_dot_graph_", null);
7676
// the tree command will build the project and create the dependency tree in the temp file
7777
var mvnTreeCmd =
7878
buildMvnCommandArgs(
@@ -128,7 +128,7 @@ public Content provideComponent() throws IOException {
128128
}
129129

130130
private Content generateSbomFromEffectivePom() throws IOException {
131-
var tmpEffPom = Files.createTempFile("exhort_eff_pom_", ".xml");
131+
var tmpEffPom = Files.createTempFile("TRUSTIFY_DA_eff_pom_", ".xml");
132132
var mvnEffPomCmd =
133133
buildMvnCommandArgs(
134134
"clean",

src/main/java/com/redhat/exhort/providers/PythonPipProvider.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,14 +211,16 @@ private PackageURL toPurl(String name, String version) {
211211
private PythonControllerBase getPythonController() {
212212
String pythonPipBinaries;
213213
boolean useVirtualPythonEnv;
214-
if (!Environment.get(PythonControllerBase.PROP_EXHORT_PIP_SHOW, "").trim().isEmpty()
215-
&& !Environment.get(PythonControllerBase.PROP_EXHORT_PIP_FREEZE, "").trim().isEmpty()) {
214+
if (!Environment.get(PythonControllerBase.PROP_TRUSTIFY_DA_PIP_SHOW, "").trim().isEmpty()
215+
&& !Environment.get(PythonControllerBase.PROP_TRUSTIFY_DA_PIP_FREEZE, "")
216+
.trim()
217+
.isEmpty()) {
216218
pythonPipBinaries = "python;;pip";
217219
useVirtualPythonEnv = false;
218220
} else {
219221
pythonPipBinaries = getExecutable("python", "--version");
220222
useVirtualPythonEnv =
221-
Environment.getBoolean(PythonControllerBase.PROP_EXHORT_PYTHON_VIRTUAL_ENV, false);
223+
Environment.getBoolean(PythonControllerBase.PROP_TRUSTIFY_DA_PYTHON_VIRTUAL_ENV, false);
222224
}
223225

224226
String[] parts = pythonPipBinaries.split(";;");

src/main/java/com/redhat/exhort/sbom/CycloneDXSbom.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
public class CycloneDXSbom implements Sbom {
4747

48-
private static final String EXHORT_IGNORE_METHOD = "EXHORT_IGNORE_METHOD";
48+
private static final String TRUSTIFY_DA_IGNORE_METHOD = "TRUSTIFY_DA_IGNORE_METHOD";
4949
private final Logger log = LoggersFactory.getLogger(this.getClass().getName());
5050
private static final Version VERSION = Version.VERSION_14;
5151
private String exhortIgnoreMethod;
@@ -120,7 +120,7 @@ public <T> Sbom filterIgnoredDeps(Collection<T> ignoredDeps) {
120120
}
121121

122122
private String getExhortIgnoreMethod() {
123-
var val = Environment.get(EXHORT_IGNORE_METHOD);
123+
var val = Environment.get(TRUSTIFY_DA_IGNORE_METHOD);
124124
return val != null ? val.trim().toLowerCase() : null;
125125
}
126126

0 commit comments

Comments
 (0)