Shared Constants

class py42.constants.SortDirection

Bases: py42.choices.Choices

Constants available to set Code42 request sort_direction when sorting returned lists in responses.

  • ASC

  • DESC

class py42.constants.CaseStatus

Bases: py42.choices.Choices

Constants available for setting the status of a case.

  • OPEN

  • CLOSED

class py42.constants.TrustedActivityType

Bases: py42.choices.Choices

Constants available for setting the type of a trusted activity.

  • DOMAIN

  • SLACK

class py42.constants.WatchlistType

Bases: py42.choices.Choices

Constants available for setting the type of watchlist.

  • CONTRACT_EMPLOYEE

  • DEPARTING_EMPLOYEE

  • ELEVATED_ACCESS_PRIVILEGES

  • FLIGHT_RISK

  • HIGH_IMPACT_EMPLOYEE

  • NEW_EMPLOYEE

  • PERFORMANCE_CONCERNS

  • POOR_SECURITY_PRACTICES

  • SUSPICIOUS_SYSTEM_ACTIVITY

  • CUSTOM