Class: AWS.Inspector2
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.Inspector2
- Identifier:
- inspector2
- API Version:
- 2020-06-08
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
Amazon Inspector is a vulnerability discovery service that automates continuous scanning for security vulnerabilities within your Amazon EC2, Amazon ECR, and Amazon Web Services Lambda environments.
Sending a Request Using Inspector2
var inspector2 = new AWS.Inspector2();
inspector2.listCisScanResultsAggregatedByTargetResource(params, function (err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Locking the API Version
In order to ensure that the Inspector2 object uses this specific API, you can
construct the object by passing the apiVersion option to the constructor:
var inspector2 = new AWS.Inspector2({apiVersion: '2020-06-08'});
You can also set the API version globally in AWS.config.apiVersions using
the inspector2 service identifier:
AWS.config.apiVersions = {
inspector2: '2020-06-08',
// other service API versions
};
var inspector2 = new AWS.Inspector2();
Constructor Summary collapse
-
new AWS.Inspector2(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary collapse
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary collapse
-
associateMember(params = {}, callback) ⇒ AWS.Request
Associates an Amazon Web Services account with an Amazon Inspector delegated administrator.
-
batchGetAccountStatus(params = {}, callback) ⇒ AWS.Request
Retrieves the Amazon Inspector status of multiple Amazon Web Services accounts within your environment.
.
-
batchGetCodeSnippet(params = {}, callback) ⇒ AWS.Request
Retrieves code snippets from findings that Amazon Inspector detected code vulnerabilities in.
.
-
batchGetFindingDetails(params = {}, callback) ⇒ AWS.Request
Gets vulnerability details for findings.
.
-
batchGetFreeTrialInfo(params = {}, callback) ⇒ AWS.Request
Gets free trial status for multiple Amazon Web Services accounts.
.
-
batchGetMemberEc2DeepInspectionStatus(params = {}, callback) ⇒ AWS.Request
Retrieves Amazon Inspector deep inspection activation status of multiple member accounts within your organization.
-
batchUpdateMemberEc2DeepInspectionStatus(params = {}, callback) ⇒ AWS.Request
Activates or deactivates Amazon Inspector deep inspection for the provided member accounts in your organization.
-
cancelFindingsReport(params = {}, callback) ⇒ AWS.Request
Cancels the given findings report.
.
-
cancelSbomExport(params = {}, callback) ⇒ AWS.Request
Cancels a software bill of materials (SBOM) report.
.
-
createCisScanConfiguration(params = {}, callback) ⇒ AWS.Request
Creates a CIS scan configuration.
.
-
createFilter(params = {}, callback) ⇒ AWS.Request
Creates a filter resource using specified filter criteria.
-
createFindingsReport(params = {}, callback) ⇒ AWS.Request
Creates a finding report.
-
createSbomExport(params = {}, callback) ⇒ AWS.Request
Creates a software bill of materials (SBOM) report.
.
-
deleteCisScanConfiguration(params = {}, callback) ⇒ AWS.Request
Deletes a CIS scan configuration.
.
-
deleteFilter(params = {}, callback) ⇒ AWS.Request
Deletes a filter resource.
.
-
describeOrganizationConfiguration(params = {}, callback) ⇒ AWS.Request
Describe Amazon Inspector configuration settings for an Amazon Web Services organization.
.
-
disable(params = {}, callback) ⇒ AWS.Request
Disables Amazon Inspector scans for one or more Amazon Web Services accounts.
-
disableDelegatedAdminAccount(params = {}, callback) ⇒ AWS.Request
Disables the Amazon Inspector delegated administrator for your organization.
.
-
disassociateMember(params = {}, callback) ⇒ AWS.Request
Disassociates a member account from an Amazon Inspector delegated administrator.
.
-
enable(params = {}, callback) ⇒ AWS.Request
Enables Amazon Inspector scans for one or more Amazon Web Services accounts.
.
-
enableDelegatedAdminAccount(params = {}, callback) ⇒ AWS.Request
Enables the Amazon Inspector delegated administrator for your Organizations organization.
.
-
getCisScanReport(params = {}, callback) ⇒ AWS.Request
Retrieves a CIS scan report.
.
-
getCisScanResultDetails(params = {}, callback) ⇒ AWS.Request
Retrieves CIS scan result details.
.
-
getConfiguration(params = {}, callback) ⇒ AWS.Request
Retrieves setting configurations for Inspector scans.
.
-
getDelegatedAdminAccount(params = {}, callback) ⇒ AWS.Request
Retrieves information about the Amazon Inspector delegated administrator for your organization.
.
-
getEc2DeepInspectionConfiguration(params = {}, callback) ⇒ AWS.Request
Retrieves the activation status of Amazon Inspector deep inspection and custom paths associated with your account.
-
getEncryptionKey(params = {}, callback) ⇒ AWS.Request
Gets an encryption key.
.
-
getFindingsReportStatus(params = {}, callback) ⇒ AWS.Request
Gets the status of a findings report.
.
-
getMember(params = {}, callback) ⇒ AWS.Request
Gets member information for your organization.
.
-
getSbomExport(params = {}, callback) ⇒ AWS.Request
Gets details of a software bill of materials (SBOM) report.
.
-
listAccountPermissions(params = {}, callback) ⇒ AWS.Request
Lists the permissions an account has to configure Amazon Inspector.
.
-
listCisScanConfigurations(params = {}, callback) ⇒ AWS.Request
Lists CIS scan configurations.
.
-
listCisScanResultsAggregatedByChecks(params = {}, callback) ⇒ AWS.Request
Lists scan results aggregated by checks.
.
-
listCisScanResultsAggregatedByTargetResource(params = {}, callback) ⇒ AWS.Request
Lists scan results aggregated by a target resource.
.
-
listCisScans(params = {}, callback) ⇒ AWS.Request
Returns a CIS scan list.
.
-
listCoverage(params = {}, callback) ⇒ AWS.Request
Lists coverage details for you environment.
.
-
listCoverageStatistics(params = {}, callback) ⇒ AWS.Request
Lists Amazon Inspector coverage statistics for your environment.
.
-
listDelegatedAdminAccounts(params = {}, callback) ⇒ AWS.Request
Lists information about the Amazon Inspector delegated administrator of your organization.
.
-
listFilters(params = {}, callback) ⇒ AWS.Request
Lists the filters associated with your account.
.
-
listFindingAggregations(params = {}, callback) ⇒ AWS.Request
Lists aggregated finding data for your environment based on specific criteria.
.
-
listFindings(params = {}, callback) ⇒ AWS.Request
Lists findings for your environment.
.
-
listMembers(params = {}, callback) ⇒ AWS.Request
List members associated with the Amazon Inspector delegated administrator for your organization.
.
-
listTagsForResource(params = {}, callback) ⇒ AWS.Request
Lists all tags attached to a given resource.
.
-
listUsageTotals(params = {}, callback) ⇒ AWS.Request
Lists the Amazon Inspector usage totals over the last 30 days.
.
-
resetEncryptionKey(params = {}, callback) ⇒ AWS.Request
Resets an encryption key.
-
searchVulnerabilities(params = {}, callback) ⇒ AWS.Request
Lists Amazon Inspector coverage details for a specific vulnerability.
.
-
sendCisSessionHealth(params = {}, callback) ⇒ AWS.Request
Sends a CIS session health.
-
sendCisSessionTelemetry(params = {}, callback) ⇒ AWS.Request
Sends a CIS session telemetry.
-
startCisSession(params = {}, callback) ⇒ AWS.Request
Starts a CIS session.
-
stopCisSession(params = {}, callback) ⇒ AWS.Request
Stops a CIS session.
-
tagResource(params = {}, callback) ⇒ AWS.Request
Adds tags to a resource.
.
-
untagResource(params = {}, callback) ⇒ AWS.Request
Removes tags from a resource.
.
-
updateCisScanConfiguration(params = {}, callback) ⇒ AWS.Request
Updates a CIS scan configuration.
.
-
updateConfiguration(params = {}, callback) ⇒ AWS.Request
Updates setting configurations for your Amazon Inspector account.
-
updateEc2DeepInspectionConfiguration(params = {}, callback) ⇒ AWS.Request
Activates, deactivates Amazon Inspector deep inspection, or updates custom paths for your account.
-
updateEncryptionKey(params = {}, callback) ⇒ AWS.Request
Updates an encryption key.
-
updateFilter(params = {}, callback) ⇒ AWS.Request
Specifies the action that is to be applied to the findings that match the filter.
.
-
updateOrganizationConfiguration(params = {}, callback) ⇒ AWS.Request
Updates the configurations for your Amazon Inspector organization.
.
-
updateOrgEc2DeepInspectionConfiguration(params = {}, callback) ⇒ AWS.Request
Updates the Amazon Inspector deep inspection custom paths for your organization.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
new AWS.Inspector2(options = {}) ⇒ Object
Constructs a service object. This object has one method for each API operation.
Property Details
Method Details
associateMember(params = {}, callback) ⇒ AWS.Request
Associates an Amazon Web Services account with an Amazon Inspector delegated administrator. An HTTP 200 response indicates the association was successfully started, but doesn’t indicate whether it was completed. You can check if the association completed by using ListMembers for multiple accounts or GetMembers for a single account.