Skip to content

Latest commit

 

History

History
76 lines (64 loc) · 3.94 KB

File metadata and controls

76 lines (64 loc) · 3.94 KB

Example Output

Console Output (Rich Formatted)

╭─────────────────────────────────────────────────────────╮
│ Pulumi Validation Report                                │
│ Organization: myorg                                     │
│ Project: myproject                                      │
│ Timestamp: 2026-02-04T15:55:00.000000                  │
╰─────────────────────────────────────────────────────────╯

┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Criterion                    ┃ Grade    ┃ Details                                                    ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ API Token                    │ ✓ PASS   │ Project owner has configured a valid token (successful     │
│                              │          │ deployments found)                                         │
│ Project Segmentation         │ ✓ PASS   │ Found 3 stacks: dev, staging, prod                         │
│ Deployability                │ ⚠ WARN   │ 2/3 stacks deployable. Failed: staging                     │
│ Pulumi Local Configuration   │ ✓ PASS   │ All 3 stacks have configuration                            │
│ Pulumi ESC Configuration     │ ⚠ WARN   │ 2/3 stacks use ESC. Missing: dev                           │
│ Pulumi Drift Detection       │ ✓ PASS   │ All 3 stacks have refresh operations with no drift         │
│ Pulumi Policy (inline)       │ ✗ FAIL   │ No policy packs configured for organization                │
└──────────────────────────────┴──────────┴────────────────────────────────────────────────────────────┘

Overall Score: 64.3%

JSON Output

{
  "org": "myorg",
  "project": "myproject",
  "timestamp": "2026-02-04T15:55:00.000000",
  "overall_score": 64.3,
  "results": [
    {
      "criterion": "API Token",
      "grade": "PASS",
      "details": "Project owner has configured a valid token (successful deployments found)",
      "metadata": {"has_token": true}
    },
    {
      "criterion": "Project Segmentation (Stacks)",
      "grade": "PASS",
      "details": "Found 3 stacks: dev, staging, prod",
      "metadata": {"stack_count": 3, "stacks": ["dev", "staging", "prod"]}
    }
  ]
}

Markdown Output

# Pulumi Validation Report

**Organization:** myorg
**Project:** myproject
**Timestamp:** 2026-02-04T15:55:00.000000

## Results

| Criterion | Grade | Details |
|-----------|-------|---------|
| API Token | ✅ PASS | Token valid for user: johndoe |
| Project Segmentation (Stacks) | ✅ PASS | Found 3 stacks: dev, staging, prod |
| Deployability | ⚠️ WARN | 2/3 stacks deployable. Failed: staging |
| Pulumi Local Configuration | ✅ PASS | All 3 stacks have configuration |
| Pulumi ESC Configuration | ⚠️ WARN | 2/3 stacks use ESC. Missing: dev |
| Pulumi Drift Detection | ✅ PASS | All 3 stacks have refresh operations with no drift |
| Pulumi Policy (inline) | ❌ FAIL | No policy packs configured for organization |

## Overall Score: 64.3%