Skip to content

Commit 09c2e98

Browse files
committed
remove am audit logs command; moving to other systems
1 parent 631ec23 commit 09c2e98

10 files changed

Lines changed: 5 additions & 738 deletions

File tree

docs/cli/account-manager.md

Lines changed: 0 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -733,70 +733,6 @@ When not using `--json`, displays formatted organization information including:
733733

734734
---
735735

736-
### b2c am orgs audit
737-
738-
Get audit logs for an Account Manager organization.
739-
740-
#### Usage
741-
742-
```bash
743-
b2c am orgs audit <ORG> [FLAGS]
744-
```
745-
746-
#### Arguments
747-
748-
| Argument | Description | Required |
749-
|----------|-------------|----------|
750-
| `ORG` | Organization ID or name | Yes |
751-
752-
#### Flags
753-
754-
| Flag | Description |
755-
|------|-------------|
756-
| `--columns` | Comma-separated list of columns to display |
757-
| `--extended`, `-x` | Show all available columns |
758-
| `--json` | Output results as JSON |
759-
760-
#### Default Columns
761-
762-
- Timestamp
763-
- Author
764-
- Email
765-
- Event Type
766-
- Message
767-
768-
#### Examples
769-
770-
```bash
771-
# Get audit logs for an organization by ID
772-
b2c am orgs audit org-123
773-
774-
# Get audit logs for an organization by name
775-
b2c am orgs audit "My Organization"
776-
777-
# Show all columns
778-
b2c am orgs audit org-123 --extended
779-
780-
# Show only specific columns
781-
b2c am orgs audit org-123 --columns timestamp,eventType,eventMessage
782-
783-
# Output as JSON
784-
b2c am orgs audit org-123 --json
785-
```
786-
787-
#### Output
788-
789-
Displays a table of audit log records with the selected columns. Timestamps are formatted as `MM/DD/YYYY HH:MM:SS` for readability.
790-
791-
#### Notes
792-
793-
- Organization can be identified by ID or name
794-
- If organization is not found, an error is returned
795-
- If no audit records are found, a message is displayed
796-
- Timestamps are displayed in a human-readable format with zero-padding for consistent spacing
797-
798-
---
799-
800736
## API Client Management
801737

802738
Commands for managing Account Manager API clients (service accounts for programmatic access). API clients can be assigned roles and organizations, support client credentials or JWT authentication, and are created inactive by default. They must be disabled for at least 7 days before they can be deleted.

docs/guide/account-manager.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,17 +146,14 @@ b2c am users delete developer@example.com --purge
146146

147147
### Auditing
148148

149-
Review users, roles, and organization activity:
149+
Review users, roles, and organization details:
150150

151151
```bash
152152
# List all users
153153
b2c am users list --extended
154154

155155
# Get user details with expanded roles and organizations
156156
b2c am users get developer@example.com --expand-all
157-
158-
# View organization audit logs
159-
b2c am orgs audit $ORG_ID
160157
```
161158

162159
### API Client Provisioning

packages/b2c-cli/src/commands/am/orgs/audit.ts

Lines changed: 0 additions & 127 deletions
This file was deleted.

0 commit comments

Comments
 (0)