Activity Stream (New)

Expand to see the list of possible activities that can be returned

    AcceptedEulaActivity  
    ActivatedPhaseActivity  
    ActivatedReusableComponentActivity  
    ActivatedStandardActivity  
    ActivatedUserActivity  
    ActivatedWeaknessActivity  
    AddedGroupToGroupActivity  
    AddedGroupToProjectActivity  
    AddedNoteActivity  
    AddedProjectProblemActivity  
    AddedReusableComponentToProjectActivity  
    AddedTaskActivity  
    AddedUserToGroupActivity  
    AddedUserToProjectActivity  
    ArchivedApplicationActivity  
    ArchivedProjectActivity  
    AssignedUserToTaskActivity  
    ChangedBusinessUnitRiskPolicyActivity  
    ChangedBusinessUnitRiskPolicyToDefaultActivity  
    ChangedDefaultRiskPolicyActivity  
    ChangedGroupRoleInProjectActivity  
    ChangedProjectAnswerSurveyActivity  
    ChangedProjectRiskPolicyActivity  
    ChangedProjectSurveyActivity  
    ChangedUserRoleInProjectActivity  
    CompletedModuleActivity  
    ComponentAddedTaskActivity  
    ComponentMarkedImplementedTaskActivity  
    ComponentMarkedIntroducedTaskActivity  
    ComponentRevertedTaskActivity  
    ComponentsAddedGlobalActivity  
    ComponentsMarkedImplementedGlobalActivity  
    ComponentsMarkedIntroducedGlobalActivity  
    ComponentsRevertedGlobalActivity  
    CreatedApplicationActivity  
    CreatedBusinessUnitActivity  
    CreatedClassifiedProjectActivity  
    CreatedDiagramActivity  
    CreatedGlossaryTermActivity  
    CreatedGroupActivity  
    CreatedPhaseActivity  
    CreatedProjectActivity  
    CreatedProjectProblemActivity  
    CreatedReportActivity  
    CreatedReusableComponentActivity  
    CreatedRiskPolicyActivity  
    CreatedStandardActivity  
    CreatedTaskActivity  
    CreatedUserActivity  
    CreatedWeaknessActivity  
    DeactivatedPhaseActivity  
    DeactivatedReusableComponentActivity  
    DeactivatedStandardActivity  
    DeactivatedUserActivity  
    DeactivatedWeaknessActivity  
    DeletedApplicationActivity  
    DeletedBusinessUnitActivity  
    DeletedDiagramActivity  
    DeletedGlossaryTermActivity  
    DeletedGroupActivity  
    DeletedNoteActivity  
    DeletedPhaseActivity  
    DeletedProjectActivity  
    DeletedProjectProblemActivity  
    DeletedReportActivity  
    DeletedRiskPolicyActivity  
    DeletedStandardActivity  
    DeletedTaskActivity  
    DeletedWeaknessActivity  
    DisableClassificationActivity  
    DisabledWaffleFlagActivity  
    EnableClassificationActivity  
    EnabledWaffleFlagActivity  
    GeneratedAPIv1TokenActivity  
    GeneratedAPIv2TokenActivity  
    ImportExportActivity  
    LockedProjectActivity  
    LockedProjectSurveyActivity  
    LoggedInActivity  
    LoggedOutActivity  
    MarkedCompleteTaskActivity  
    MarkedIncompleteTaskActivity  
    MarkedNATaskActivity  
    ModifiedApplicationActivity  
    ModifiedBusinessUnitActivity  
    ModifiedClassificationActivity  
    ModifiedDiagramActivity  
    ModifiedGlossaryTermActivity  
    ModifiedGroupActivity  
    ModifiedNoteActivity  
    ModifiedPhaseActivity  
    ModifiedProjectActivity  
    ModifiedProjectClassificationActivity  
    ModifiedProjectProblemActivity  
    ModifiedReportActivity  
    ModifiedReusableComponentActivity  
    ModifiedReusableComponentImplementedTaskActivity  
    ModifiedReusableComponentIntroducedTaskActivity  
    ModifiedReusableComponentSurveyMappingActivity  
    ModifiedReusableComponentTaskStatusMappingActivity  
    ModifiedRiskPolicyActivity  
    ModifiedStandardActivity  
    ModifiedTaskActivity  
    ModifiedWeaknessActivity  
    MovedApplicationActivity  
    MovedProjectActivity  
    ProjectAcceptedTaskUpdatesActivity  
    ProjectAcceptedUpdatesAddedTaskActivity  
    ProjectAcceptedUpdatesRemovedTaskActivity  
    ProjectAnalysisImportActivity  
    ProjectVerificationActivity  
    PurgedDeletedAppsAndProjects  
    PurgedDeletedBusinessUnits  
    RegeneratedAPIv1TokenActivity  
    RegeneratedAPIv2TokenActivity  
    RemovedGroupFromGroupActivity  
    RemovedGroupFromProjectActivity  
    RemovedProjectProblemActivity  
    RemovedReusableComponentFromProjectActivity  
    RemovedReusableComponentImplementedTaskActivity  
    RemovedReusableComponentIntroducedTaskActivity  
    RemovedReusableComponentSurveyMappingActivity  
    RemovedTaskActivity  
    RemovedUserFromGroupActivity  
    RemovedUserFromProjectActivity  
    RevokedAPIv2TokenActivity  
    SurveyAddedTaskActivity  
    SurveyRemovedTaskActivity  
    SwitchedProjectToAttributesEngine  
    ToggleClassificationActivity  
    ToggleClassificationModeActivity  
    UndeletedApplicationActivity  
    UndeletedBusinessUnitActivity  
    UndeletedProjectActivity  
    UnarchivedApplicationActivity  
    UnarchivedProjectActivity  
    UnassignedUserFromTaskActivity  
    UnlockedProjectActivity  
    UnlockedProjectSurveyActivity

Cursor Pagination

Alternate pagination is available for this specific endpoint where large volumes for records are available. Further information can be found here: See Cursor Pagination

Get all activities

This endpoint returns a list of Activities. Activities are events that have occurred in the application. We return the date they occurred along with additional data.

GET /api/v2/activity-stream/

Query Parameters

The following parameters may be used to filter the activity resources in the response:

Parameter Description
actor Returns a list of activities performed by the user with the specified id.
application Returns a list of activities that reference the application with the specified id.
application_desc Returns a list of activities that reference the application with the specified application name.
business_unit Returns a list of activities that reference the business unit with the specified id.
business_unit_desc Returns a list of activities that reference the business unit with the specified business unit name.
date_to Returns all activities performed at or before the specified date. Note that if you would like to filter the date by UTC time, add a 'Z' to the end of the time. Otherwise, it is assumed you are filtering using local time. This is consistent with the ISO format, which we use for our dates. An example of the format can be found here: https://www.w3.org/TR/NOTE-datetime.
date_from Returns all activities performed at or after the specified date. Note that if you would like to filter the date by UTC time, add a 'Z' to the end of the time. Otherwise, it is assumed you are filtering using local time. This is consistent with the ISO format, which we use for our dates. An example of the format can be found here: https://www.w3.org/TR/NOTE-datetime.
id Returns the activities with the specified id.
name Returns a list of activities with the specified name.
project Returns a list of activities that reference the project with the specified id.
project_desc Returns a list of activities that reference the project with the specified project name.
user Returns a list of activities that reference the user with the specified user id (not to be confused with activities that are performed by this user). The id used here is a number. For example: ?user=1.
standard Returns a list of activities that reference the standard with the specified id. The format of this parameter value is the standard id prefixed by a 'T' for built-in standards or 'CT' for custom standards.
standard_desc Returns a list of activities that reference the standard with the specified standard's full name. For example: "T21: Ensure confidential data is sent over an encrypted channel".

Custom Lookups

The following parameters support additional custom lookups:

Parameter Lookups
name iexact=, contains=, icontains=, in=

For a description and example of lookup usage, see Custom Filtering Lookups.

To attach multiple query parameters, use the & operator.

Example: GET /api/v2/activity-stream/?name__in=AddedTaskActivity,RemovedTaskActivity&standard=T5

GET /api/v2/activity-stream/ HTTP/1.1
Accept: application/json
Authorization: Token "YOUR SDE ACCESS TOKEN"
HTTP/1.1 200 OK
Content-Type: application/json

{
    "results": [{
            "id": 11,
            "name": "CreatedUserActivity",
            "actor": 1,
            "text": "*Admin Testerton* created user *Cindy Lou*",
            "date": "2025-06-18T16:16:31.477434-04:00",
            "data": {
                "user": "U5",
                "user_desc": "Cindy Lou"
            },
            "icon": "personAdd",
            "log_level": "create"
        },
        {
            "id": 10,
            "name": "DeactivatedStandardActivity",
            "actor": 1,
            "text": "*Admin Testerton* deactivated countermeasure [T1: Use multi-factor authentication for remote access to high...](/activity-redirect/77/1/ \"T1: Use multi-factor authentication for remote access to high risk systems or administrative access to services\")",
            "date": "2025-06-18T15:04:55.801211-04:00",
            "data": {
                "standard": "T1",
                "standard_desc": "T1: Use multi-factor authentication for remote access to high risk systems or administrative access to services"
            },
            "icon": "toggleStandard",
            "log_level": "delete"
        },
        {
            "id": 9,
            "name": "CreatedWeaknessActivity",
            "actor": 1,
            "text": "*Admin Testerton* created weakness [CP1: CustomWeakness](/activity-redirect/76/-1/ \"CP1: CustomWeakness\")",
            "date": "2025-06-18T14:54:52.339400-04:00",
            "data": {
                "weakness": "CP1",
                "weakness_desc": "CP1: CustomWeakness"
            },
            "icon": "createTask",
            "log_level": "create"
        }]
}

Get a Specific Activity

This endpoint retrieves a specific Activity Resource as specified by the activity_id.

GET /api/v2/activity-stream/{activity_id}/

URL Parameters

Parameter Description
activity_id The id of the Activity Resource to retrieve.
GET /api/v2/activity-stream/2/ HTTP/1.1
Accept: application/json
Authorization: Token "YOUR SDE ACCESS TOKEN"
HTTP/1.1 200 OK
Content-Type: application/json

{
        "id": 2,
        "date": "2025-03-30T15:16:05.659610+00:00",
        "actor": 1,
        "name": "UserCreatedActivity",
        "text": "Admin Testerton created user Cindy Lu",
        "data": {"user": "U7"},
        "icon": "user",
        "log_level": ""

}

results matching ""

    No results matching ""