Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
A direct command skips the review prompt. Inspect the source before running it.
Anchore Engine API Server API skill. Use when working with Anchore Engine API Server for root, health, version. Covers 112 endpoints.
version
1.0.0
generator
lapsh
Anchore Engine API Server
API version: 0.1.20
Auth
ApiKey username in formData
Base URL
Not specified.
Setup
Set your API key in the appropriate header
GET / -- verify access
POST /policies -- create first policies
Endpoints
112 endpoints across 21 groups. See references/api-spec.lap for full details.
root
Method
Path
Description
GET
/
Simple status check
health
Method
Path
Description
GET
/health
Health check, returns 200 and no body if service is running
version
Method
Path
Description
GET
/version
Returns the version object for the service, including db schema version info
policies
Method
Path
Description
GET
/policies
List policies
POST
/policies
Add a new policy
GET
/policies/{policyId}
Get specific policy
PUT
/policies/{policyId}
Update policy
DELETE
/policies/{policyId}
Delete policy
subscriptions
Method
Path
Description
GET
/subscriptions
List all subscriptions
POST
/subscriptions
Add a subscription of a specific type
GET
/subscriptions/{subscriptionId}
Get a specific subscription set
PUT
/subscriptions/{subscriptionId}
Update an existing and specific subscription
DELETE
/subscriptions/{subscriptionId}
Delete subscriptions of a specific type
summaries
Method
Path
Description
GET
/summaries/imagetags
List all visible image digests and tags
images
Method
Path
Description
POST
/images
Submit a new image for analysis by the engine
GET
/images
List all visible images
DELETE
/images
Bulk mark images for deletion
GET
/images/{imageDigest}
Get image metadata
DELETE
/images/{imageDigest}
Delete an image analysis
GET
/images/by_id/{imageId}
Lookup image by docker imageId
DELETE
/images/by_id/{imageId}
Delete image by docker imageId
GET
/images/{imageDigest}/check
Check policy evaluation status for image
GET
/images/by_id/{imageId}/check
Check policy evaluation status for image
GET
/images/{imageDigest}/vuln
Get vulnerability types
GET
/images/{imageDigest}/vuln/{vtype}
Get vulnerabilities by type
GET
/images/by_id/{imageId}/vuln
Get vulnerability types
GET
/images/by_id/{imageId}/vuln/{vtype}
Get vulnerabilities by type
GET
/images/{imageDigest}/content
List image content types
GET
/images/by_id/{imageId}/content
List image content types
GET
/images/{imageDigest}/content/{ctype}
Get the content of an image by type
GET
/images/{imageDigest}/content/files
Get the content of an image by type files
GET
/images/{imageDigest}/content/java
Get the content of an image by type java
GET
/images/{imageDigest}/content/malware
Get the content of an image by type malware
GET
/images/by_id/{imageId}/content/{ctype}
Get the content of an image by type
GET
/images/by_id/{imageId}/content/files
Get the content of an image by type files
GET
/images/by_id/{imageId}/content/java
Get the content of an image by type java
import
Method
Path
Description
POST
/import/images
Import an anchore image tar.gz archive file. This is a deprecated API replaced by the "/imports/images" route
repositories
Method
Path
Description
POST
/repositories
Add repository to watch
registries
Method
Path
Description
GET
/registries
List configured registries
POST
/registries
Add a new registry
GET
/registries/{registry}
Get a specific registry configuration
PUT
/registries/{registry}
Update/replace a registry configuration
DELETE
/registries/{registry}
Delete a registry configuration
status
Method
Path
Description
GET
/status
Service status
system
Method
Path
Description
GET
/system
System status
GET
/system/feeds
list feeds operations and information
POST
/system/feeds
trigger feeds operations
PUT
/system/feeds/{feed}
Disable the feed so that it does not sync on subsequent sync operations
DELETE
/system/feeds/{feed}
Delete the groups and data for the feed and disable the feed itself
PUT
/system/feeds/{feed}/{group}
Disable a specific group within a feed to not sync
DELETE
/system/feeds/{feed}/{group}
Delete the group data and disable the group itself
GET
/system/services
List system services
GET
/system/services/{servicename}
Get a service configuration and state
GET
/system/services/{servicename}/{hostid}
Get service config for a specific host
DELETE
/system/services/{servicename}/{hostid}
Delete the service config
GET
/system/policy_spec
Describe the policy language spec implemented by this service.
GET
/system/error_codes
Describe anchore engine error codes.
POST
/system/webhooks/{webhook_type}/test
Adds the capabilities to test a webhook delivery for the given notification type
event_types
Method
Path
Description
GET
/event_types
List Event Types
events
Method
Path
Description
GET
/events
List Events
DELETE
/events
Delete Events
GET
/events/{eventId}
Get Event
DELETE
/events/{eventId}
Delete Event
query
Method
Path
Description
GET
/query/images/by_vulnerability
List images vulnerable to the specific vulnerability ID.
GET
/query/images/by_package
List of images containing given package
GET
/query/vulnerabilities
Listing information about given vulnerability
accounts
Method
Path
Description
GET
/accounts
List user summaries. Only available to the system admin user.
POST
/accounts
Create a new user. Only avaialble to admin user.
GET
/accounts/{accountname}
Get info about an user. Only available to admin user. Uses the main user Id, not a username.
DELETE
/accounts/{accountname}
Delete the specified account, only allowed if the account is in the disabled state. All users will be deleted along with the account and all resources will be garbage collected
PUT
/accounts/{accountname}/state
Update the state of an account to either enabled or disabled. For deletion use the DELETE route
GET
/accounts/{accountname}/users
List accounts for the user
POST
/accounts/{accountname}/users
Create a new user
DELETE
/accounts/{accountname}/users/{username}
Delete a specific user credential by username of the credential. Cannot be the credential used to authenticate the request.