├── .gitignore ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── SECURITY.md ├── app.py ├── assets ├── agent_api_schema │ └── artifacts_schema.json ├── data_query_data_source │ └── ec2_pricing │ │ └── sample_data.csv ├── diagrams │ └── agent_architecture.png └── knowledgebase_data_source │ └── cna_wisdom.zip ├── cdk.json ├── code ├── __init__.py ├── code_stack.py ├── lambdas │ ├── action-lambda │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── build_query_engine.py │ │ ├── connections.py │ │ ├── dynamic_examples.csv │ │ ├── index.py │ │ ├── prompt_templates.py │ │ └── requirements.txt │ ├── create-index-lambda │ │ ├── README.md │ │ ├── cfnresponse.py │ │ └── index.py │ ├── invoke-lambda │ │ ├── README.md │ │ └── index.py │ └── update-lambda │ │ ├── README.md │ │ ├── agent_prompts.py │ │ ├── cfnresponse.py │ │ ├── connections.py │ │ ├── create_agent_alias.py │ │ ├── lambda_handler.py │ │ ├── prepare_agent.py │ │ ├── trigger_data_source_sync.py │ │ ├── trigger_glue_crawler.py │ │ └── update_agent_prompts.py ├── layers │ ├── boto3_layer │ │ └── requirements.txt │ └── opensearch_layer │ │ └── requirements.txt ├── security │ ├── __init__.py │ ├── middleware.py │ └── security_config.py └── streamlit-app │ ├── Dockerfile │ ├── README.md │ ├── app.py │ ├── cna_guru_example.png │ ├── connections.py │ ├── images │ └── UI-FrontPage.png │ ├── payload_b64.txt │ ├── requirements.txt │ ├── response.json │ ├── security │ ├── __init__.py │ ├── middleware.py │ └── security_config.py │ ├── test_payload.json │ └── utils.py ├── docs └── SUPPORT.md ├── images ├── CWE-defend-decision.png ├── CWE-from-vuln-description.png ├── Cost-RandD.png ├── architecture.png └── cna_guru_example.png ├── requirements.txt └── test_lambda.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/SECURITY.md -------------------------------------------------------------------------------- /app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/app.py -------------------------------------------------------------------------------- /assets/agent_api_schema/artifacts_schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/assets/agent_api_schema/artifacts_schema.json -------------------------------------------------------------------------------- /assets/data_query_data_source/ec2_pricing/sample_data.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/assets/data_query_data_source/ec2_pricing/sample_data.csv -------------------------------------------------------------------------------- /assets/diagrams/agent_architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/assets/diagrams/agent_architecture.png -------------------------------------------------------------------------------- /assets/knowledgebase_data_source/cna_wisdom.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/assets/knowledgebase_data_source/cna_wisdom.zip -------------------------------------------------------------------------------- /cdk.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/cdk.json -------------------------------------------------------------------------------- /code/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /code/code_stack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/code/code_stack.py -------------------------------------------------------------------------------- /code/lambdas/action-lambda/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/code/lambdas/action-lambda/Dockerfile -------------------------------------------------------------------------------- /code/lambdas/action-lambda/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/code/lambdas/action-lambda/README.md -------------------------------------------------------------------------------- /code/lambdas/action-lambda/build_query_engine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/code/lambdas/action-lambda/build_query_engine.py -------------------------------------------------------------------------------- /code/lambdas/action-lambda/connections.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/code/lambdas/action-lambda/connections.py -------------------------------------------------------------------------------- /code/lambdas/action-lambda/dynamic_examples.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/code/lambdas/action-lambda/dynamic_examples.csv -------------------------------------------------------------------------------- /code/lambdas/action-lambda/index.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/code/lambdas/action-lambda/index.py -------------------------------------------------------------------------------- /code/lambdas/action-lambda/prompt_templates.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/code/lambdas/action-lambda/prompt_templates.py -------------------------------------------------------------------------------- /code/lambdas/action-lambda/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/code/lambdas/action-lambda/requirements.txt -------------------------------------------------------------------------------- /code/lambdas/create-index-lambda/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/code/lambdas/create-index-lambda/README.md -------------------------------------------------------------------------------- /code/lambdas/create-index-lambda/cfnresponse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/code/lambdas/create-index-lambda/cfnresponse.py -------------------------------------------------------------------------------- /code/lambdas/create-index-lambda/index.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/code/lambdas/create-index-lambda/index.py -------------------------------------------------------------------------------- /code/lambdas/invoke-lambda/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/code/lambdas/invoke-lambda/README.md -------------------------------------------------------------------------------- /code/lambdas/invoke-lambda/index.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/code/lambdas/invoke-lambda/index.py -------------------------------------------------------------------------------- /code/lambdas/update-lambda/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/code/lambdas/update-lambda/README.md -------------------------------------------------------------------------------- /code/lambdas/update-lambda/agent_prompts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/code/lambdas/update-lambda/agent_prompts.py -------------------------------------------------------------------------------- /code/lambdas/update-lambda/cfnresponse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/code/lambdas/update-lambda/cfnresponse.py -------------------------------------------------------------------------------- /code/lambdas/update-lambda/connections.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/code/lambdas/update-lambda/connections.py -------------------------------------------------------------------------------- /code/lambdas/update-lambda/create_agent_alias.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/code/lambdas/update-lambda/create_agent_alias.py -------------------------------------------------------------------------------- /code/lambdas/update-lambda/lambda_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/code/lambdas/update-lambda/lambda_handler.py -------------------------------------------------------------------------------- /code/lambdas/update-lambda/prepare_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/code/lambdas/update-lambda/prepare_agent.py -------------------------------------------------------------------------------- /code/lambdas/update-lambda/trigger_data_source_sync.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/code/lambdas/update-lambda/trigger_data_source_sync.py -------------------------------------------------------------------------------- /code/lambdas/update-lambda/trigger_glue_crawler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/code/lambdas/update-lambda/trigger_glue_crawler.py -------------------------------------------------------------------------------- /code/lambdas/update-lambda/update_agent_prompts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/code/lambdas/update-lambda/update_agent_prompts.py -------------------------------------------------------------------------------- /code/layers/boto3_layer/requirements.txt: -------------------------------------------------------------------------------- 1 | boto3>=1.40.0 2 | -------------------------------------------------------------------------------- /code/layers/opensearch_layer/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/code/layers/opensearch_layer/requirements.txt -------------------------------------------------------------------------------- /code/security/__init__.py: -------------------------------------------------------------------------------- 1 | """Security package for the application.""" 2 | -------------------------------------------------------------------------------- /code/security/middleware.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/code/security/middleware.py -------------------------------------------------------------------------------- /code/security/security_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/code/security/security_config.py -------------------------------------------------------------------------------- /code/streamlit-app/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/code/streamlit-app/Dockerfile -------------------------------------------------------------------------------- /code/streamlit-app/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/code/streamlit-app/README.md -------------------------------------------------------------------------------- /code/streamlit-app/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/code/streamlit-app/app.py -------------------------------------------------------------------------------- /code/streamlit-app/cna_guru_example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/code/streamlit-app/cna_guru_example.png -------------------------------------------------------------------------------- /code/streamlit-app/connections.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/code/streamlit-app/connections.py -------------------------------------------------------------------------------- /code/streamlit-app/images/UI-FrontPage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/code/streamlit-app/images/UI-FrontPage.png -------------------------------------------------------------------------------- /code/streamlit-app/payload_b64.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/code/streamlit-app/payload_b64.txt -------------------------------------------------------------------------------- /code/streamlit-app/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/code/streamlit-app/requirements.txt -------------------------------------------------------------------------------- /code/streamlit-app/response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/code/streamlit-app/response.json -------------------------------------------------------------------------------- /code/streamlit-app/security/__init__.py: -------------------------------------------------------------------------------- 1 | """Security package for streamlit application.""" 2 | -------------------------------------------------------------------------------- /code/streamlit-app/security/middleware.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/code/streamlit-app/security/middleware.py -------------------------------------------------------------------------------- /code/streamlit-app/security/security_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/code/streamlit-app/security/security_config.py -------------------------------------------------------------------------------- /code/streamlit-app/test_payload.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/code/streamlit-app/test_payload.json -------------------------------------------------------------------------------- /code/streamlit-app/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/code/streamlit-app/utils.py -------------------------------------------------------------------------------- /docs/SUPPORT.md: -------------------------------------------------------------------------------- 1 | placeholder 2 | -------------------------------------------------------------------------------- /images/CWE-defend-decision.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/images/CWE-defend-decision.png -------------------------------------------------------------------------------- /images/CWE-from-vuln-description.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/images/CWE-from-vuln-description.png -------------------------------------------------------------------------------- /images/Cost-RandD.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/images/Cost-RandD.png -------------------------------------------------------------------------------- /images/architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/images/architecture.png -------------------------------------------------------------------------------- /images/cna_guru_example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/images/cna_guru_example.png -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/requirements.txt -------------------------------------------------------------------------------- /test_lambda.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/awslabs/Chatbot-to-help-security-teams-perform-vulnerability-assessments/HEAD/test_lambda.py --------------------------------------------------------------------------------