Skip to content

/AWS1/CL_SHBFREETRIALSTATUS

The free trial period for a Security Hub feature, and whether the trial is currently active.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_featuretype TYPE /AWS1/SHBFREETRIALTYPE /AWS1/SHBFREETRIALTYPE

The feature that the free trial period applies to. Valid values:

  • SECURITY_HUB_V2 specifies Security Hub.

  • SECURITY_HUB_V2_MULTI_CLOUD_AZURE specifies Security Hub coverage for Microsoft Azure resources.

iv_status TYPE /AWS1/SHBFREETRIALSTATUSVALUE /AWS1/SHBFREETRIALSTATUSVALUE

Whether the free trial period is currently active. Valid values:

  • ACTIVE specifies that the free trial period is ongoing.

  • INACTIVE specifies that the free trial period has ended, or that it never started.

To determine whether a trial has expired, compare ExpiresAt to the current time.

iv_startedat TYPE /AWS1/SHBTIMESTAMP /AWS1/SHBTIMESTAMP

The date and time at which the free trial period began.

iv_expiresat TYPE /AWS1/SHBTIMESTAMP /AWS1/SHBTIMESTAMP

The date and time at which the free trial period ends.


Queryable Attributes

FeatureType

The feature that the free trial period applies to. Valid values:

  • SECURITY_HUB_V2 specifies Security Hub.

  • SECURITY_HUB_V2_MULTI_CLOUD_AZURE specifies Security Hub coverage for Microsoft Azure resources.

Accessible with the following methods

Method Description
GET_FEATURETYPE() Getter for FEATURETYPE, with configurable default
ASK_FEATURETYPE() Getter for FEATURETYPE w/ exceptions if field has no value
HAS_FEATURETYPE() Determine if FEATURETYPE has a value

Status

Whether the free trial period is currently active. Valid values:

  • ACTIVE specifies that the free trial period is ongoing.

  • INACTIVE specifies that the free trial period has ended, or that it never started.

To determine whether a trial has expired, compare ExpiresAt to the current time.

Accessible with the following methods

Method Description
GET_STATUS() Getter for STATUS, with configurable default
ASK_STATUS() Getter for STATUS w/ exceptions if field has no value
HAS_STATUS() Determine if STATUS has a value

StartedAt

The date and time at which the free trial period began.

Accessible with the following methods

Method Description
GET_STARTEDAT() Getter for STARTEDAT, with configurable default
ASK_STARTEDAT() Getter for STARTEDAT w/ exceptions if field has no value
HAS_STARTEDAT() Determine if STARTEDAT has a value

ExpiresAt

The date and time at which the free trial period ends.

Accessible with the following methods

Method Description
GET_EXPIRESAT() Getter for EXPIRESAT, with configurable default
ASK_EXPIRESAT() Getter for EXPIRESAT w/ exceptions if field has no value
HAS_EXPIRESAT() Determine if EXPIRESAT has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_FREETRIALSTATUSLIST

TYPES TT_FREETRIALSTATUSLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_SHBFREETRIALSTATUS WITH DEFAULT KEY
.