Skip to content

Get Remaining Free Trial Days

guardduty_get_remaining_free_trial_days R Documentation

Provides the number of days left for each data source used in the free trial period

Description

Provides the number of days left for each data source used in the free trial period.

Usage

guardduty_get_remaining_free_trial_days(DetectorId, AccountIds)

Arguments

DetectorId

[required] The unique ID of the detector of the GuardDuty member account.

To find the detectorId in the current Region, see the Settings page in the GuardDuty console, or run the list_detectors API.

AccountIds

A list of account identifiers of the GuardDuty member account.

Value

A list with the following syntax:

list(
  Accounts = list(
    list(
      AccountId = "string",
      DataSources = list(
        CloudTrail = list(
          FreeTrialDaysRemaining = 123
        ),
        DnsLogs = list(
          FreeTrialDaysRemaining = 123
        ),
        FlowLogs = list(
          FreeTrialDaysRemaining = 123
        ),
        S3Logs = list(
          FreeTrialDaysRemaining = 123
        ),
        Kubernetes = list(
          AuditLogs = list(
            FreeTrialDaysRemaining = 123
          )
        ),
        MalwareProtection = list(
          ScanEc2InstanceWithFindings = list(
            FreeTrialDaysRemaining = 123
          )
        )
      ),
      Features = list(
        list(
          Name = "FLOW_LOGS"|"CLOUD_TRAIL"|"DNS_LOGS"|"S3_DATA_EVENTS"|"EKS_AUDIT_LOGS"|"EBS_MALWARE_PROTECTION"|"RDS_LOGIN_EVENTS"|"EKS_RUNTIME_MONITORING"|"LAMBDA_NETWORK_LOGS"|"FARGATE_RUNTIME_MONITORING"|"EC2_RUNTIME_MONITORING",
          FreeTrialDaysRemaining = 123
        )
      )
    )
  ),
  UnprocessedAccounts = list(
    list(
      AccountId = "string",
      Result = "string"
    )
  )
)

Request syntax

svc$get_remaining_free_trial_days(
  DetectorId = "string",
  AccountIds = list(
    "string"
  )
)