Package com.strongdm.api
Class Activity
java.lang.Object
com.strongdm.api.Activity
An Activity is a record of an action taken against a strongDM deployment, e.g.
a user creation, resource deletion, sso configuration change, etc.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetActor()
The account who executed this activity.The time this activity took effect.A humanized description of the activity.The entities involved in this activity.getId()
Unique identifier of the Activity.The IP from which this action was taken.The User Agent present when this request was executed.getVerb()
The kind of activity which has taken place, one of the ActivityVerb constants.void
The account who executed this activity.void
setCompletedAt
(Date in) The time this activity took effect.void
setDescription
(String in) A humanized description of the activity.void
The entities involved in this activity.void
Unique identifier of the Activity.void
setIpAddress
(String in) The IP from which this action was taken.void
setUserAgent
(String in) The User Agent present when this request was executed.void
The kind of activity which has taken place, one of the ActivityVerb constants.
-
Constructor Details
-
Activity
public Activity()
-
-
Method Details
-
getActor
The account who executed this activity. If the actor later has a name or email change, that change is not reflected here. Actor is a snapshot of the executing account at the time an activity took place. -
setActor
The account who executed this activity. If the actor later has a name or email change, that change is not reflected here. Actor is a snapshot of the executing account at the time an activity took place. -
getCompletedAt
The time this activity took effect. -
setCompletedAt
The time this activity took effect. -
getDescription
A humanized description of the activity. -
setDescription
A humanized description of the activity. -
getEntities
The entities involved in this activity. These entities can be any first class entity in the strongDM system, eg. a user, a role, a node, an account grant. Not every activity affects explicit entities. -
setEntities
The entities involved in this activity. These entities can be any first class entity in the strongDM system, eg. a user, a role, a node, an account grant. Not every activity affects explicit entities. -
getId
Unique identifier of the Activity. -
setId
Unique identifier of the Activity. -
getIpAddress
The IP from which this action was taken. -
setIpAddress
The IP from which this action was taken. -
getUserAgent
The User Agent present when this request was executed. Generally a client type and version like strongdm-cli/55.66.77 -
setUserAgent
The User Agent present when this request was executed. Generally a client type and version like strongdm-cli/55.66.77 -
getVerb
The kind of activity which has taken place, one of the ActivityVerb constants. -
setVerb
The kind of activity which has taken place, one of the ActivityVerb constants.
-