public interface AmazonInspector
Amazon Inspector enables you to analyze the behavior of the applications you run in AWS and to identify potential security issues. For more information, see Amazon Inspector User Guide.
Modifier and Type | Method and Description |
---|---|
AddAttributesToFindingsResult |
addAttributesToFindings(AddAttributesToFindingsRequest addAttributesToFindingsRequest)
Assigns attributes (key and value pair) to the findings specified by the
findings' ARNs.
|
AttachAssessmentAndRulesPackageResult |
attachAssessmentAndRulesPackage(AttachAssessmentAndRulesPackageRequest attachAssessmentAndRulesPackageRequest)
Attaches the rules package specified by the rules package ARN to the
assessment specified by the assessment ARN.
|
CreateApplicationResult |
createApplication(CreateApplicationRequest createApplicationRequest)
Creates a new application using the resource group ARN generated by
CreateResourceGroup.
|
CreateAssessmentResult |
createAssessment(CreateAssessmentRequest createAssessmentRequest)
Creates an assessment for the application specified by the application
ARN.
|
CreateResourceGroupResult |
createResourceGroup(CreateResourceGroupRequest createResourceGroupRequest)
Creates a resource group using the specified set of tags (key and value
pairs) that are used to select the EC2 instances to be included in an
Inspector application.
|
DeleteApplicationResult |
deleteApplication(DeleteApplicationRequest deleteApplicationRequest)
Deletes the application specified by the application ARN.
|
DeleteAssessmentResult |
deleteAssessment(DeleteAssessmentRequest deleteAssessmentRequest)
Deletes the assessment specified by the assessment ARN.
|
DeleteRunResult |
deleteRun(DeleteRunRequest deleteRunRequest)
Deletes the assessment run specified by the run ARN.
|
DescribeApplicationResult |
describeApplication(DescribeApplicationRequest describeApplicationRequest)
Describes the application specified by the application ARN.
|
DescribeAssessmentResult |
describeAssessment(DescribeAssessmentRequest describeAssessmentRequest)
Describes the assessment specified by the assessment ARN.
|
DescribeCrossAccountAccessRoleResult |
describeCrossAccountAccessRole(DescribeCrossAccountAccessRoleRequest describeCrossAccountAccessRoleRequest)
Describes the IAM role that enables Inspector to access your AWS account.
|
DescribeFindingResult |
describeFinding(DescribeFindingRequest describeFindingRequest)
Describes the finding specified by the finding ARN.
|
DescribeResourceGroupResult |
describeResourceGroup(DescribeResourceGroupRequest describeResourceGroupRequest)
Describes the resource group specified by the resource group ARN.
|
DescribeRulesPackageResult |
describeRulesPackage(DescribeRulesPackageRequest describeRulesPackageRequest)
Describes the rules package specified by the rules package ARN.
|
DescribeRunResult |
describeRun(DescribeRunRequest describeRunRequest)
Describes the assessment run specified by the run ARN.
|
DetachAssessmentAndRulesPackageResult |
detachAssessmentAndRulesPackage(DetachAssessmentAndRulesPackageRequest detachAssessmentAndRulesPackageRequest)
Detaches the rules package specified by the rules package ARN from the
assessment specified by the assessment ARN.
|
GetAssessmentTelemetryResult |
getAssessmentTelemetry(GetAssessmentTelemetryRequest getAssessmentTelemetryRequest)
Returns the metadata about the telemetry (application behavioral data)
for the assessment specified by the assessment ARN.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request,
typically used for debugging issues where a service isn't acting as
expected.
|
ListApplicationsResult |
listApplications(ListApplicationsRequest listApplicationsRequest)
Lists the ARNs of the applications within this AWS account.
|
ListAssessmentAgentsResult |
listAssessmentAgents(ListAssessmentAgentsRequest listAssessmentAgentsRequest)
Lists the agents of the assessment specified by the assessment ARN.
|
ListAssessmentsResult |
listAssessments(ListAssessmentsRequest listAssessmentsRequest)
Lists the assessments corresponding to applications specified by the
applications' ARNs.
|
ListAttachedAssessmentsResult |
listAttachedAssessments(ListAttachedAssessmentsRequest listAttachedAssessmentsRequest)
Lists the assessments attached to the rules package specified by the
rules package ARN.
|
ListAttachedRulesPackagesResult |
listAttachedRulesPackages(ListAttachedRulesPackagesRequest listAttachedRulesPackagesRequest)
Lists the rules packages attached to the assessment specified by the
assessment ARN.
|
ListFindingsResult |
listFindings(ListFindingsRequest listFindingsRequest)
Lists findings generated by the assessment run specified by the run ARNs.
|
ListRulesPackagesResult |
listRulesPackages(ListRulesPackagesRequest listRulesPackagesRequest)
Lists all available Inspector rules packages.
|
ListRunsResult |
listRuns(ListRunsRequest listRunsRequest)
Lists the assessment runs associated with the assessments specified by
the assessment ARNs.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists all tags associated with a resource.
|
LocalizeTextResult |
localizeText(LocalizeTextRequest localizeTextRequest)
Translates a textual identifier into a user-readable text in a specified
locale.
|
PreviewAgentsForResourceGroupResult |
previewAgentsForResourceGroup(PreviewAgentsForResourceGroupRequest previewAgentsForResourceGroupRequest)
Previews the agents installed on the EC2 instances that are included in
the application created with the specified resource group.
|
RegisterCrossAccountAccessRoleResult |
registerCrossAccountAccessRole(RegisterCrossAccountAccessRoleRequest registerCrossAccountAccessRoleRequest)
Register the role that Inspector uses to list your EC2 instances during
the assessment.
|
RemoveAttributesFromFindingsResult |
removeAttributesFromFindings(RemoveAttributesFromFindingsRequest removeAttributesFromFindingsRequest)
Removes the entire attribute (key and value pair) from the findings
specified by the finding ARNs where an attribute with the specified key
exists.
|
RunAssessmentResult |
runAssessment(RunAssessmentRequest runAssessmentRequest)
Starts the analysis of the application’s behavior against selected rule
packages for the assessment specified by the assessment ARN.
|
void |
setEndpoint(String endpoint)
Overrides the default endpoint for this client
("https://inspector.us-east-1.amazonaws.com").
|
void |
setRegion(Region region)
An alternative to
setEndpoint(String) , sets the
regional endpoint for this client's service calls. |
SetTagsForResourceResult |
setTagsForResource(SetTagsForResourceRequest setTagsForResourceRequest)
Sets tags (key and value pairs) to the assessment specified by the
assessment ARN.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held
open.
|
StartDataCollectionResult |
startDataCollection(StartDataCollectionRequest startDataCollectionRequest)
Starts data collection for the assessment specified by the assessment
ARN.
|
StopDataCollectionResult |
stopDataCollection(StopDataCollectionRequest stopDataCollectionRequest)
Stop data collection for the assessment specified by the assessment ARN.
|
UpdateApplicationResult |
updateApplication(UpdateApplicationRequest updateApplicationRequest)
Updates application specified by the application ARN.
|
UpdateAssessmentResult |
updateAssessment(UpdateAssessmentRequest updateAssessmentRequest)
Updates the assessment specified by the assessment ARN.
|
void setEndpoint(String endpoint)
Callers can pass in just the endpoint (ex:
"inspector.us-east-1.amazonaws.com") or a full URL, including the
protocol (ex: "https://inspector.us-east-1.amazonaws.com"). If the
protocol is not specified here, the default protocol from this client's
ClientConfiguration
will be used, which by default is HTTPS.
For more information on using AWS regions with the AWS SDK for Java, and a complete list of all available endpoints for all AWS services, see: http://developer.amazonwebservices.com/connect/entry.jspa?externalID= 3912
This method is not threadsafe. An endpoint should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.
endpoint
- The endpoint (ex: "inspector.us-east-1.amazonaws.com") or a full
URL, including the protocol (ex:
"https://inspector.us-east-1.amazonaws.com") of the region
specific AWS endpoint this client will communicate with.void setRegion(Region region)
setEndpoint(String)
, sets the
regional endpoint for this client's service calls. Callers can use this
method to control which AWS region they want to work with.
By default, all service endpoints in all regions use the https protocol.
To use http instead, specify it in the ClientConfiguration
supplied at construction.
This method is not threadsafe. A region should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.
region
- The region this client will communicate with. See
Region.getRegion(com.amazonaws.regions.Regions)
for
accessing a given region. Must not be null and must be a region
where the service is available.Region.getRegion(com.amazonaws.regions.Regions)
,
Region.createClient(Class,
com.amazonaws.auth.AWSCredentialsProvider, ClientConfiguration)
,
Region.isServiceSupported(String)
AddAttributesToFindingsResult addAttributesToFindings(AddAttributesToFindingsRequest addAttributesToFindingsRequest)
Assigns attributes (key and value pair) to the findings specified by the findings' ARNs.
addAttributesToFindingsRequest
- InternalException
InvalidInputException
AccessDeniedException
NoSuchEntityException
AttachAssessmentAndRulesPackageResult attachAssessmentAndRulesPackage(AttachAssessmentAndRulesPackageRequest attachAssessmentAndRulesPackageRequest)
Attaches the rules package specified by the rules package ARN to the assessment specified by the assessment ARN.
attachAssessmentAndRulesPackageRequest
- InternalException
InvalidInputException
AccessDeniedException
NoSuchEntityException
CreateApplicationResult createApplication(CreateApplicationRequest createApplicationRequest)
Creates a new application using the resource group ARN generated by CreateResourceGroup. You can create up to 50 applications per AWS account. You can run up to 500 concurrent agents per AWS account. For more information, see Inspector Applications.
createApplicationRequest
- InternalException
InvalidInputException
AccessDeniedException
NoSuchEntityException
CreateAssessmentResult createAssessment(CreateAssessmentRequest createAssessmentRequest)
Creates an assessment for the application specified by the application ARN. You can create up to 500 assessments per AWS account.
createAssessmentRequest
- InternalException
InvalidInputException
AccessDeniedException
NoSuchEntityException
CreateResourceGroupResult createResourceGroup(CreateResourceGroupRequest createResourceGroupRequest)
Creates a resource group using the specified set of tags (key and value pairs) that are used to select the EC2 instances to be included in an Inspector application. The created resource group is then used to create an Inspector application.
createResourceGroupRequest
- InternalException
InvalidInputException
AccessDeniedException
DeleteApplicationResult deleteApplication(DeleteApplicationRequest deleteApplicationRequest)
Deletes the application specified by the application ARN.
deleteApplicationRequest
- InternalException
InvalidInputException
OperationInProgressException
AccessDeniedException
NoSuchEntityException
DeleteAssessmentResult deleteAssessment(DeleteAssessmentRequest deleteAssessmentRequest)
Deletes the assessment specified by the assessment ARN.
deleteAssessmentRequest
- InternalException
InvalidInputException
OperationInProgressException
AccessDeniedException
NoSuchEntityException
DeleteRunResult deleteRun(DeleteRunRequest deleteRunRequest)
Deletes the assessment run specified by the run ARN.
deleteRunRequest
- InternalException
InvalidInputException
AccessDeniedException
NoSuchEntityException
DescribeApplicationResult describeApplication(DescribeApplicationRequest describeApplicationRequest)
Describes the application specified by the application ARN.
describeApplicationRequest
- InternalException
InvalidInputException
AccessDeniedException
NoSuchEntityException
DescribeAssessmentResult describeAssessment(DescribeAssessmentRequest describeAssessmentRequest)
Describes the assessment specified by the assessment ARN.
describeAssessmentRequest
- InternalException
InvalidInputException
AccessDeniedException
NoSuchEntityException
DescribeCrossAccountAccessRoleResult describeCrossAccountAccessRole(DescribeCrossAccountAccessRoleRequest describeCrossAccountAccessRoleRequest)
Describes the IAM role that enables Inspector to access your AWS account.
describeCrossAccountAccessRoleRequest
- InternalException
AccessDeniedException
DescribeFindingResult describeFinding(DescribeFindingRequest describeFindingRequest)
Describes the finding specified by the finding ARN.
describeFindingRequest
- InternalException
InvalidInputException
AccessDeniedException
NoSuchEntityException
DescribeResourceGroupResult describeResourceGroup(DescribeResourceGroupRequest describeResourceGroupRequest)
Describes the resource group specified by the resource group ARN.
describeResourceGroupRequest
- InternalException
InvalidInputException
AccessDeniedException
NoSuchEntityException
DescribeRulesPackageResult describeRulesPackage(DescribeRulesPackageRequest describeRulesPackageRequest)
Describes the rules package specified by the rules package ARN.
describeRulesPackageRequest
- InternalException
InvalidInputException
AccessDeniedException
NoSuchEntityException
DescribeRunResult describeRun(DescribeRunRequest describeRunRequest)
Describes the assessment run specified by the run ARN.
describeRunRequest
- InternalException
InvalidInputException
AccessDeniedException
NoSuchEntityException
DetachAssessmentAndRulesPackageResult detachAssessmentAndRulesPackage(DetachAssessmentAndRulesPackageRequest detachAssessmentAndRulesPackageRequest)
Detaches the rules package specified by the rules package ARN from the assessment specified by the assessment ARN.
detachAssessmentAndRulesPackageRequest
- InternalException
InvalidInputException
AccessDeniedException
NoSuchEntityException
GetAssessmentTelemetryResult getAssessmentTelemetry(GetAssessmentTelemetryRequest getAssessmentTelemetryRequest)
Returns the metadata about the telemetry (application behavioral data) for the assessment specified by the assessment ARN.
getAssessmentTelemetryRequest
- InternalException
InvalidInputException
AccessDeniedException
NoSuchEntityException
ListApplicationsResult listApplications(ListApplicationsRequest listApplicationsRequest)
Lists the ARNs of the applications within this AWS account. For more information about applications, see Inspector Applications.
listApplicationsRequest
- InternalException
InvalidInputException
AccessDeniedException
ListAssessmentAgentsResult listAssessmentAgents(ListAssessmentAgentsRequest listAssessmentAgentsRequest)
Lists the agents of the assessment specified by the assessment ARN.
listAssessmentAgentsRequest
- InternalException
InvalidInputException
AccessDeniedException
NoSuchEntityException
ListAssessmentsResult listAssessments(ListAssessmentsRequest listAssessmentsRequest)
Lists the assessments corresponding to applications specified by the applications' ARNs.
listAssessmentsRequest
- InternalException
InvalidInputException
AccessDeniedException
NoSuchEntityException
ListAttachedAssessmentsResult listAttachedAssessments(ListAttachedAssessmentsRequest listAttachedAssessmentsRequest)
Lists the assessments attached to the rules package specified by the rules package ARN.
listAttachedAssessmentsRequest
- InternalException
InvalidInputException
AccessDeniedException
NoSuchEntityException
ListAttachedRulesPackagesResult listAttachedRulesPackages(ListAttachedRulesPackagesRequest listAttachedRulesPackagesRequest)
Lists the rules packages attached to the assessment specified by the assessment ARN.
listAttachedRulesPackagesRequest
- InternalException
InvalidInputException
AccessDeniedException
NoSuchEntityException
ListFindingsResult listFindings(ListFindingsRequest listFindingsRequest)
Lists findings generated by the assessment run specified by the run ARNs.
listFindingsRequest
- InternalException
InvalidInputException
AccessDeniedException
NoSuchEntityException
ListRulesPackagesResult listRulesPackages(ListRulesPackagesRequest listRulesPackagesRequest)
Lists all available Inspector rules packages.
listRulesPackagesRequest
- InternalException
InvalidInputException
AccessDeniedException
ListRunsResult listRuns(ListRunsRequest listRunsRequest)
Lists the assessment runs associated with the assessments specified by the assessment ARNs.
listRunsRequest
- InternalException
InvalidInputException
AccessDeniedException
NoSuchEntityException
ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists all tags associated with a resource.
listTagsForResourceRequest
- InternalException
InvalidInputException
AccessDeniedException
NoSuchEntityException
LocalizeTextResult localizeText(LocalizeTextRequest localizeTextRequest)
Translates a textual identifier into a user-readable text in a specified locale.
localizeTextRequest
- InternalException
InvalidInputException
AccessDeniedException
NoSuchEntityException
PreviewAgentsForResourceGroupResult previewAgentsForResourceGroup(PreviewAgentsForResourceGroupRequest previewAgentsForResourceGroupRequest)
Previews the agents installed on the EC2 instances that are included in the application created with the specified resource group.
previewAgentsForResourceGroupRequest
- InternalException
InvalidInputException
AccessDeniedException
NoSuchEntityException
InvalidCrossAccountRoleException
RegisterCrossAccountAccessRoleResult registerCrossAccountAccessRole(RegisterCrossAccountAccessRoleRequest registerCrossAccountAccessRoleRequest)
Register the role that Inspector uses to list your EC2 instances during the assessment.
registerCrossAccountAccessRoleRequest
- InternalException
InvalidInputException
AccessDeniedException
InvalidCrossAccountRoleException
RemoveAttributesFromFindingsResult removeAttributesFromFindings(RemoveAttributesFromFindingsRequest removeAttributesFromFindingsRequest)
Removes the entire attribute (key and value pair) from the findings specified by the finding ARNs where an attribute with the specified key exists.
removeAttributesFromFindingsRequest
- InternalException
InvalidInputException
AccessDeniedException
NoSuchEntityException
RunAssessmentResult runAssessment(RunAssessmentRequest runAssessmentRequest)
Starts the analysis of the application’s behavior against selected rule packages for the assessment specified by the assessment ARN.
runAssessmentRequest
- InternalException
InvalidInputException
AccessDeniedException
NoSuchEntityException
SetTagsForResourceResult setTagsForResource(SetTagsForResourceRequest setTagsForResourceRequest)
Sets tags (key and value pairs) to the assessment specified by the assessment ARN.
setTagsForResourceRequest
- InternalException
InvalidInputException
AccessDeniedException
NoSuchEntityException
StartDataCollectionResult startDataCollection(StartDataCollectionRequest startDataCollectionRequest)
Starts data collection for the assessment specified by the assessment ARN. For this API to function properly, you must not exceed the limit of running up to 500 concurrent agents per AWS account.
startDataCollectionRequest
- InternalException
InvalidInputException
AccessDeniedException
NoSuchEntityException
InvalidCrossAccountRoleException
StopDataCollectionResult stopDataCollection(StopDataCollectionRequest stopDataCollectionRequest)
Stop data collection for the assessment specified by the assessment ARN.
stopDataCollectionRequest
- InternalException
InvalidInputException
AccessDeniedException
NoSuchEntityException
UpdateApplicationResult updateApplication(UpdateApplicationRequest updateApplicationRequest)
Updates application specified by the application ARN.
updateApplicationRequest
- InternalException
InvalidInputException
AccessDeniedException
NoSuchEntityException
UpdateAssessmentResult updateAssessment(UpdateAssessmentRequest updateAssessmentRequest)
Updates the assessment specified by the assessment ARN.
updateAssessmentRequest
- InternalException
InvalidInputException
AccessDeniedException
NoSuchEntityException
void shutdown()
ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
request
- The originally executed request.Copyright © 2015. All rights reserved.