Class: AWS.GuardDuty
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.GuardDuty
- Identifier:
- guardduty
- API Version:
- 2017-11-28
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
Amazon GuardDuty is a continuous security monitoring service that analyzes and processes the following foundational data sources - VPC flow logs, Amazon Web Services CloudTrail management event logs, CloudTrail S3 data event logs, EKS audit logs, DNS logs, Amazon EBS volume data, runtime activity belonging to container workloads, such as Amazon EKS, Amazon ECS (including Amazon Web Services Fargate), and Amazon EC2 instances. It uses threat intelligence feeds, such as lists of malicious IPs and domains, and machine learning to identify unexpected, potentially unauthorized, and malicious activity within your Amazon Web Services environment. This can include issues like escalations of privileges, uses of exposed credentials, or communication with malicious IPs, domains, or presence of malware on your Amazon EC2 instances and container workloads. For example, GuardDuty can detect compromised EC2 instances and container workloads serving malware, or mining bitcoin.
GuardDuty also monitors Amazon Web Services account access behavior for signs of compromise, such as unauthorized infrastructure deployments like EC2 instances deployed in a Region that has never been used, or unusual API calls like a password policy change to reduce password strength.
GuardDuty informs you about the status of your Amazon Web Services environment by producing security findings that you can view in the GuardDuty console or through Amazon EventBridge. For more information, see the Amazon GuardDuty User Guide .
Sending a Request Using GuardDuty
var guardduty = new AWS.GuardDuty();
guardduty.acceptAdministratorInvitation(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 GuardDuty object uses this specific API, you can
construct the object by passing the apiVersion option to the constructor:
var guardduty = new AWS.GuardDuty({apiVersion: '2017-11-28'});
You can also set the API version globally in AWS.config.apiVersions using
the guardduty service identifier:
AWS.config.apiVersions = {
guardduty: '2017-11-28',
// other service API versions
};
var guardduty = new AWS.GuardDuty();
Constructor Summary collapse
-
new AWS.GuardDuty(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
-
acceptAdministratorInvitation(params = {}, callback) ⇒ AWS.Request
Accepts the invitation to be a member account and get monitored by a GuardDuty administrator account that sent the invitation.
.
-
acceptInvitation(params = {}, callback) ⇒ AWS.Request
Accepts the invitation to be monitored by a GuardDuty administrator account.
.
-
archiveFindings(params = {}, callback) ⇒ AWS.Request
Archives GuardDuty findings that are specified by the list of finding IDs.
Note: Only the administrator account can archive findings.- createDetector(params = {}, callback) ⇒ AWS.Request
Creates a single GuardDuty detector.
- createFilter(params = {}, callback) ⇒ AWS.Request
Creates a filter using the specified finding criteria.
- createIPSet(params = {}, callback) ⇒ AWS.Request
Creates a new IPSet, which is called a trusted IP list in the console user interface.
- createMalwareProtectionPlan(params = {}, callback) ⇒ AWS.Request
Creates a new Malware Protection plan for the protected resource.
When you create a Malware Protection plan, the Amazon Web Services service terms for GuardDuty Malware Protection apply.
- createMembers(params = {}, callback) ⇒ AWS.Request
Creates member accounts of the current Amazon Web Services account by specifying a list of Amazon Web Services account IDs.
- createPublishingDestination(params = {}, callback) ⇒ AWS.Request
Creates a publishing destination to export findings to.
- createSampleFindings(params = {}, callback) ⇒ AWS.Request
Generates sample findings of types specified by the list of finding types.
- createThreatIntelSet(params = {}, callback) ⇒ AWS.Request
Creates a new ThreatIntelSet.
- declineInvitations(params = {}, callback) ⇒ AWS.Request
Declines invitations sent to the current member account by Amazon Web Services accounts specified by their account IDs.
.
- deleteDetector(params = {}, callback) ⇒ AWS.Request
Deletes an Amazon GuardDuty detector that is specified by the detector ID.
.
- deleteFilter(params = {}, callback) ⇒ AWS.Request
Deletes the filter specified by the filter name.
.
- deleteInvitations(params = {}, callback) ⇒ AWS.Request
Deletes invitations sent to the current member account by Amazon Web Services accounts specified by their account IDs.
.
- deleteIPSet(params = {}, callback) ⇒ AWS.Request
Deletes the IPSet specified by the
ipSetId.- deleteMalwareProtectionPlan(params = {}, callback) ⇒ AWS.Request
Deletes the Malware Protection plan ID associated with the Malware Protection plan resource.
- deleteMembers(params = {}, callback) ⇒ AWS.Request
Deletes GuardDuty member accounts (to the current GuardDuty administrator account) specified by the account IDs.
With
.autoEnableOrganizationMembersconfiguration for your organization set toALL, you'll receive an error if you attempt to disable GuardDuty for a member account in your organization.- deletePublishingDestination(params = {}, callback) ⇒ AWS.Request
Deletes the publishing definition with the specified
destinationId..
- deleteThreatIntelSet(params = {}, callback) ⇒ AWS.Request
Deletes the ThreatIntelSet specified by the ThreatIntelSet ID.
.
- describeMalwareScans(params = {}, callback) ⇒ AWS.Request
Returns a list of malware scans.
- describeOrganizationConfiguration(params = {}, callback) ⇒ AWS.Request
Returns information about the account selected as the delegated administrator for GuardDuty.
There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported.
- describePublishingDestination(params = {}, callback) ⇒ AWS.Request
Returns information about the publishing destination specified by the provided
destinationId..
- disableOrganizationAdminAccount(params = {}, callback) ⇒ AWS.Request
Removes the existing GuardDuty delegated administrator of the organization.
- disassociateFromAdministratorAccount(params = {}, callback) ⇒ AWS.Request
Disassociates the current GuardDuty member account from its administrator account.
When you disassociate an invited member from a GuardDuty delegated administrator, the member account details obtained from the CreateMembers API, including the associated email addresses, are retained.
- disassociateFromMasterAccount(params = {}, callback) ⇒ AWS.Request
Disassociates the current GuardDuty member account from its administrator account.
When you disassociate an invited member from a GuardDuty delegated administrator, the member account details obtained from the CreateMembers API, including the associated email addresses, are retained.
- disassociateMembers(params = {}, callback) ⇒ AWS.Request
Disassociates GuardDuty member accounts (from the current administrator account) specified by the account IDs.
When you disassociate an invited member from a GuardDuty delegated administrator, the member account details obtained from the CreateMembers API, including the associated email addresses, are retained.
- enableOrganizationAdminAccount(params = {}, callback) ⇒ AWS.Request
Designates an Amazon Web Services account within the organization as your GuardDuty delegated administrator.
- getAdministratorAccount(params = {}, callback) ⇒ AWS.Request
Provides the details of the GuardDuty administrator account associated with the current GuardDuty member account.
Note: If the organization's management account or a delegated administrator runs this API, it will return success (HTTP 200) but no content.- getCoverageStatistics(params = {}, callback) ⇒ AWS.Request
Retrieves aggregated statistics for your account.
- getDetector(params = {}, callback) ⇒ AWS.Request
Retrieves an Amazon GuardDuty detector specified by the detectorId.
There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported.
- getFilter(params = {}, callback) ⇒ AWS.Request
Returns the details of the filter specified by the filter name.
.
- getFindings(params = {}, callback) ⇒ AWS.Request
Describes Amazon GuardDuty findings specified by finding IDs.
.
- getFindingsStatistics(params = {}, callback) ⇒ AWS.Request
Lists Amazon GuardDuty findings statistics for the specified detector ID.
There might be regional differences because some flags might not be available in all the Regions where GuardDuty is currently supported.
- getInvitationsCount(params = {}, callback) ⇒ AWS.Request
Returns the count of all GuardDuty membership invitations that were sent to the current member account except the currently accepted invitation.
.
- getIPSet(params = {}, callback) ⇒ AWS.Request
Retrieves the IPSet specified by the
ipSetId..
- getMalwareProtectionPlan(params = {}, callback) ⇒ AWS.Request
Retrieves the Malware Protection plan details associated with a Malware Protection plan ID.
.
- getMalwareScanSettings(params = {}, callback) ⇒ AWS.Request
Returns the details of the malware scan settings.
There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported.
- getMasterAccount(params = {}, callback) ⇒ AWS.Request
Provides the details for the GuardDuty administrator account associated with the current GuardDuty member account.
.
- getMemberDetectors(params = {}, callback) ⇒ AWS.Request
Describes which data sources are enabled for the member account's detector.
There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported.
- getMembers(params = {}, callback) ⇒ AWS.Request
Retrieves GuardDuty member accounts (of the current GuardDuty administrator account) specified by the account IDs.
.
- getOrganizationStatistics(params = {}, callback) ⇒ AWS.Request
Retrieves how many active member accounts have each feature enabled within GuardDuty.
- getRemainingFreeTrialDays(params = {}, callback) ⇒ AWS.Request
Provides the number of days left for each data source used in the free trial period.
.
- getThreatIntelSet(params = {}, callback) ⇒ AWS.Request
Retrieves the ThreatIntelSet that is specified by the ThreatIntelSet ID.
.
- getUsageStatistics(params = {}, callback) ⇒ AWS.Request
Lists Amazon GuardDuty usage statistics over the last 30 days for the specified detector ID.
- inviteMembers(params = {}, callback) ⇒ AWS.Request
Invites Amazon Web Services accounts to become members of an organization administered by the Amazon Web Services account that invokes this API.
- listCoverage(params = {}, callback) ⇒ AWS.Request
Lists coverage details for your GuardDuty account.
- listDetectors(params = {}, callback) ⇒ AWS.Request
Lists detectorIds of all the existing Amazon GuardDuty detector resources.
.
- listFilters(params = {}, callback) ⇒ AWS.Request
Returns a paginated list of the current filters.
.
- listFindings(params = {}, callback) ⇒ AWS.Request
Lists GuardDuty findings for the specified detector ID.
There might be regional differences because some flags might not be available in all the Regions where GuardDuty is currently supported.
- listInvitations(params = {}, callback) ⇒ AWS.Request
Lists all GuardDuty membership invitations that were sent to the current Amazon Web Services account.
.
- listIPSets(params = {}, callback) ⇒ AWS.Request
Lists the IPSets of the GuardDuty service specified by the detector ID.
- listMalwareProtectionPlans(params = {}, callback) ⇒ AWS.Request
Lists the Malware Protection plan IDs associated with the protected resources in your Amazon Web Services account.
.
- listMembers(params = {}, callback) ⇒ AWS.Request
Lists details about all member accounts for the current GuardDuty administrator account.
.
- listOrganizationAdminAccounts(params = {}, callback) ⇒ AWS.Request
Lists the accounts designated as GuardDuty delegated administrators.
- listPublishingDestinations(params = {}, callback) ⇒ AWS.Request
Returns a list of publishing destinations associated with the specified
detectorId..
- listTagsForResource(params = {}, callback) ⇒ AWS.Request
Lists tags for a resource.
- listThreatIntelSets(params = {}, callback) ⇒ AWS.Request
Lists the ThreatIntelSets of the GuardDuty service specified by the detector ID.
- startMalwareScan(params = {}, callback) ⇒ AWS.Request
Initiates the malware scan.
- startMonitoringMembers(params = {}, callback) ⇒ AWS.Request
Turns on GuardDuty monitoring of the specified member accounts.
- stopMonitoringMembers(params = {}, callback) ⇒ AWS.Request
Stops GuardDuty monitoring for the specified member accounts.
- tagResource(params = {}, callback) ⇒ AWS.Request
Adds tags to a resource.
.
- unarchiveFindings(params = {}, callback) ⇒ AWS.Request
Unarchives GuardDuty findings specified by the
findingIds..
- untagResource(params = {}, callback) ⇒ AWS.Request
Removes tags from a resource.
.
- updateDetector(params = {}, callback) ⇒ AWS.Request
Updates the GuardDuty detector specified by the detector ID.
Specifying both EKS Runtime Monitoring (
EKS_RUNTIME_MONITORING) and Runtime Monitoring (RUNTIME_MONITORING) will cause an error.- updateFilter(params = {}, callback) ⇒ AWS.Request
Updates the filter specified by the filter name.
.
- updateFindingsFeedback(params = {}, callback) ⇒ AWS.Request
Marks the specified GuardDuty findings as useful or not useful.
.
- updateIPSet(params = {}, callback) ⇒ AWS.Request
Updates the IPSet specified by the IPSet ID.
.
- updateMalwareProtectionPlan(params = {}, callback) ⇒ AWS.Request
Updates an existing Malware Protection plan resource.
.
- updateMalwareScanSettings(params = {}, callback) ⇒ AWS.Request
Updates the malware scan settings.
There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported.
- updateMemberDetectors(params = {}, callback) ⇒ AWS.Request
Contains information on member accounts to be updated.
Specifying both EKS Runtime Monitoring (
EKS_RUNTIME_MONITORING) and Runtime Monitoring (RUNTIME_MONITORING) will cause an error.- updateOrganizationConfiguration(params = {}, callback) ⇒ AWS.Request
Configures the delegated administrator account with the provided values.
- updatePublishingDestination(params = {}, callback) ⇒ AWS.Request
Updates information about the publishing destination specified by the
destinationId..
- updateThreatIntelSet(params = {}, callback) ⇒ AWS.Request
Updates the ThreatIntelSet specified by the ThreatIntelSet ID.
.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
new AWS.GuardDuty(options = {}) ⇒ Object
Constructs a service object. This object has one method for each API operation.
- createDetector(params = {}, callback) ⇒ AWS.Request