Application¶
This documentation provides details about the data that can be faked for an application.
To retrieve data about a fake application you can do the following:
from socfaker import SocFaker
sc = SocFaker()
print(sc.application.status)
print(sc.application.account_status)
print(sc.application.name)
print(sc.application.logon_timestamp)
Application Class¶
-
class
socfaker.application.
Application
¶ Application object contains properties for a random (non-specific) application
-
account_status
¶ A random account status for the application
- Returns:
- str: Returns whether an account is enabled or
- disabled for an application
-
logon_timestamp
¶ Logon timestamp of a user/service for an applicaiton
- Returns:
- str: Returns an ISO 8601 timestamp in the past
-
name
¶ The name of an application
- Returns:
- str: Returns a random application name based on common
- applications used in enterprises
-
status
¶ Returns the application status
- Returns:
- str: Returns the application status of
- Active, Inactive, or Legacy
-