Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect response schema for SharePoint list operations #333

Open
akkomats opened this issue Nov 25, 2022 · 0 comments
Open

Incorrect response schema for SharePoint list operations #333

akkomats opened this issue Nov 25, 2022 · 0 comments

Comments

@akkomats
Copy link

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant