Skip to content
Start here

State

Retrieves Account State
security_center.state.get(StateGetParams**kwargs) -> StateGetResponse
GET/accounts/{account_id}/security-center/state
Updates Account State
security_center.state.update(StateUpdateParams**kwargs) -> StateUpdateResponse
PUT/accounts/{account_id}/security-center/state
ModelsExpand Collapse
class StateGetResponse: …
recent_dormant_reactivation: bool

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

scans_enabled: bool

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

class StateUpdateResponse: …
recent_dormant_reactivation: bool

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

scans_enabled: bool

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