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 - InternalExceptionInvalidInputExceptionAccessDeniedExceptionNoSuchEntityExceptionAttachAssessmentAndRulesPackageResult attachAssessmentAndRulesPackage(AttachAssessmentAndRulesPackageRequest attachAssessmentAndRulesPackageRequest)
Attaches the rules package specified by the rules package ARN to the assessment specified by the assessment ARN.
attachAssessmentAndRulesPackageRequest - InternalExceptionInvalidInputExceptionAccessDeniedExceptionNoSuchEntityExceptionCreateApplicationResult 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 - InternalExceptionInvalidInputExceptionAccessDeniedExceptionNoSuchEntityExceptionCreateAssessmentResult 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 - InternalExceptionInvalidInputExceptionAccessDeniedExceptionNoSuchEntityExceptionCreateResourceGroupResult 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 - InternalExceptionInvalidInputExceptionAccessDeniedExceptionDeleteApplicationResult deleteApplication(DeleteApplicationRequest deleteApplicationRequest)
Deletes the application specified by the application ARN.
deleteApplicationRequest - InternalExceptionInvalidInputExceptionOperationInProgressExceptionAccessDeniedExceptionNoSuchEntityExceptionDeleteAssessmentResult deleteAssessment(DeleteAssessmentRequest deleteAssessmentRequest)
Deletes the assessment specified by the assessment ARN.
deleteAssessmentRequest - InternalExceptionInvalidInputExceptionOperationInProgressExceptionAccessDeniedExceptionNoSuchEntityExceptionDeleteRunResult deleteRun(DeleteRunRequest deleteRunRequest)
Deletes the assessment run specified by the run ARN.
deleteRunRequest - InternalExceptionInvalidInputExceptionAccessDeniedExceptionNoSuchEntityExceptionDescribeApplicationResult describeApplication(DescribeApplicationRequest describeApplicationRequest)
Describes the application specified by the application ARN.
describeApplicationRequest - InternalExceptionInvalidInputExceptionAccessDeniedExceptionNoSuchEntityExceptionDescribeAssessmentResult describeAssessment(DescribeAssessmentRequest describeAssessmentRequest)
Describes the assessment specified by the assessment ARN.
describeAssessmentRequest - InternalExceptionInvalidInputExceptionAccessDeniedExceptionNoSuchEntityExceptionDescribeCrossAccountAccessRoleResult describeCrossAccountAccessRole(DescribeCrossAccountAccessRoleRequest describeCrossAccountAccessRoleRequest)
Describes the IAM role that enables Inspector to access your AWS account.
describeCrossAccountAccessRoleRequest - InternalExceptionAccessDeniedExceptionDescribeFindingResult describeFinding(DescribeFindingRequest describeFindingRequest)
Describes the finding specified by the finding ARN.
describeFindingRequest - InternalExceptionInvalidInputExceptionAccessDeniedExceptionNoSuchEntityExceptionDescribeResourceGroupResult describeResourceGroup(DescribeResourceGroupRequest describeResourceGroupRequest)
Describes the resource group specified by the resource group ARN.
describeResourceGroupRequest - InternalExceptionInvalidInputExceptionAccessDeniedExceptionNoSuchEntityExceptionDescribeRulesPackageResult describeRulesPackage(DescribeRulesPackageRequest describeRulesPackageRequest)
Describes the rules package specified by the rules package ARN.
describeRulesPackageRequest - InternalExceptionInvalidInputExceptionAccessDeniedExceptionNoSuchEntityExceptionDescribeRunResult describeRun(DescribeRunRequest describeRunRequest)
Describes the assessment run specified by the run ARN.
describeRunRequest - InternalExceptionInvalidInputExceptionAccessDeniedExceptionNoSuchEntityExceptionDetachAssessmentAndRulesPackageResult detachAssessmentAndRulesPackage(DetachAssessmentAndRulesPackageRequest detachAssessmentAndRulesPackageRequest)
Detaches the rules package specified by the rules package ARN from the assessment specified by the assessment ARN.
detachAssessmentAndRulesPackageRequest - InternalExceptionInvalidInputExceptionAccessDeniedExceptionNoSuchEntityExceptionGetAssessmentTelemetryResult getAssessmentTelemetry(GetAssessmentTelemetryRequest getAssessmentTelemetryRequest)
Returns the metadata about the telemetry (application behavioral data) for the assessment specified by the assessment ARN.
getAssessmentTelemetryRequest - InternalExceptionInvalidInputExceptionAccessDeniedExceptionNoSuchEntityExceptionListApplicationsResult listApplications(ListApplicationsRequest listApplicationsRequest)
Lists the ARNs of the applications within this AWS account. For more information about applications, see Inspector Applications.
listApplicationsRequest - InternalExceptionInvalidInputExceptionAccessDeniedExceptionListAssessmentAgentsResult listAssessmentAgents(ListAssessmentAgentsRequest listAssessmentAgentsRequest)
Lists the agents of the assessment specified by the assessment ARN.
listAssessmentAgentsRequest - InternalExceptionInvalidInputExceptionAccessDeniedExceptionNoSuchEntityExceptionListAssessmentsResult listAssessments(ListAssessmentsRequest listAssessmentsRequest)
Lists the assessments corresponding to applications specified by the applications' ARNs.
listAssessmentsRequest - InternalExceptionInvalidInputExceptionAccessDeniedExceptionNoSuchEntityExceptionListAttachedAssessmentsResult listAttachedAssessments(ListAttachedAssessmentsRequest listAttachedAssessmentsRequest)
Lists the assessments attached to the rules package specified by the rules package ARN.
listAttachedAssessmentsRequest - InternalExceptionInvalidInputExceptionAccessDeniedExceptionNoSuchEntityExceptionListAttachedRulesPackagesResult listAttachedRulesPackages(ListAttachedRulesPackagesRequest listAttachedRulesPackagesRequest)
Lists the rules packages attached to the assessment specified by the assessment ARN.
listAttachedRulesPackagesRequest - InternalExceptionInvalidInputExceptionAccessDeniedExceptionNoSuchEntityExceptionListFindingsResult listFindings(ListFindingsRequest listFindingsRequest)
Lists findings generated by the assessment run specified by the run ARNs.
listFindingsRequest - InternalExceptionInvalidInputExceptionAccessDeniedExceptionNoSuchEntityExceptionListRulesPackagesResult listRulesPackages(ListRulesPackagesRequest listRulesPackagesRequest)
Lists all available Inspector rules packages.
listRulesPackagesRequest - InternalExceptionInvalidInputExceptionAccessDeniedExceptionListRunsResult listRuns(ListRunsRequest listRunsRequest)
Lists the assessment runs associated with the assessments specified by the assessment ARNs.
listRunsRequest - InternalExceptionInvalidInputExceptionAccessDeniedExceptionNoSuchEntityExceptionListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists all tags associated with a resource.
listTagsForResourceRequest - InternalExceptionInvalidInputExceptionAccessDeniedExceptionNoSuchEntityExceptionLocalizeTextResult localizeText(LocalizeTextRequest localizeTextRequest)
Translates a textual identifier into a user-readable text in a specified locale.
localizeTextRequest - InternalExceptionInvalidInputExceptionAccessDeniedExceptionNoSuchEntityExceptionPreviewAgentsForResourceGroupResult previewAgentsForResourceGroup(PreviewAgentsForResourceGroupRequest previewAgentsForResourceGroupRequest)
Previews the agents installed on the EC2 instances that are included in the application created with the specified resource group.
previewAgentsForResourceGroupRequest - InternalExceptionInvalidInputExceptionAccessDeniedExceptionNoSuchEntityExceptionInvalidCrossAccountRoleExceptionRegisterCrossAccountAccessRoleResult registerCrossAccountAccessRole(RegisterCrossAccountAccessRoleRequest registerCrossAccountAccessRoleRequest)
Register the role that Inspector uses to list your EC2 instances during the assessment.
registerCrossAccountAccessRoleRequest - InternalExceptionInvalidInputExceptionAccessDeniedExceptionInvalidCrossAccountRoleExceptionRemoveAttributesFromFindingsResult 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 - InternalExceptionInvalidInputExceptionAccessDeniedExceptionNoSuchEntityExceptionRunAssessmentResult runAssessment(RunAssessmentRequest runAssessmentRequest)
Starts the analysis of the application’s behavior against selected rule packages for the assessment specified by the assessment ARN.
runAssessmentRequest - InternalExceptionInvalidInputExceptionAccessDeniedExceptionNoSuchEntityExceptionSetTagsForResourceResult setTagsForResource(SetTagsForResourceRequest setTagsForResourceRequest)
Sets tags (key and value pairs) to the assessment specified by the assessment ARN.
setTagsForResourceRequest - InternalExceptionInvalidInputExceptionAccessDeniedExceptionNoSuchEntityExceptionStartDataCollectionResult 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 - InternalExceptionInvalidInputExceptionAccessDeniedExceptionNoSuchEntityExceptionInvalidCrossAccountRoleExceptionStopDataCollectionResult stopDataCollection(StopDataCollectionRequest stopDataCollectionRequest)
Stop data collection for the assessment specified by the assessment ARN.
stopDataCollectionRequest - InternalExceptionInvalidInputExceptionAccessDeniedExceptionNoSuchEntityExceptionUpdateApplicationResult updateApplication(UpdateApplicationRequest updateApplicationRequest)
Updates application specified by the application ARN.
updateApplicationRequest - InternalExceptionInvalidInputExceptionAccessDeniedExceptionNoSuchEntityExceptionUpdateAssessmentResult updateAssessment(UpdateAssessmentRequest updateAssessmentRequest)
Updates the assessment specified by the assessment ARN.
updateAssessmentRequest - InternalExceptionInvalidInputExceptionAccessDeniedExceptionNoSuchEntityExceptionvoid 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 © 2013 Amazon Web Services, Inc. All Rights Reserved.