Class Activity

java.lang.Object
com.strongdm.api.Activity

public class Activity extends Object
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 Details

    • Activity

      public Activity()
  • Method Details

    • getActor

      public ActivityActor 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

      public void setActor(ActivityActor in)
      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

      public Date getCompletedAt()
      The time this activity took effect.
    • setCompletedAt

      public void setCompletedAt(Date in)
      The time this activity took effect.
    • getDescription

      public String getDescription()
      A humanized description of the activity.
    • setDescription

      public void setDescription(String in)
      A humanized description of the activity.
    • getEntities

      public List<ActivityEntity> 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

      public void setEntities(List<ActivityEntity> in)
      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

      public String getId()
      Unique identifier of the Activity.
    • setId

      public void setId(String in)
      Unique identifier of the Activity.
    • getIpAddress

      public String getIpAddress()
      The IP from which this action was taken.
    • setIpAddress

      public void setIpAddress(String in)
      The IP from which this action was taken.
    • getUserAgent

      public String getUserAgent()
      The User Agent present when this request was executed. Generally a client type and version like strongdm-cli/55.66.77
    • setUserAgent

      public void setUserAgent(String in)
      The User Agent present when this request was executed. Generally a client type and version like strongdm-cli/55.66.77
    • getVerb

      public String getVerb()
      The kind of activity which has taken place.
    • setVerb

      public void setVerb(String in)
      The kind of activity which has taken place.