Skip to content
Start here

State

Retrieves Account State
client.securityCenter.state.get(StateGetParams { account_id } params, RequestOptionsoptions?): StateGetResponse { recent_dormant_reactivation, scans_enabled }
GET/accounts/{account_id}/security-center/state
Updates Account State
client.securityCenter.state.update(StateUpdateParams { account_id, scans_enabled } params, RequestOptionsoptions?): StateUpdateResponse { recent_dormant_reactivation, scans_enabled }
PUT/accounts/{account_id}/security-center/state
ModelsExpand Collapse
StateGetResponse { recent_dormant_reactivation, scans_enabled }
recent_dormant_reactivation: boolean

Whether the account was recently reactivated from a dormant state (used to show the reactivation banner).

scans_enabled: boolean

Whether on-demand and scheduled scans are enabled for the account.

StateUpdateResponse { recent_dormant_reactivation, scans_enabled }
recent_dormant_reactivation: boolean

Whether the account was recently reactivated from a dormant state (used to show the reactivation banner).

scans_enabled: boolean

Whether on-demand and scheduled scans are enabled for the account.