Skip to content

Incorrect response schema for SharePoint list operations #333

@akkomats

Description

@akkomats

Currently, the audit log does not include the "ListName/ListUrl/IsHiddenList/IsDocLib" schema.
If it is correct behavior, these schema should be removed from the document.

Instead of:

Parameter Type Mandatory? Description
ListTitle Edm.String No The title of the SharePoint list.
ListName Edm.String No The name of the SharePoint list.
ListUrl Edm.String No The URL of the list relative to the containing website.
ListBaseType Edm.String No Specifies the base type for a list.
ListBaseTemplateType Edm.String No The list definition type on which the list is based.
IsHiddenList Edm.Boolean No This value is set to True if the SharePoint list is hidden.
IsDocLib Edm.Boolean No This value is set to True if the SharePoint list is of the type Document Library.

It should be...

Parameter Type Mandatory? Description
ListTitle Edm.String No The title of the SharePoint list.
ListBaseType Edm.String No Specifies the base type for a list.
ListBaseTemplateType Edm.String No The list definition type on which the list is based.

The audit log of the list operation is below.

"AppAccessContext": {
"AADSessionId": "144a2dd6-0bfa-4dd7-b628-09584xxxx",
"CorrelationId": "74ee7ba0-7005-2000-cd9c-31f5aeb576e0",
"UniqueTokenId": "0q1nEFqVJEqeeyAdxxxx"
},
"CreationTime": "2022-11-25T03:00:13",
"Id": "79666399-e45f-4c4e-d901-08dace912c8f",
"Operation": "ListCreated",
"OrganizationId": "6a588f65-bc20-4c65-a9d8-f40d363xxxx",
"RecordType": 36,
"UserKey": "i:0h.f|membership|[email protected]",
"UserType": 0,
"Version": 1,
"Workload": "SharePoint",
"ClientIP": "126.103.155.76",
"ObjectId": "https://xxx.sharepoint.com/sites/xxx/Lists/060feead-ce74-4629-b6ca-8d562bc42f5f",
"UserId": "[email protected]",
"CorrelationId": "74ee7ba0-7005-2000-cd9c-31f5aeb576e0",
"EventSource": "SharePoint",
"ItemType": "List",
"ListId": "060feead-ce74-4629-b6ca-8d562bc42f5f",
"Site": "3a846117-48ae-4f25-ae7d-5370190d0447",
"UserAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36",
"WebId": "43e210ff-68ca-487c-91b1-037f4965ad7a",
"CustomizedDoclib": false,
"FromApp": false,
"ItemCount": 0,
"ListBaseTemplateType": "100",
"ListBaseType": "GenericList",
"ListColor": "",
"ListIcon": "",
"Source": "Site",
"TemplateTypeId": "00000000-0000-0009-0000-111111111111",
"ListTitle": "060feead-ce74-4629-b6ca-8d562bc42f5f"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions