8000 added test category MCP by krngrover94 · Pull Request #2681 · akto-api-security/akto · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

added test category MCP #2681

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 25, 2025
Merged

added test category MCP #2681

merged 2 commits into from
Jun 25, 2025

Conversation

krngrover94
Copy link
Contributor

No description provided.

@krngrover94 krngrover94 self-assigned this Jun 17, 2025
Copy link
Contributor
@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Adds a new MCP test category to the TestCategory enum for Model Context Protocol security.

  • Introduces MCP entry in TestCategory with high severity
  • Verifies enum formatting and ordering integrity
Comments suppressed due to low confidence (1)

libs/dao/src/main/java/com/akto/util/enums/GlobalEnums.java:49

  • Tests for TestCategory may not cover the new MCP category. Please add or update test cases to ensure MCP is handled correctly in serialization, display names, and any switch statements.
MCP("MCP", Severity.HIGH, "Model Context Protocol (MCP) Security", "MCP"),

Comment on lines 49 to 50
MCP("MCP", Severity.HIGH, "Model Context Protocol (MCP) Security", "MCP"),
LLM("LLM",Severity.HIGH,"LLM (Large Language Models) Top 10","LLM");
Copy link
Preview
Copilot AI Jun 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The MCP entry is placed before LLM, breaking the existing alphabetical ordering of enum entries. Consider moving MCP below LLM for consistency.

Suggested change
MCP("MCP", Severity.HIGH, "Model Context Protocol (MCP) Security", "MCP"),
LLM("LLM",Severity.HIGH,"LLM (Large Language Models) Top 10","LLM");
LLM("LLM",Severity.HIGH,"LLM (Large Language Models) Top 10","LLM"),
MCP("MCP", Severity.HIGH, "Model Context Protocol (MCP) Security", "MCP");

Copilot uses AI. Check for mistakes.

@notshivansh notshivansh merged commit 952ce8f into master Jun 25, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0