Service Accounts

Information about a VirusTotal Service Account

Object Attributes

  • apikey: <string> Service Account's VirusTotal API key. Only visible for the administrators of the group the Service Account belongs to.
  • email: <string> email-like identifier of the Service Account. Can be used to get the object using the API.
  • first_name: <string> Identifier the person who created the service account provided while adding it to the group.
  • privileges: <dictionary> Service Account's granted privileges. Each dictionary key is a string representing the privilege's name and each dictionary value is a dictionary having the following fields:
    • expiration_date: <integer> privilege's expiration date as UTC timestamp.
    • granted: <boolean> whether that privilege is granted or not.
    • inherited_from: <string> group name the permission is inherited from.
    • inherited_via: <string> quota group where the permission is.
  • quotas: <dictionary> Service Account's quota details. Each dictionary key is a string representing quota name and each dictionary value is a dictionary containing the following fields:
    • allowed: <integer> maximum allowed quota.
    • used: <integer> consumed quota.
  • reputation: <integer> Service Account's community reputation.
  • status: <string> Service Account's status.
  • user_since: <integer> Service Account's creation date as UTC timestamp.
{
    "data": {
        "attributes": {
            "apikey": "<string>",
            "email": "<string>",
            "first_name": "<string>",
            "preferences": {
                "<string>": {}
            },
            "privileges": {
                "<string>": {
                    "expiration_date": <int>,
                    "granted": <bool>,
                    "inherited_from": "<string>",
                    "inherited_via": "<string>"
                }
            },
            "quotas": {
                "<string>": {
                    "allowed": <int>,
                    "used": <int>
                }
            },
            "reputation": <int>,
            "status": "<string>",
            "user_since": <int>
        },
        "id": "<string>",
        "links": {
            "self": "https://www.virustotal.com/api/v3/users/<id>"
        },
        "type": "service_account"
    }
}
{
    "data": {
        "attributes": {
            "apikey": "3333333t33333333333333r333333f333333g33333333c3333333f333333333a",
            "email": "[email protected]",
            "first_name": "Sabrina",
            "has_2fa": true,
            "last_login": 1594718163,
            "last_name": "Spellman",
            "preferences": {
                "graph": {
                    "dashboard_walkthrough_version_seen": "1.0.0",
                    "last_visit": 1594136453392,
                    "main_walkthrough_version_seen": "1.0.0",
                    "search_tooltip_version_seen": "1.0.0"
                },
                "ui": {
                    "last_read_notification_date": 1594640566
                }
            },
            "privileges": {
                "admin": {
                    "granted": false
                },
                "allinfo": {
                    "granted": false
                },
                "big-files": {
                    "expiration_date": 1601510400,
                    "granted": true,
                    "inherited_from": "blablabla_group",
                    "inherited_via": "api_quota_group"
                },
                "cases": {
                    "granted": true,
                    "inherited_from": "blablabla_group",
                    "inherited_via": "intelligence_quota_group"
                },
                "click_to_accept": {
                    "granted": false
                }
            },
            "profile_phrase": "It's witching hour!",
            "quotas": {
                "api_requests_daily": {
                    "allowed": 1000000000,
                    "used": 4
                },
                "api_requests_hourly": {
                    "allowed": 60000000000,
                    "used": 4
                },
                "api_requests_monthly": {
                    "allowed": 1000000000,
                    "used": 113
                },
                "cases_creation_monthly": {
                    "allowed": 20,
                    "used": 0
                },
                "intelligence_downloads_monthly": {
                    "allowed": 0,
                    "used": 5
                }
            },
            "reputation": 1,
            "status": "active",
            "user_since": 1557214525
        },
        "id": "spellman",
        "links": {
            "self": "https://www.virustotal.com/api/v3/users/spellman"
        },
        "type": "user"
    }
}

Relationships

In addition to the previously described attributes, Service Account objects contain relationships with other objects in our dataset that can be retrieved as explained in the Relationships section.

The following table shows a summary of available relationships for Service Account objects.

RelationshipDescriptionAccessibilityReturn object type
api_quota_groupGroup from which the Service Account consumes API quota.Group AdminA single Group object.
commentsComments posted by the Service Account.Everyone.A list of Comments.
groupsGroups the Service Account belongs to.Group Admin.A list of Groups.
intelligence_quota_groupGroup from which the Service Account consumes intelligence quota.Group AdminA single Group object.
mentionsComments mentioning the user.Everyone.A list of Comments.

These relationships are detailed in the subsections below.