train-k8s-container-mitre 2.1.1 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6255dfedd08c1ccc04f6c69fdd56f530f927ece9876c248813ceabe38ab93134
4
- data.tar.gz: 4976598e8fec6ae7274a468be4aedda447251dc66c59acf10c0af924b47b1be2
3
+ metadata.gz: 8ef90f67ca076b6179acb73cdf55cbccc46c574353fa6840a9383bf619a12b03
4
+ data.tar.gz: 45a05c0359f9b79f1c80dca78db72bb902b15ba4cf36fa50cdd644d2ac4ca394
5
5
  SHA512:
6
- metadata.gz: '0959c3bbc96a96c717f0f4129ef6612ac874e599920bfd399179423e7884745accee2d9415473fa0e0dc7d50061aae01db81343be7dd4883e55465019716d9bc'
7
- data.tar.gz: 3085e763b733098b172a3c73e9eb06698dd54f1632d65a0fe6b2545c7ea4dd5056a5ad49bc38cf37e469d19beb3a88dd7629b7243a8d9d848fc57a0e106153d8
6
+ metadata.gz: 5ffda135781a1949734ff7e604b8561569687a5787d48508c429df4bb247b99f9de69336aa44b5da243fe63b0838f1cee0a3bebffdb2beb3aeee88f8a6bdbd74
7
+ data.tar.gz: 237d9179ecdd74b3826de69299b07dfdcf6d001c5684f229344613def553832b1453e51ce418f73997c724ac9bf01ec2b8183476a311049340139db62fe9fa5c
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "2.1.1"
2
+ ".": "2.2.0"
3
3
  }
data/BEADS-BOARD.md ADDED
@@ -0,0 +1,104 @@
1
+ # train-k8s-container - Project Board
2
+
3
+ **Last Updated:** 2025-12-21
4
+ **Current Version:** 2.0.1
5
+ **RubyGems:** `train-k8s-container-mitre`
6
+ **Branch:** main
7
+
8
+ ---
9
+
10
+ ## Current Status: ✅ Released
11
+
12
+ v2.0.1 published to RubyGems and working correctly.
13
+
14
+ ---
15
+
16
+ ## Quick Start
17
+
18
+ ```bash
19
+ # Resume Claude session
20
+ claude --continue
21
+
22
+ # Install plugin
23
+ cinc-auditor plugin install train-k8s-container-mitre
24
+
25
+ # Test with running pod
26
+ cinc-auditor detect -t k8s-container://default/test-nginx/test-nginx
27
+ ```
28
+
29
+ ---
30
+
31
+ ## Active Tasks
32
+
33
+ | Task | Status | Notes |
34
+ |------|--------|-------|
35
+ | Submit PR: Auto-discover train plugins | ⏳ Pending | Plan at `../inspec/PR-AUTO-DISCOVER-TRAIN-PLUGINS.md` |
36
+ | Submit PR: Dynamic os.kubernetes? | ⏳ Pending | Plan at `../inspec/PR-DYNAMIC-OS-FAMILY-METHODS.md` |
37
+
38
+ ---
39
+
40
+ ## Test Environment
41
+
42
+ ```bash
43
+ # Available test pods (may need recreation if completed)
44
+ kubectl run test-nginx --image=nginx:alpine --restart=Never
45
+ kubectl run test-ubuntu --image=ubuntu:24.04 --restart=Never -- sleep infinity
46
+ kubectl run test-ubi9 --image=registry.access.redhat.com/ubi9/ubi:latest --restart=Never -- sleep infinity
47
+
48
+ # Check pod status
49
+ kubectl get pods
50
+ ```
51
+
52
+ ---
53
+
54
+ ## Key Files
55
+
56
+ | File | Purpose |
57
+ |------|---------|
58
+ | `lib/train-k8s-container/transport.rb` | Train.plugin(1) registration |
59
+ | `lib/train-k8s-container/connection.rb` | kubectl exec connection |
60
+ | `lib/train-k8s-container/platform.rb` | OS detection + k8s families |
61
+ | `lib/train-k8s-container-mitre.rb` | Shim for gem name |
62
+ | `.github/workflows/release-please.yml` | Automated version PRs |
63
+ | `.github/workflows/release-tag.yml` | Publish on tag |
64
+
65
+ ---
66
+
67
+ ## Release Process
68
+
69
+ 1. Commits with conventional prefixes land on `main`
70
+ 2. release-please creates a Release PR
71
+ 3. Merge PR → tag created automatically
72
+ 4. Tag triggers `release-tag.yml` → publishes to RubyGems
73
+
74
+ **Do NOT manually tag** - let release-please handle it.
75
+
76
+ ---
77
+
78
+ ## Session History
79
+
80
+ | Date | Session | Summary |
81
+ |------|---------|---------|
82
+ | 2025-12-21 | SESSION-2025-12-21-008.md | Plugin API clarified, tested on 3 OS types |
83
+ | 2025-12-12 | SESSION-2025-12-12-009.md | Diagrams research |
84
+ | 2025-12-05 | SESSION-2025-12-05-007.md | v2.0.1 released to RubyGems |
85
+ | 2025-12-04 | SESSION-2025-12-04-006.md | CI fixed, release automation |
86
+
87
+ ---
88
+
89
+ ## Known Issues
90
+
91
+ 1. **gem install doesn't show in plugin list** - InSpec bug, PR plan ready
92
+ 2. **Test pods expire** - Recreate with `--restart=Never` + `sleep infinity`
93
+
94
+ ---
95
+
96
+ ## Recovery Prompt
97
+
98
+ ```
99
+ Continue train-k8s-container from BEADS-BOARD.md
100
+
101
+ Status: v2.0.1 released and working
102
+ Pending: Submit 2 PRs to inspec/inspec upstream
103
+ Test pods: test-nginx, test-ubuntu, test-ubi9 (may need recreation)
104
+ ```
data/CHANGELOG.md CHANGED
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [2.2.0](https://github.com/mitre/train-k8s-container/compare/v2.1.1...v2.2.0) (2025-12-24)
9
+
10
+
11
+ ### Features
12
+
13
+ * Add BEADS-BOARD.md and v1/v2 comparison test data ([35bbf46](https://github.com/mitre/train-k8s-container/commit/35bbf46fc25d84ef88e9953a628cf3a4aa8d2da0))
14
+
8
15
  ## [2.1.1](https://github.com/mitre/train-k8s-container/compare/v2.1.0...v2.1.1) (2025-12-12)
9
16
 
10
17