643 matches
92 actions
Anchore Engine API Server
92 actions
- Add a new policyPOSTv1.0.0
- Add a new registryPOSTv1.0.0
- Add a subscription of a specific typePOSTv1.0.0
- Add repository to watchPOSTv1.0.0
- add/replace credentialPOSTv1.0.0
- add/replace credentialPOSTv1.0.0
- archive_image_analysisPOSTv1.0.0
- Check policy evaluation status for imageGETv1.0.0
- Check policy evaluation status for imageGETv1.0.0
- Create a new userPOSTv1.0.0
- Create a new user. Only avaialble to admin user.POSTv1.0.0
- create_analysis_archive_rulePOSTv1.0.0
- Delete a credential by typeDELETEv1.0.0
- Delete a registry configurationDELETEv1.0.0
- Delete a specific user credential by username of the credential. Cannot be the credential used to authenticate the request.DELETEv1.0.0
- Delete an image analysisDELETEv1.0.0
- Delete EventDELETEv1.0.0
- Delete EventsDELETEv1.0.0
- Delete image by docker imageIdDELETEv1.0.0
- Delete policyDELETEv1.0.0
- Delete subscriptions of a specific typeDELETEv1.0.0
- Delete the service configDELETEv1.0.0
- 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 collectedDELETEv1.0.0
- delete_analysis_archive_ruleDELETEv1.0.0
- delete_archived_analysisDELETEv1.0.0
- delete_feedDELETEv1.0.0
- delete_feed_groupDELETEv1.0.0
- Describe anchore engine error codes.GETv1.0.0
- Describe the policy language spec implemented by this service.GETv1.0.0
- Get a service configuration and stateGETv1.0.0
- Get a specific registry configurationGETv1.0.0
- Get a specific subscription setGETv1.0.0
- Get a specific user in the specified accountGETv1.0.0
- Get current credential summaryGETv1.0.0
- Get current credential summaryGETv1.0.0
- Get EventGETv1.0.0
- Get image metadataGETv1.0.0
- Get image sbom in the native Anchore formatGETv1.0.0
- Get info about an user. Only available to admin user. Uses the main user Id, not a username.GETv1.0.0
- Get service config for a specific hostGETv1.0.0
- Get specific policyGETv1.0.0
- Get the content of an image by typeGETv1.0.0
- Get the content of an image by typeGETv1.0.0
- Get the content of an image by type filesGETv1.0.0
- Get the content of an image by type filesGETv1.0.0
- Get the content of an image by type javaGETv1.0.0
- Get the content of an image by type javaGETv1.0.0
- Get the content of an image by type malwareGETv1.0.0
- Get the metadata of an image by typeGETv1.0.0
- Get vulnerabilities by typeGETv1.0.0
- Get vulnerabilities by typeGETv1.0.0
- Get vulnerability typesGETv1.0.0
- Get vulnerability typesGETv1.0.0
- get_analysis_archive_ruleGETv1.0.0
- get_archived_analysisGETv1.0.0
- Invalidate operation ID so it can be garbage collectedDELETEv1.0.0
- List accounts for the userGETv1.0.0
- List all subscriptionsGETv1.0.0
- List all visible image digests and tagsGETv1.0.0
- List all visible imagesGETv1.0.0
- List authenticated user infoGETv1.0.0
- List configured registriesGETv1.0.0
- List Event TypesGETv1.0.0
- List EventsGETv1.0.0
- list feeds operations and informationGETv1.0.0
- List image content typesGETv1.0.0
- List image content typesGETv1.0.0
- List image metadata typesGETv1.0.0
- List images vulnerable to the specific vulnerability ID.GETv1.0.0
- List of images containing given packageGETv1.0.0
- List policiesGETv1.0.0
- List system servicesGETv1.0.0
- List the account for the authenticated userGETv1.0.0
- List user summaries. Only available to the system admin user.GETv1.0.0
- list_analysis_archiveGETv1.0.0
- list_analysis_archive_rulesGETv1.0.0
- list_archivesGETv1.0.0
- Listing information about given vulnerabilityGETv1.0.0
- Lookup image by docker imageIdGETv1.0.0
- Return a list of analyzer artifacts of the specified typeGETv1.0.0
- Return a list of analyzer artifacts of the specified typeGETv1.0.0
- Return a list of analyzer artifacts of the specified typeGETv1.0.0
- Service statusGETv1.0.0
- Submit a new image for analysis by the enginePOSTv1.0.0
- System statusGETv1.0.0
- toggle_feed_enabledPUTv1.0.0
- toggle_group_enabledPUTv1.0.0
- trigger feeds operationsPOSTv1.0.0
- Update an existing and specific subscriptionPUTv1.0.0
- Update policyPUTv1.0.0
- Update the state of an account to either enabled or disabled. For deletion use the DELETE routePUTv1.0.0
- Update/replace a registry configurationPUTv1.0.0
Other/Anchore Engine API Server
create_analysis_archive_rule
v1.0.0Input
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
{
"type": "object",
"description": "A rule for auto-archiving image analysis by time and/or tag-history",
"required": [
"transition"
],
"properties": {
"analysis_age_days": {
"type": "integer",
"description": "Matches if the analysis is strictly older than this number of days"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"exclude": {
"type": "object",
"description": "Which Images to exclude from auto-archiving logic",
"properties": {
"expiration_days": {
"type": "integer",
"description": "How long the image selected will be excluded from the archive transition"
},
"selector": {
"type": "object",
"description": "A set of selection criteria to match an image by a tagged pullstring based on its components, with regex support in each field",
"properties": {
"registry": {
"type": "string",
"description": "The registry section of a pull string. e.g. with \"docker.io/anchore/anchore-engine:latest\", this is \"docker.io\""
},
"repository": {
"type": "string",
"description": "The repository section of a pull string. e.g. with \"docker.io/anchore/anchore-engine:latest\", this is \"anchore/anchore-engine\""
},
"tag": {
"type": "string",
"description": "The tag-only section of a pull string. e.g. with \"docker.io/anchore/anchore-engine:latest\", this is \"latest\""
}
}
}
}
},
"last_updated": {
"type": "string",
"format": "date-time"
},
"max_images_per_account": {
"type": "integer",
"description": "This is the maximum number of image analyses an account can have. Can only be set on system_global rules"
},
"rule_id": {
"type": "string",
"description": "Unique identifier for archive rule"
},
"selector": {
"type": "object",
"description": "A set of selection criteria to match an image by a tagged pullstring based on its components, with regex support in each field",
"properties": {
"registry": {
"type": "string",
"description": "The registry section of a pull string. e.g. with \"docker.io/anchore/anchore-engine:latest\", this is \"docker.io\""
},
"repository": {
"type": "string",
"description": "The repository section of a pull string. e.g. with \"docker.io/anchore/anchore-engine:latest\", this is \"anchore/anchore-engine\""
},
"tag": {
"type": "string",
"description": "The tag-only section of a pull string. e.g. with \"docker.io/anchore/anchore-engine:latest\", this is \"latest\""
}
}
},
"system_global": {
"type": "boolean",
"description": "True if the rule applies to all accounts in the system. This is only available to admin users to update/modify, but all users with permission to list rules can see them"
},
"tag_versions_newer": {
"type": "integer",
"description": "Number of images mapped to the tag that are newer"
},
"transition": {
"type": "string",
"description": "The type of transition to make. If \"archive\", then archive an image from the working set and remove it from the working set. If \"delete\", then match against archived images and delete from the archive if match.",
"enum": [
"archive",
"delete"
]
}
}
}Output
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
{
"type": "object",
"description": "A rule for auto-archiving image analysis by time and/or tag-history",
"required": [
"transition"
],
"properties": {
"analysis_age_days": {
"type": "integer",
"description": "Matches if the analysis is strictly older than this number of days"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"exclude": {
"type": "object",
"description": "Which Images to exclude from auto-archiving logic",
"properties": {
"expiration_days": {
"type": "integer",
"description": "How long the image selected will be excluded from the archive transition"
},
"selector": {
"type": "object",
"description": "A set of selection criteria to match an image by a tagged pullstring based on its components, with regex support in each field",
"properties": {
"registry": {
"type": "string",
"description": "The registry section of a pull string. e.g. with \"docker.io/anchore/anchore-engine:latest\", this is \"docker.io\""
},
"repository": {
"type": "string",
"description": "The repository section of a pull string. e.g. with \"docker.io/anchore/anchore-engine:latest\", this is \"anchore/anchore-engine\""
},
"tag": {
"type": "string",
"description": "The tag-only section of a pull string. e.g. with \"docker.io/anchore/anchore-engine:latest\", this is \"latest\""
}
}
}
}
},
"last_updated": {
"type": "string",
"format": "date-time"
},
"max_images_per_account": {
"type": "integer",
"description": "This is the maximum number of image analyses an account can have. Can only be set on system_global rules"
},
"rule_id": {
"type": "string",
"description": "Unique identifier for archive rule"
},
"selector": {
"type": "object",
"description": "A set of selection criteria to match an image by a tagged pullstring based on its components, with regex support in each field",
"properties": {
"registry": {
"type": "string",
"description": "The registry section of a pull string. e.g. with \"docker.io/anchore/anchore-engine:latest\", this is \"docker.io\""
},
"repository": {
"type": "string",
"description": "The repository section of a pull string. e.g. with \"docker.io/anchore/anchore-engine:latest\", this is \"anchore/anchore-engine\""
},
"tag": {
"type": "string",
"description": "The tag-only section of a pull string. e.g. with \"docker.io/anchore/anchore-engine:latest\", this is \"latest\""
}
}
},
"system_global": {
"type": "boolean",
"description": "True if the rule applies to all accounts in the system. This is only available to admin users to update/modify, but all users with permission to list rules can see them"
},
"tag_versions_newer": {
"type": "integer",
"description": "Number of images mapped to the tag that are newer"
},
"transition": {
"type": "string",
"description": "The type of transition to make. If \"archive\", then archive an image from the working set and remove it from the working set. If \"delete\", then match against archived images and delete from the archive if match.",
"enum": [
"archive",
"delete"
]
}
}
}