AWS Security MCP

Apache 2.0
4
  • Apple

find_instances_by_port

Identify EC2 instances with security groups allowing access on a specific port. Filters by instance state and returns results in JSON format for security analysis and configuration checks.

Instructions

Find EC2 instances with security groups allowing access on a specific port.

Args: port: The port number to check for state: Instance state to filter by (default is "running") Returns: JSON formatted string with instances that have the specified port open

Input Schema

NameRequiredDescriptionDefault
portYes
stateNorunning

Input Schema (JSON Schema)

{ "properties": { "port": { "title": "Port", "type": "integer" }, "state": { "default": "running", "title": "State", "type": "string" } }, "required": [ "port" ], "title": "find_instances_by_portArguments", "type": "object" }

You must be authenticated.

Other Tools from AWS Security MCP

Related Tools

ID: s0vblk657g