Skip to content

API Reference parrot_tools.aws.ecr

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot_tools.aws.ecr

View source

AWS ECR Toolkit for AI-Parrot.

Provides inspection of ECR repositories, images, policies, and scan findings.

Alias AbstractToolkit

Re-exported from parrot_tools.toolkit.AbstractToolkit.

Class ECRToolkit

Toolkit for inspecting AWS ECR repositories and container images.

Available Operations:

  • aws_ecr_list_repositories: List ECR repositories
  • aws_ecr_get_repository_policy: Get repository IAM policy
  • aws_ecr_get_image_scan_findings: Get vulnerability scan findings
  • aws_ecr_list_repository_images: List images in a repository
Parameter Type Default Description
aws_id str 'default'
region_name Optional[str] None
**kwargs {}

Method ECRToolkit.aws_ecr_list_repositories

List all ECR repositories in the AWS account.

aws_ecr_list_repositories(max_results: int = 100, next_token: Optional[str] = None) -> Dict[str, Any]

Parameter Type Default Description
max_results int 100
next_token Optional[str] None

Returns: Dict[str, Any]

Method ECRToolkit.aws_ecr_get_repository_policy

Get the IAM policy for an ECR repository.

aws_ecr_get_repository_policy(repository_name: str) -> Dict[str, Any]

Parameter Type Default Description
repository_name str

Returns: Dict[str, Any]

Method ECRToolkit.aws_ecr_get_image_scan_findings

Get vulnerability scan findings for a container image.

aws_ecr_get_image_scan_findings(repository_name: str, image_tag: str = 'latest', include_attributes: bool = False) -> Dict[str, Any]

Parameter Type Default Description
repository_name str Name of the ECR repository.
image_tag str 'latest' Image tag to query.
include_attributes bool False When True, each finding includes the raw ECR attributes[] list (package_name, package_version, fixed_in_versions, CVSS3_SCORE/CVSS4_SCORE). Default False keeps the existing payload byte-compatible for existing callers.

Returns: Dict[str, Any] — Dictionary with scan status, severity counts, and findings list.

Method ECRToolkit.aws_ecr_list_repository_images

List container images in an ECR repository.

aws_ecr_list_repository_images(repository_name: str, max_results: int = 100) -> Dict[str, Any]

Parameter Type Default Description
repository_name str
max_results int 100

Returns: Dict[str, Any]

Class GetImageScanFindingsInput

Input for getting vulnerability scan findings.

Fields:

Field Type Default Description
repository_name str Name of the ECR repository
image_tag str Image tag to check
include_attributes bool When True, each finding includes the raw ECR attributes[] array (package_name, package_version, fixed_in_versions, CVSS3_SCORE/CVSS4_SCORE). Default False preserves the existing payload shape for backward compatibility.

Class GetRepositoryPolicyInput

Input for getting an ECR repository IAM policy.

Fields:

Field Type Default Description
repository_name str Name of the ECR repository

Class ListRepositoriesInput

Input for listing ECR repositories.

Fields:

Field Type Default Description
max_results int Maximum number of repositories
next_token Optional[str] Pagination token

Class ListRepositoryImagesInput

Input for listing images in an ECR repository.

Fields:

Field Type Default Description
repository_name str Name of the ECR repository
max_results int Maximum number of images

Alias tool_schema

Re-exported from parrot_tools.decorators.tool_schema.

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally