Project Component Countermeasure Updates

Retrieve the project component Countermeasure updates

Will return a list of Countermeasure status updates due to change in the Countermeasure lists of the existing components in a project.

GET /api/v2/projects/{project_id}/component-task-updates/

URL Parameters

Parameter Description
project_id The ID of the project for the Countermeasures.
GET /api/v2/projects/1/component-task-updates/ HTTP/1.1
Accept: application/json
Authorization: Token "YOUR SDE ACCESS TOKEN"
HTTP/1.1 200 OK
Content-Type: application/json

{
    "results": [
        {
            "id": "1-T5",
            "title": "Use minimum standards for passwords",
            "status": "DONE",
            "components": [
                { 
                    "id": "CSC7",
                    "title": "My Component"
                },
                {
                    "id": "CSC8",
                    "title": "My Component2"
                }
            ]
        },
        {
            "id": "1-T6",
            "title": "Implement account lockout or authentication throttling",
            "status": "TODO",
            "components": [
                { 
                    "id": "CSC7",
                    "title": "My Component"
                }
            ]
        },
        {
            "id": "1-T8",
            "title": "Use Consistent Error Handling for All Authentication Failures",
            "status": "REMOVED",
            "components": [
                { 
                    "id": "CSC7",
                    "title": "My Component"
                }
            ]
        }
    ]
}

Accept project component Countermeasure changes for a project

Will accept all changes to the Countermeasures due to updates to a project's existing components.

POST /api/v2/projects/{project_id}/component-task-updates/

URL Parameters

Parameter Description
project_id The ID of the project for the Countermeasures.
POST /api/v2/projects/1/component-task-updates/ HTTP/1.1
Accept: application/json
Authorization: Token "YOUR SDE ACCESS TOKEN"
HTTP/1.1 200 OK

results matching ""

    No results matching ""