Skip to content

[Schema Inaccuracy] Audit Log fields have wrong definitions #5566

@bigfootjon

Description

@bigfootjon

Schema Inaccuracy

The fields config, config_was, events, and events_were are wrong in the schema definitions.

Expected

Each of these fields are defined incorrectly:

  1. config and config_was are Array<{...}> but should be {...}
  2. events and events_were are Array<{...}> but should be Array<string>

Reproduction Steps

Requires querying the audit log for an org which has one of these busted events: /orgs/{org}/audit-log

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions