|
| 1 | +# AuditLogEntryListingRep |
| 2 | + |
| 3 | +## Example Usage |
| 4 | + |
| 5 | +```typescript |
| 6 | +import { AuditLogEntryListingRep } from "@launchdarkly/mcp-server/models/components"; |
| 7 | + |
| 8 | +let value: AuditLogEntryListingRep = { |
| 9 | + links: { |
| 10 | + "key": {}, |
| 11 | + }, |
| 12 | + id: "1234a56b7c89d012345e678f", |
| 13 | + accountId: "1234a56b7c89d012345e678f", |
| 14 | + date: 175774, |
| 15 | + accesses: [ |
| 16 | + {}, |
| 17 | + ], |
| 18 | + kind: "<value>", |
| 19 | + name: "Example feature flag", |
| 20 | + description: "Example, turning on the flag for testing", |
| 21 | + shortDescription: "Example, turning on the flag", |
| 22 | + comment: "This is an automated test", |
| 23 | + member: { |
| 24 | + id: "507f1f77bcf86cd799439011", |
| 25 | + email: "ariel@acme.com", |
| 26 | + firstName: "Ariel", |
| 27 | + lastName: "Flores", |
| 28 | + }, |
| 29 | + token: { |
| 30 | + name: "DevOps token", |
| 31 | + ending: "2345", |
| 32 | + serviceToken: false, |
| 33 | + }, |
| 34 | + titleVerb: "turned on the flag", |
| 35 | + target: { |
| 36 | + name: "Example flag name", |
| 37 | + resources: [ |
| 38 | + "proj/example-project:env/production:flag/example-flag", |
| 39 | + ], |
| 40 | + }, |
| 41 | +}; |
| 42 | +``` |
| 43 | + |
| 44 | +## Fields |
| 45 | + |
| 46 | +| Field | Type | Required | Description | Example | |
| 47 | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | |
| 48 | +| `links` | Record<string, [components.Link](../../models/components/link.md)> | :heavy_check_mark: | The location and content type of related resources | | |
| 49 | +| `id` | *string* | :heavy_check_mark: | The ID of the audit log entry | 1234a56b7c89d012345e678f | |
| 50 | +| `accountId` | *string* | :heavy_check_mark: | The ID of the account to which this audit log entry belongs | 1234a56b7c89d012345e678f | |
| 51 | +| `date` | *number* | :heavy_check_mark: | N/A | | |
| 52 | +| `accesses` | [components.ResourceAccess](../../models/components/resourceaccess.md)[] | :heavy_check_mark: | Details on the actions performed and resources acted on in this audit log entry | | |
| 53 | +| `kind` | *string* | :heavy_check_mark: | N/A | | |
| 54 | +| `name` | *string* | :heavy_check_mark: | The name of the resource this audit log entry refers to | Example feature flag | |
| 55 | +| `description` | *string* | :heavy_check_mark: | Description of the change recorded in the audit log entry | Example, turning on the flag for testing | |
| 56 | +| `shortDescription` | *string* | :heavy_check_mark: | Shorter version of the change recorded in the audit log entry | Example, turning on the flag | |
| 57 | +| `comment` | *string* | :heavy_minus_sign: | Optional comment for the audit log entry | This is an automated test | |
| 58 | +| `subject` | [components.SubjectDataRep](../../models/components/subjectdatarep.md) | :heavy_minus_sign: | N/A | | |
| 59 | +| `member` | [components.MemberDataRep](../../models/components/memberdatarep.md) | :heavy_minus_sign: | N/A | | |
| 60 | +| `token` | [components.TokenSummary](../../models/components/tokensummary.md) | :heavy_minus_sign: | N/A | | |
| 61 | +| `app` | [components.AuthorizedAppDataRep](../../models/components/authorizedappdatarep.md) | :heavy_minus_sign: | N/A | | |
| 62 | +| `titleVerb` | *string* | :heavy_minus_sign: | The action and resource recorded in this audit log entry | turned on the flag | |
| 63 | +| `title` | *string* | :heavy_minus_sign: | A description of what occurred, in the format <code>member</code> <code>titleVerb</code> <code>target</code> | | |
| 64 | +| `target` | [components.TargetResourceRep](../../models/components/targetresourcerep.md) | :heavy_minus_sign: | N/A | | |
| 65 | +| `parent` | [components.ParentResourceRep](../../models/components/parentresourcerep.md) | :heavy_minus_sign: | N/A | | |
0 commit comments