ci(security): generate cyclonedx sbom, add sbom upload to ci and update stride security model
This commit is contained in:
+3
-2
@@ -41,7 +41,7 @@ public class CyberCoreSignerApplication {
|
||||
buildFlavor = flavor.trim().toLowerCase();
|
||||
}
|
||||
}
|
||||
} catch (Exception ignored) {}
|
||||
} catch (java.io.IOException ignored) {}
|
||||
}
|
||||
|
||||
public static String getBuildFlavor() {
|
||||
@@ -189,7 +189,8 @@ public class CyberCoreSignerApplication {
|
||||
try {
|
||||
configuredPort = Integer.parseInt(args[++i].trim());
|
||||
} catch (NumberFormatException e) {
|
||||
logger.warn("Porta inválida especificada em --port: '{}'. Usando porta padrão {}.", args[i], CcspServer.DEFAULT_PORT);
|
||||
String sanitized = args[i].replaceAll("[\r\n]", "");
|
||||
logger.warn("Porta inválida especificada em --port: '{}'. Usando porta padrão {}.", sanitized, CcspServer.DEFAULT_PORT);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user