Skip to content
Merged

Qp fix #1663

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1114,15 +1114,15 @@ private DetectProperties() {
.setInfo("Quack Patch Enabled", DetectPropertyFromVersion.VERSION_11_2_0)
.setHelp(
"If set to true, Detect will invoke Quack Patch -- a tool that uses LLMs to generate code patches for vulnerable transitive components.",
"Only supported for Rapid and Stateless Scan modes. detect.llm.api.key, detect.llm.api.endpoint, and detect.llm.name must also be set. See <xref href=\\\"https://documentation%2Eblackduck%2Ecom/bundle/detect/page/runningdetect/quack-patch%2Ehtml\\\" scope=\\\"external\\\" outputclass=\\\"external\\\" format=\\\"html\\\" target=\\\"_blank\\\">Quack Patch</xref>\n for further details.")
"Only supported for Rapid and Stateless Scan modes. detect.llm.api.key, detect.llm.api.endpoint, and detect.llm.name must also be set. See <xref href=\"https://documentation%2Eblackduck%2Ecom/bundle/detect/page/runningdetect/quack%2Dpatch%2Ehtml\" scope=\"external\" outputclass=\"external\" format=\"html\" target=\"_blank\">Quack Patch</xref> for further details.")
.setGroups(DetectGroup.QUACKPATCH)
.build();

public static final StringProperty DETECT_LLM_API_KEY =
StringProperty.newBuilder("detect.llm.api.key", "")
.setInfo("LLM Gateway API key", DetectPropertyFromVersion.VERSION_11_2_0)
.setHelp(
"Provides the API key used to authenticate with the configured LLM Gateway.\n")
"Provides the API key used to authenticate with the configured LLM Gateway.")
.setGroups(DetectGroup.QUACKPATCH)
.build();

Expand Down