Skip to content
Closed
Show file tree
Hide file tree
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
34 changes: 17 additions & 17 deletions kustomize/base/exploit-iq-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,42 +53,42 @@ functions:
cve_checklist:
_type: cve_checklist
llm_name: checklist_llm
Transitive code search tool:
Call Chain Analyzer:
_type: transitive_code_search
enable_transitive_search: true
Calling Function Name Extractor:
Function Caller Finder:
_type: calling_function_name_extractor
enable_functions_usage_search: true
Container Image Code QA System:
Code Semantic Search:
_type: local_vdb_retriever
embedder_name: nim_embedder
llm_name: code_vdb_retriever_llm
vdb_type: code
return_source_documents: false
Container Image Developer Guide QA System:
Docs Semantic Search:
_type: local_vdb_retriever
embedder_name: nim_embedder
llm_name: doc_vdb_retriever_llm
vdb_type: doc
return_source_documents: false
Lexical Search Container Image Code QA System:
Code Keyword Search:
_type: lexical_code_search
top_k: 5
Internet Search:
CVE Web Search:
_type: serp_wrapper
max_retries: 5
Container Image Analysis Data:
Container Analysis Data:
_type: container_image_analysis_data
cve_agent_executor:
_type: cve_agent_executor
llm_name: cve_agent_executor_llm
tool_names:
- Container Image Code QA System
- Container Image Developer Guide QA System
- Lexical Search Container Image Code QA System # Uncomment to enable lexical search
- Internet Search
- Transitive code search tool
- Calling Function Name Extractor
- Code Semantic Search
- Docs Semantic Search
- Code Keyword Search
- CVE Web Search
- Call Chain Analyzer
- Function Caller Finder
max_concurrency: null
max_iterations: 10
prompt_examples: false
Expand All @@ -102,10 +102,10 @@ functions:
skip: false
llm_name: generate_cvss_llm
tool_names:
- Container Image Code QA System
- Container Image Developer Guide QA System
- Lexical Search Container Image Code QA System # Uncomment to enable lexical search
- Container Image Analysis Data
- Code Semantic Search
- Docs Semantic Search
- Code Keyword Search
- Container Analysis Data
max_concurrency: null
max_iterations: 10
prompt_examples: true
Expand Down
55 changes: 30 additions & 25 deletions kustomize/config-http-openai-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,42 +54,42 @@ functions:
cve_checklist:
_type: cve_checklist
llm_name: checklist_llm
Transitive code search tool:
Call Chain Analyzer:
_type: transitive_code_search
enable_transitive_search: true
Calling Function Name Extractor:
Function Caller Finder:
_type: calling_function_name_extractor
enable_functions_usage_search: true
Container Image Code QA System:
Code Semantic Search:
_type: local_vdb_retriever
embedder_name: nim_embedder
llm_name: code_vdb_retriever_llm
vdb_type: code
return_source_documents: false
Container Image Developer Guide QA System:
Docs Semantic Search:
_type: local_vdb_retriever
embedder_name: nim_embedder
llm_name: doc_vdb_retriever_llm
vdb_type: doc
return_source_documents: false
Lexical Search Container Image Code QA System:
Code Keyword Search:
_type: lexical_code_search
top_k: 5
Internet Search:
CVE Web Search:
_type: serp_wrapper
max_retries: 5
Container Image Analysis Data:
Container Analysis Data:
_type: container_image_analysis_data
cve_agent_executor:
_type: cve_agent_executor
llm_name: cve_agent_executor_llm
tool_names:
- Container Image Code QA System
- Container Image Developer Guide QA System
- Lexical Search Container Image Code QA System # Uncomment to enable lexical search
- Internet Search
- Transitive code search tool
- Calling Function Name Extractor
- Code Semantic Search
- Docs Semantic Search
- Code Keyword Search
- CVE Web Search
- Call Chain Analyzer
- Function Caller Finder
max_concurrency: null
max_iterations: 10
prompt_examples: false
Expand All @@ -103,10 +103,10 @@ functions:
skip: false
llm_name: generate_cvss_llm
tool_names:
- Container Image Code QA System
- Container Image Developer Guide QA System
- Lexical Search Container Image Code QA System # Uncomment to enable lexical search
- Container Image Analysis Data
- Code Semantic Search
- Docs Semantic Search
- Code Keyword Search
- Container Analysis Data
max_concurrency: null
max_iterations: 10
prompt_examples: true
Expand All @@ -120,6 +120,11 @@ functions:
cve_justify:
_type: cve_justify
llm_name: justify_llm
# cve_file_output:
# _type: cve_file_output
# file_path: .tmp/output.json
# markdown_dir: .tmp/vulnerability_markdown_reports
# overwrite: true
cve_http_output:
_type: cve_http_output
url: http://localhost:8080
Expand All @@ -134,55 +139,55 @@ functions:
llms:
checklist_llm:
_type: openai
api_key: "EMPTY"
api_key: ${OPENAI_API_KEY:-EMPTY}
base_url: ${NVIDIA_API_BASE:-https://integrate.api.nvidia.com/v1}
model_name: ${CHECKLIST_MODEL_NAME:-meta/llama-3.1-70b-instruct}
temperature: 0.0
max_tokens: 2000
top_p: 0.01
code_vdb_retriever_llm:
_type: openai
api_key: "EMPTY"
api_key: ${OPENAI_API_KEY:-EMPTY}
base_url: ${NVIDIA_API_BASE:-https://integrate.api.nvidia.com/v1}
model_name: ${CODE_VDB_RETRIEVER_MODEL_NAME:-meta/llama-3.1-70b-instruct}
temperature: 0.0
max_tokens: 2000
top_p: 0.01
doc_vdb_retriever_llm:
_type: openai
api_key: "EMPTY"
api_key: ${OPENAI_API_KEY:-EMPTY}
base_url: ${NVIDIA_API_BASE:-https://integrate.api.nvidia.com/v1}
model_name: ${DOC_VDB_RETRIEVER_MODEL_NAME:-meta/llama-3.1-70b-instruct}
temperature: 0.0
max_tokens: 2000
top_p: 0.01
cve_agent_executor_llm:
_type: openai
api_key: "EMPTY"
api_key: ${OPENAI_API_KEY:-EMPTY}
base_url: ${NVIDIA_API_BASE:-https://integrate.api.nvidia.com/v1}
model_name: ${CVE_AGENT_EXECUTOR_MODEL_NAME:-meta/llama-3.1-70b-instruct}
temperature: 0.0
max_tokens: 2000
top_p: 0.01
generate_cvss_llm:
_type: openai
api_key: "EMPTY"
api_key: ${OPENAI_API_KEY:-EMPTY}
base_url: ${NVIDIA_API_BASE:-https://integrate.api.nvidia.com/v1}
model_name: ${GENERATE_CVSS_MODEL_NAME:-meta/llama-3.1-70b-instruct}
temperature: 0.0
max_tokens: 1024
top_p: 0.01
summarize_llm:
_type: openai
api_key: "EMPTY"
api_key: ${OPENAI_API_KEY:-EMPTY}
base_url: ${NVIDIA_API_BASE:-https://integrate.api.nvidia.com/v1}
model_name: ${SUMMARIZE_MODEL_NAME:-meta/llama-3.1-70b-instruct}
temperature: 0.0
max_tokens: 1024
top_p: 0.01
justify_llm:
_type: openai
api_key: "EMPTY"
api_key: ${OPENAI_API_KEY:-EMPTY}
base_url: ${NVIDIA_API_BASE:-https://integrate.api.nvidia.com/v1}
model_name: ${JUSTIFY_MODEL_NAME:-meta/llama-3.1-70b-instruct}
temperature: 0.0
Expand All @@ -191,7 +196,7 @@ llms:

intel_source_score_llm:
_type: openai
api_key: "EMPTY"
api_key: ${OPENAI_API_KEY:-EMPTY}
base_url: ${NVIDIA_API_BASE:-https://integrate.api.nvidia.com/v1}
model_name: ${JUSTIFY_MODEL_NAME:-meta/llama-3.1-70b-instruct}
temperature: 0.0
Expand Down
Loading