-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
1556 lines (1412 loc) · 58.5 KB
/
index.html
File metadata and controls
1556 lines (1412 loc) · 58.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ITL Policy Builder — Multi-Platform Governance SDK</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet" />
<script src="https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism-tomorrow.min.css" rel="stylesheet" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-core.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/plugins/autoloader/prism-autoloader.min.js"></script>
<style>
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
--bg: #0d1117;
--bg-surface: #161b22;
--bg-card: #1c2128;
--bg-code: #161b22;
--border: #30363d;
--accent: #2f81f7;
--accent-dim: #1a4a8a;
--accent-alt: #3fb950;
--text-hi: #e6edf3;
--text-md: #8b949e;
--text-lo: #484f58;
--tag-blue: #1a4a8a;
--tag-green: #0f3d1e;
--tag-purple: #2d1b5e;
--tag-orange: #5c2e00;
--radius: 8px;
--radius-lg: 12px;
}
html { scroll-behavior: smooth; }
body {
font-family: 'Inter', system-ui, sans-serif;
background: var(--bg);
color: var(--text-hi);
line-height: 1.65;
font-size: 15px;
}
/* ── Nav ── */
nav {
position: sticky;
top: 0;
z-index: 100;
background: rgba(13,17,23,0.92);
backdrop-filter: blur(12px);
border-bottom: 1px solid var(--border);
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 2rem;
height: 56px;
}
.nav-brand {
font-size: 0.9rem;
font-weight: 600;
letter-spacing: 0.02em;
color: var(--text-hi);
text-decoration: none;
}
.nav-brand span { color: var(--accent); }
.nav-links { display: flex; gap: 1.5rem; }
.nav-links a {
font-size: 0.85rem;
color: var(--text-md);
text-decoration: none;
transition: color 0.15s;
}
.nav-links a:hover { color: var(--text-hi); }
.nav-badge {
background: var(--accent-dim);
color: var(--accent);
font-size: 0.75rem;
font-weight: 600;
padding: 2px 10px;
border-radius: 99px;
border: 1px solid var(--accent);
}
/* ── Layout ── */
.container {
max-width: 1100px;
margin: 0 auto;
padding: 0 2rem;
}
section { padding: 5rem 0; }
section + section { border-top: 1px solid var(--border); }
h1 { font-size: 3rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
h2 { font-size: 1.75rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.75rem; }
h4 { font-size: 0.95rem; font-weight: 600; color: var(--text-md); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem; }
p { color: var(--text-md); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
/* ── Hero ── */
#hero {
padding: 8rem 0 6rem;
text-align: center;
}
.hero-label {
display: inline-block;
font-size: 0.75rem;
font-weight: 600;
letter-spacing: 0.12em;
text-transform: uppercase;
color: var(--accent);
border: 1px solid var(--accent-dim);
padding: 4px 14px;
border-radius: 99px;
margin-bottom: 1.75rem;
}
#hero h1 { margin-bottom: 1.25rem; }
#hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub {
font-size: 1.1rem;
color: var(--text-md);
max-width: 640px;
margin: 0 auto 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn {
display: inline-block;
padding: 0.6rem 1.4rem;
border-radius: var(--radius);
font-size: 0.9rem;
font-weight: 500;
cursor: pointer;
transition: opacity 0.15s, transform 0.1s;
text-decoration: none;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-secondary { background: transparent; color: var(--text-hi); border: 1px solid var(--border); }
.hero-code {
margin: 3rem auto 0;
max-width: 540px;
text-align: left;
}
/* ── Install pill ── */
.install-bar {
display: inline-flex;
align-items: center;
gap: 0.75rem;
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 0.5rem 1.1rem;
font-family: 'JetBrains Mono', monospace;
font-size: 0.85rem;
color: var(--text-hi);
}
.install-bar .prompt { color: var(--accent-alt); }
/* ── Feature grid ── */
.feature-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 1rem;
}
.feature-card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
padding: 1.5rem;
transition: border-color 0.2s;
}
.feature-card:hover { border-color: var(--accent); }
.feature-icon {
width: 36px;
height: 36px;
border-radius: var(--radius);
background: var(--accent-dim);
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 0.9rem;
}
.feature-icon svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { font-size: 0.95rem; margin-bottom: 0.4rem; }
.feature-card p { font-size: 0.85rem; }
/* ── Platform table ── */
.platform-cards {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 1rem;
}
.platform-card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
padding: 1.75rem;
}
.platform-card .badge {
font-size: 0.72rem;
font-weight: 600;
letter-spacing: 0.06em;
text-transform: uppercase;
padding: 2px 10px;
border-radius: 99px;
margin-bottom: 1rem;
display: inline-block;
}
.badge-azure { background: var(--tag-blue); color: #79c0ff; border: 1px solid #1a4a8a; }
.badge-k8s { background: var(--tag-green); color: #56d364; border: 1px solid #0f3d1e; }
.badge-itl { background: var(--tag-purple); color: #d2a8ff; border: 1px solid #2d1b5e; }
.platform-card h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.platform-card p { font-size: 0.85rem; }
.platform-meta { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.35rem; }
.platform-meta span { font-size: 0.8rem; color: var(--text-md); }
.platform-meta span strong { color: var(--text-hi); font-weight: 500; }
/* ── Tables ── */
.table-wrap { overflow-x: auto; }
table {
width: 100%;
border-collapse: collapse;
font-size: 0.88rem;
}
th {
text-align: left;
padding: 0.65rem 1rem;
background: var(--bg-surface);
border-bottom: 1px solid var(--border);
color: var(--text-md);
font-weight: 500;
white-space: nowrap;
}
td {
padding: 0.65rem 1rem;
border-bottom: 1px solid var(--border);
color: var(--text-hi);
vertical-align: top;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--bg-surface); }
code {
font-family: 'JetBrains Mono', monospace;
font-size: 0.82em;
background: var(--bg-code);
border: 1px solid var(--border);
padding: 1px 6px;
border-radius: 4px;
color: #e6edf3;
}
/* ── Code blocks ── */
pre[class*="language-"] {
background: var(--bg-surface) !important;
border: 1px solid var(--border);
border-radius: var(--radius-lg);
font-size: 0.82rem !important;
padding: 1.25rem 1.5rem !important;
overflow-x: auto;
margin: 1rem 0;
}
.code-label {
font-size: 0.7rem;
font-weight: 600;
letter-spacing: 0.1em;
text-transform: uppercase;
color: var(--text-lo);
margin-bottom: 0.4rem;
}
/* ── Tabs ── */
.tabs { display: flex; gap: 0.25rem; border-bottom: 1px solid var(--border); margin-bottom: 1rem; }
.tab {
padding: 0.5rem 1rem;
font-size: 0.85rem;
cursor: pointer;
color: var(--text-md);
border-bottom: 2px solid transparent;
transition: color 0.15s, border-color 0.15s;
user-select: none;
}
.tab.active { color: var(--text-hi); border-bottom-color: var(--accent); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
/* ── Mermaid ── */
.mermaid-wrap {
background: var(--bg-surface);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
padding: 2rem;
overflow-x: auto;
margin: 1.5rem 0;
}
.mermaid { display: flex; justify-content: center; }
/* ── Principle list ── */
.principle-list { display: flex; flex-direction: column; gap: 0.85rem; }
.principle {
display: flex;
gap: 1rem;
align-items: flex-start;
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 1rem 1.25rem;
}
.principle-num {
min-width: 28px;
height: 28px;
border-radius: 50%;
background: var(--accent-dim);
color: var(--accent);
font-size: 0.8rem;
font-weight: 700;
display: flex;
align-items: center;
justify-content: center;
}
.principle p { font-size: 0.88rem; margin: 0; }
.principle p strong { color: var(--text-hi); }
/* ── CLI commands ── */
.cli-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
gap: 0.75rem;
}
.cli-item {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 0.9rem 1.1rem;
}
.cli-item code { background: transparent; border: none; color: var(--accent); font-size: 0.9rem; font-weight: 500; padding: 0; }
.cli-item p { font-size: 0.82rem; margin-top: 0.25rem; }
/* ── Section split ── */
.section-split {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 3rem;
align-items: start;
}
@media (max-width: 720px) {
.section-split { grid-template-columns: 1fr; }
h1 { font-size: 2.25rem; }
.nav-links { display: none; }
}
/* ── Compliance panels ── */
.compliance-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 1rem;
}
.compliance-panel {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
padding: 1.5rem;
}
.compliance-panel ul { list-style: none; margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.35rem; }
.compliance-panel ul li {
font-size: 0.82rem;
color: var(--text-md);
padding-left: 1rem;
position: relative;
}
.compliance-panel ul li::before {
content: '–';
position: absolute;
left: 0;
color: var(--text-lo);
}
.compliance-panel ul li code { background: transparent; border: none; color: var(--accent-alt); padding: 0; font-size: 0.8em; }
/* ── Footer ── */
footer {
border-top: 1px solid var(--border);
padding: 2.5rem 0;
text-align: center;
font-size: 0.82rem;
color: var(--text-md);
}
footer a { color: var(--text-md); }
footer a:hover { color: var(--text-hi); }
/* ── Misc ── */
.section-header { margin-bottom: 2.5rem; }
.section-header p { margin-top: 0.5rem; font-size: 0.95rem; max-width: 680px; }
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }
.pill {
display: inline-block;
font-size: 0.72rem;
font-weight: 600;
letter-spacing: 0.06em;
text-transform: uppercase;
padding: 2px 10px;
border-radius: 99px;
}
.pill-blue { background: var(--tag-blue); color: #79c0ff; }
.pill-green { background: var(--tag-green); color: #56d364; }
.pill-purple { background: var(--tag-purple); color: #d2a8ff; }
.pill-orange { background: var(--tag-orange); color: #ffa657; }
/* ── Stats bar ── */
.stats-bar {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 0;
margin: 3rem auto 0;
max-width: 680px;
border: 1px solid var(--border);
border-radius: var(--radius-lg);
background: var(--bg-card);
overflow: hidden;
}
.stat {
flex: 1;
min-width: 110px;
padding: 1rem 0.75rem;
text-align: center;
border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-num {
display: block;
font-size: 1.65rem;
font-weight: 700;
color: var(--accent);
letter-spacing: -0.03em;
line-height: 1;
}
.stat-label {
display: block;
font-size: 0.72rem;
color: var(--text-md);
margin-top: 0.3rem;
text-transform: uppercase;
letter-spacing: 0.06em;
}
/* ── CIS section ── */
.cis-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
gap: 0.75rem;
}
.cis-card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 1rem 1.25rem;
display: flex;
flex-direction: column;
gap: 0.4rem;
}
.cis-card:hover { border-color: var(--accent-dim); }
.cis-section-label {
font-size: 0.7rem;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--text-lo);
}
.cis-card h3 { font-size: 0.88rem; font-weight: 600; margin: 0; }
.cis-policies-count {
font-size: 0.78rem;
color: var(--accent);
font-weight: 500;
}
.cis-policy-list {
list-style: none;
margin-top: 0.25rem;
display: flex;
flex-direction: column;
gap: 0.2rem;
}
.cis-policy-list li {
font-size: 0.78rem;
color: var(--text-md);
padding-left: 0.75rem;
position: relative;
}
.cis-policy-list li::before { content: '›'; position: absolute; left: 0; color: var(--text-lo); }
.cis-policy-list li code { background: transparent; border: none; color: var(--text-md); padding: 0; font-size: 0.78rem; }
</style>
</head>
<body>
<!-- ─── Navigation ─────────────────────────────────── -->
<nav>
<a class="nav-brand" href="#hero">ITL <span>Policy Builder</span></a>
<div class="nav-links">
<a href="#platforms">Platforms</a>
<a href="#quickstart">Quick Start</a>
<a href="#compliance">Compliance</a>
<a href="#cis">CIS Azure</a>
<a href="#kyverno-arch">Kyverno</a>
<a href="#cli">CLI</a>
<a href="#azure">Azure</a>
<a href="#architecture">Architecture</a>
</div>
<span class="nav-badge">Apache 2.0</span>
</nav>
<!-- ─── Hero ───────────────────────────────────────── -->
<section id="hero">
<div class="container">
<div class="hero-label">Multi-Platform Governance SDK</div>
<h1>Define once.<br /><em>Deploy everywhere.</em></h1>
<p class="hero-sub">
A fluent Python DSL for defining governance policies that compile to native formats
for Azure Policy, Kubernetes Kyverno, and the ITL Control Plane — from a single source of truth.
</p>
<div class="hero-actions">
<a href="#quickstart" class="btn btn-primary">Get Started</a>
<a href="#platforms" class="btn btn-secondary">View Platforms</a>
</div>
<div class="hero-code">
<div class="install-bar">
<span class="prompt">$</span>
pip install itl-policy-builder<span style="color:var(--text-md)">[cli,azure]</span>
</div>
</div>
<div class="stats-bar">
<div class="stat"><span class="stat-num">3</span><span class="stat-label">Platforms</span></div>
<div class="stat"><span class="stat-num">60</span><span class="stat-label">CIS Policies</span></div>
<div class="stat"><span class="stat-num">17</span><span class="stat-label">BIO Policies</span></div>
<div class="stat"><span class="stat-num">16</span><span class="stat-label">PQC Policies</span></div>
<div class="stat"><span class="stat-num">9</span><span class="stat-label">CLI Commands</span></div>
</div>
</div>
</section>
<!-- ─── Features ──────────────────────────────────── -->
<section id="features">
<div class="container">
<div class="section-header">
<h2>What it provides</h2>
<p>Every capability you need to build, validate, and enforce governance across cloud and container platforms.</p>
</div>
<div class="feature-grid">
<div class="feature-card">
<div class="feature-icon">
<svg viewBox="0 0 24 24"><polyline points="16 18 22 12 16 6"/><polyline points="8 6 2 12 8 18"/></svg>
</div>
<h3>Fluent Builder Pattern</h3>
<p>Intuitive chained API for constructing policies, assignments, and initiatives without boilerplate.</p>
</div>
<div class="feature-card">
<div class="feature-icon">
<svg viewBox="0 0 24 24"><rect x="3" y="3" width="18" height="18" rx="2"/><path d="M3 9h18M9 21V9"/></svg>
</div>
<h3>ARM-Compatible Output</h3>
<p>Serialise to Azure Resource Manager <code>PolicyDefinition</code> JSON ready for subscription-level deployment.</p>
</div>
<div class="feature-card">
<div class="feature-icon">
<svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="10"/><path d="M12 8v4l3 3"/></svg>
</div>
<h3>Kyverno Support</h3>
<p>Generate <code>ClusterPolicy</code> YAML for Kubernetes-native admission control on Talos and standard K8s clusters.</p>
</div>
<div class="feature-card">
<div class="feature-icon">
<svg viewBox="0 0 24 24"><path d="M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"/></svg>
</div>
<h3>Rich Condition DSL</h3>
<p>Compose conditions with <code>all_of</code>, <code>any_of</code>, <code>not_</code>, <code>count().where()</code>, and operator overloads (<code>&</code>, <code>|</code>, <code>~</code>).</p>
</div>
<div class="feature-card">
<div class="feature-icon">
<svg viewBox="0 0 24 24"><path d="M9 12l2 2 4-4"/><path d="M21 12a9 9 0 11-18 0 9 9 0 0118 0z"/></svg>
</div>
<h3>BIO Compliance</h3>
<p>17 built-in policies aligned to the Dutch government Baseline Informatiebeveiliging Overheid (BIO 2.0).</p>
</div>
<div class="feature-card">
<div class="feature-icon">
<svg viewBox="0 0 24 24"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/></svg>
</div>
<h3>PQC Readiness</h3>
<p>16 policies to plan and enforce Post-Quantum Cryptography migration aligned to NIST standards (ML-KEM, ML-DSA).</p>
</div>
<div class="feature-card">
<div class="feature-icon">
<svg viewBox="0 0 24 24"><circle cx="11" cy="11" r="8"/><path d="M21 21l-4.35-4.35"/></svg>
</div>
<h3>Policy Evaluator</h3>
<p>Evaluate resources against registered policies at runtime — integrates directly with API Gateway middleware.</p>
</div>
<div class="feature-card">
<div class="feature-icon">
<svg viewBox="0 0 24 24"><path d="M4 6h16M4 12h16M4 18h7"/></svg>
</div>
<h3>CLI Tool</h3>
<p>8 commands for listing, generating, validating, deploying, and describing policies without writing Python.</p>
</div>
<div class="feature-card">
<div class="feature-icon">
<svg viewBox="0 0 24 24"><path d="M17 21v-2a4 4 0 00-4-4H5a4 4 0 00-4 4v2"/><circle cx="9" cy="7" r="4"/><path d="M23 21v-2a4 4 0 00-3-3.87M16 3.13a4 4 0 010 7.75"/></svg>
</div>
<h3>Initiative Support</h3>
<p>Group policies into sets (initiatives), assign them with parameters, and manage compliance state across scopes.</p>
</div>
</div>
</div>
</section>
<!-- ─── Platforms ─────────────────────────────────── -->
<section id="platforms">
<div class="container">
<div class="section-header">
<h2>Multi-Platform Architecture</h2>
<p>The same policy definition serialises into the native enforcement format of each target platform.</p>
</div>
<div class="platform-cards">
<div class="platform-card">
<span class="badge badge-azure">Azure Resource Manager</span>
<h3>Azure Policy</h3>
<p>Generates <code>PolicyDefinition</code> JSON deployed to subscriptions or management groups via the Azure Policy engine.</p>
<div class="platform-meta">
<span><strong>Output:</strong> PolicyDefinition JSON</span>
<span><strong>Effects:</strong> Deny · Audit · Modify · DeployIfNotExists</span>
<span><strong>Scope:</strong> Subscription, Management Group</span>
</div>
</div>
<div class="platform-card">
<span class="badge badge-k8s">Kubernetes / Talos</span>
<h3>Kyverno Admission Controller</h3>
<p>Generates <code>ClusterPolicy</code> YAML enforced by Kyverno's mutating and validating admission webhooks.</p>
<div class="platform-meta">
<span><strong>Output:</strong> ClusterPolicy YAML</span>
<span><strong>Rules:</strong> Validate · Mutate · Generate · Audit</span>
<span><strong>Scope:</strong> Namespace, Cluster</span>
</div>
</div>
<div class="platform-card">
<span class="badge badge-itl">ITL Control Plane</span>
<h3>ITL Resource Provider API</h3>
<p>Registers policies via the ITL Control Plane REST API. Supports the <code>Remediate</code> and <code>Alert</code> custom effects.</p>
<div class="platform-meta">
<span><strong>Output:</strong> ITL Policy JSON</span>
<span><strong>Effects:</strong> Deny · Audit · Remediate · Alert</span>
<span><strong>Scope:</strong> Tenant, Resource Group</span>
</div>
</div>
</div>
<div class="mermaid-wrap" style="margin-top:2rem;">
<div class="mermaid">
flowchart LR
subgraph Definition["Policy Definition (Python DSL)"]
Builder["PolicyBuilder\nCondition DSL · Parameters · Initiatives"]
end
subgraph Serialisation["Serialisation Layer"]
ARM["ARM Serialiser\nPolicyDefinition JSON"]
Kyverno["Kyverno Serialiser\nClusterPolicy YAML"]
ITL["ITL Serialiser\nITL Policy JSON"]
end
subgraph Targets["Deployment Targets"]
Azure["Azure Policy\nSubscription / Management Group"]
K8s["Kubernetes Cluster\nKyverno Admission Controller"]
ITLCP["ITL Control Plane\nResource Provider API"]
end
Builder --> ARM --> Azure
Builder --> Kyverno --> K8s
Builder --> ITL --> ITLCP
</div>
</div>
<div class="principle-list" style="margin-top:2rem;">
<div class="principle">
<div class="principle-num">1</div>
<p><strong>Single source of truth</strong> — The policy rule is written once in the DSL. Platform-specific serialisers handle all format differences.</p>
</div>
<div class="principle">
<div class="principle-num">2</div>
<p><strong>Platform parity</strong> — Core concepts (conditions, effects, parameters, initiatives) map to equivalent constructs on each platform.</p>
</div>
<div class="principle">
<div class="principle-num">3</div>
<p><strong>Progressive deployment</strong> — Policies can be deployed in <code>audit</code> mode on all platforms simultaneously before switching to enforcement.</p>
</div>
<div class="principle">
<div class="principle-num">4</div>
<p><strong>Composable initiatives</strong> — Multiple policies can be grouped into an initiative and assigned in a single operation, regardless of target platform.</p>
</div>
</div>
</div>
</section>
<!-- ─── Quick Start ───────────────────────────────── -->
<section id="quickstart">
<div class="container">
<div class="section-header">
<h2>Quick Start</h2>
<p>From installation to your first deployed policy in under five minutes.</p>
</div>
<div class="tabs" id="tabs-qs">
<div class="tab active" data-tab="qs-policy">Define a Policy</div>
<div class="tab" data-tab="qs-conditions">Conditions</div>
<div class="tab" data-tab="qs-params">Parameters</div>
<div class="tab" data-tab="qs-init">Initiatives</div>
<div class="tab" data-tab="qs-eval">Evaluate</div>
</div>
<div class="tab-panel active" id="qs-policy">
<div class="code-label">Python</div>
<pre><code class="language-python">from itl_policy_builder import PolicyBuilder, Effect, field
policy = (
PolicyBuilder("require-westeurope")
.display_name("Require West Europe Location")
.description("Ensures all resources are deployed in West Europe")
.category("General")
.mode("All")
.with_rule(
if_=field("location").not_equals("westeurope"),
then=Effect.DENY,
message="Resources must be deployed in West Europe",
)
.build()
)
# Serialise to ARM JSON
print(policy.to_arm_json())</code></pre>
</div>
<div class="tab-panel" id="qs-conditions">
<div class="code-label">Python</div>
<pre><code class="language-python">from itl_policy_builder import field, all_of, any_of, not_, count
# Combine multiple conditions
condition = all_of(
field("location").in_("westeurope", "northeurope"),
field("tags.environment").exists(),
not_(field("type").equals("ITL.Core/resourceGroups")),
)
# Count-based conditions
condition = count("properties.ipConfigurations").where(
field("properties.publicIpAddress").exists()
).equals(0) # No public IPs allowed
# Operator overloads
condition = (
field("location").not_equals("westeurope") &
field("tags.environment").exists() # AND
)
condition = field("sku").equals("Basic") | field("sku").equals("Standard") # OR
condition = ~field("type").equals("ITL.Core/resourceGroups") # NOT</code></pre>
</div>
<div class="tab-panel" id="qs-params">
<div class="code-label">Python</div>
<pre><code class="language-python">from itl_policy_builder import PolicyBuilder, PolicyAssignmentBuilder, Effect, field
# Policy with parameters
policy = (
PolicyBuilder("allowed-locations")
.display_name("Allowed Locations")
.parameter(
"allowedLocations",
type="Array",
display_name="Allowed Locations",
description="List of allowed Azure regions",
default=["westeurope", "northeurope"],
)
.parameter(
"effect",
type="String",
default="Deny",
allowed_values=["Deny", "Audit", "Disabled"],
)
.with_rule(
if_=field("location").not_in("[parameters('allowedLocations')]"),
then=Effect.DENY,
)
.build()
)
# Policy assignment — override parameters at assignment time
assignment = (
PolicyAssignmentBuilder("enforce-locations-prod")
.policy_definition_id(policy.id)
.scope("/subscriptions/sub-prod-001")
.display_name("Enforce Locations in Production")
.parameter("allowedLocations", ["westeurope"]) # narrow scope in prod
.exclude_scope("/subscriptions/sub-prod-001/resourceGroups/legacy-rg")
.non_compliance_message("This resource violates the location policy")
.build()
)</code></pre>
</div>
<div class="tab-panel" id="qs-init">
<div class="code-label">Python</div>
<pre><code class="language-python">from itl_policy_builder import PolicySetBuilder
initiative = (
PolicySetBuilder("security-baseline")
.display_name("Security Baseline")
.description("Core security policies")
.category("Security")
.version("1.0.0")
.add_group("Tags", "Tagging requirements")
.add_group("Network", "Network security")
.add_policy(
"/providers/ITL.Authorization/policyDefinitions/require-tag-environment",
groups=["Tags"],
)
.add_policy(
"/providers/ITL.Authorization/policyDefinitions/deny-public-ip",
groups=["Network"],
)
.build()
)</code></pre>
</div>
<div class="tab-panel" id="qs-eval">
<div class="code-label">Python</div>
<pre><code class="language-python">from itl_policy_builder import PolicyEvaluator, PolicyBuilder, field, Effect
evaluator = PolicyEvaluator()
evaluator.register_policy(policy)
evaluator.register_assignment(assignment)
resource = {
"id": "/subscriptions/sub-001/resourceGroups/rg-1/providers/ITL.Compute/virtualMachines/vm-1",
"name": "vm-1",
"type": "ITL.Compute/virtualMachines",
"location": "eastus",
}
result = evaluator.evaluate(resource)
if result.denied:
print(f"Resource denied: {result.deny_reasons}")
else:
print("Resource compliant")
# API Gateway middleware integration
should_deny, reasons = evaluator.evaluate_for_deny(resource)</code></pre>
</div>
</div>
</section>
<!-- ─── Compliance ────────────────────────────────── -->
<section id="compliance">
<div class="container">
<div class="section-header">
<h2>Built-in Compliance Templates</h2>
<p>Ready-to-use policy bundles aligned to established frameworks, deployable to all supported platforms.</p>
</div>
<div class="compliance-grid">
<div class="compliance-panel">
<span class="pill pill-blue" style="margin-bottom:1rem;">BIO — Dutch Government</span>
<h3>Baseline Informatiebeveiliging Overheid</h3>
<p style="font-size:0.83rem;margin-top:0.4rem;">17 policies across 5 control categories aligned to the BIO 2.0 standard for Dutch government information security.</p>
<ul>
<li><code>bio-require-data-classification</code> — Verplicht dataclassificatie tag (BIV)</li>
<li><code>bio-deny-anonymous-access</code> — Verbied publieke toegang</li>
<li><code>bio-require-encryption-at-rest</code> — Verplicht versleuteling</li>
<li><code>bio-require-encryption-in-transit</code> — Verplicht TLS 1.2+</li>
<li><code>bio-require-diagnostic-logs</code> — Diagnostische logging</li>
<li><code>bio-deny-rdp-ssh-internet</code> — Geen RDP/SSH naar internet</li>
<li><code>bio-allowed-locations-nl</code> — Alleen NL/EU datacenters</li>
</ul>
<div style="margin-top:1rem;">
<div class="code-label">Python</div>
<pre><code class="language-python">from itl_policy_builder import get_bio_initiative
initiative = get_bio_initiative() # All 17 policies</code></pre>
</div>
</div>
<div class="compliance-panel">
<span class="pill pill-purple" style="margin-bottom:1rem;">PQC — Post-Quantum Cryptography</span>
<h3>NIST PQC Migration Framework</h3>
<p style="font-size:0.83rem;margin-top:0.4rem;">16 policies for planning and enforcing migration to quantum-safe cryptography (ML-KEM, ML-DSA) aligned to NIST standards.</p>
<ul>
<li><code>pqc-require-kem</code> — Vereist ML-KEM key exchange</li>
<li><code>pqc-require-signature</code> — Vereist ML-DSA/SLH-DSA</li>
<li><code>pqc-deny-deprecated</code> — Verbied RSA, ECDSA, Ed25519</li>
<li><code>pqc-require-hybrid</code> — Hybrid mode (transitieperiode)</li>
<li><code>pqc-require-tls13</code> — TLS 1.3 vereist voor PQC KeyShare</li>
<li><code>pqc-short-cert-validity</code> — Max 13 maanden geldigheid</li>
<li><code>pqc-audit-classical</code> — Audit quantum-kwetsbare crypto</li>
</ul>
<div style="margin-top:1rem;">
<div class="code-label">Python</div>
<pre><code class="language-python">from itl_policy_builder import get_pqc_initiative, get_pqc_transition_initiative
initiative = get_pqc_initiative() # All 16 policies
transition = get_pqc_transition_initiative() # Audit-only (planning phase)</code></pre>
</div>
</div>
<div class="compliance-panel">
<span class="pill pill-green" style="margin-bottom:1rem;">Kyverno — Kubernetes</span>
<h3>Talos Security Bundle</h3>
<p style="font-size:0.83rem;margin-top:0.4rem;">13 Kyverno <code>ClusterPolicy</code> templates covering pod security, image controls, network isolation, and PQC readiness for Talos clusters.</p>
<ul>
<li><code>pod-security-baseline</code> — PSS baseline (non-root, securityContext)</li>
<li><code>disallow-privileged</code> — Prevent privileged containers</li>
<li><code>require-resource-limits</code> — CPU/memory requests & limits</li>
<li><code>disallow-latest-tag</code> — Prevent <code>image:latest</code></li>
<li><code>require-image-registry</code> — Whitelist approved registries</li>
<li><code>pqc-cryptography-readiness</code> — Label workloads for PQC transition</li>
<li><code>talos-security-hardening</code> — Talos-specific settings</li>
</ul>
<div style="margin-top:1rem;">
<div class="code-label">Python</div>
<pre><code class="language-python">from itl_policy_builder.templates.kyverno import get_talos_security_bundle
for policy in get_talos_security_bundle():
print(policy.to_yaml())</code></pre>
</div>
</div>
</div>
<!-- Policy Effects -->
<div style="margin-top:3rem;">
<h3 style="margin-bottom:1rem;">Policy Effects</h3>
<div class="table-wrap">
<table>
<thead><tr><th>Effect</th><th>Blocking</th><th>Description</th></tr></thead>
<tbody>
<tr><td><code>Deny</code></td><td><span class="pill pill-orange">Yes</span></td><td>Block the operation immediately</td></tr>
<tr><td><code>Audit</code></td><td><span class="pill pill-green">No</span></td><td>Log violation without blocking</td></tr>
<tr><td><code>Append</code></td><td><span class="pill pill-green">No</span></td><td>Add fields to the request payload</td></tr>
<tr><td><code>Modify</code></td><td><span class="pill pill-green">No</span></td><td>Modify existing field values</td></tr>
<tr><td><code>DeployIfNotExists</code></td><td><span class="pill pill-green">No</span></td><td>Deploy a related resource if missing</td></tr>
<tr><td><code>Remediate</code> <span class="pill pill-purple">ITL</span></td><td><span class="pill pill-green">No</span></td><td>Automatically fix non-compliant resources</td></tr>
<tr><td><code>Alert</code> <span class="pill pill-purple">ITL</span></td><td><span class="pill pill-green">No</span></td><td>Send alert to monitoring system</td></tr>
<tr><td><code>Disabled</code></td><td><span class="pill pill-green">No</span></td><td>Policy is inactive</td></tr>
</tbody>
</table>
</div>
</div>
</div>
</section>
<!-- ─── CIS Azure ───────────────────────────────────── -->
<section id="cis">
<div class="container">
<div class="section-header">
<h2>CIS Azure Foundations Benchmark</h2>
<p>60 policies aligned to CIS Microsoft Azure Foundations Benchmark v3.0.0 (2024) — the industry standard baseline for securing Azure subscriptions, across 16 control sections.</p>
</div>
<div class="cis-grid">
<div class="cis-card">
<span class="cis-section-label">Section 1</span>
<h3>Identity & Access Management</h3>
<span class="cis-policies-count">3 policies</span>
<ul class="cis-policy-list">
<li><code>require-security-contact-email</code></li>
<li><code>deny-guest-user-owner-role</code></li>
<li><code>require-mfa-tag</code></li>
</ul>
</div>
<div class="cis-card">
<span class="cis-section-label">Section 2</span>
<h3>Microsoft Defender for Cloud</h3>
<span class="cis-policies-count">2 policies</span>
<ul class="cis-policy-list">
<li><code>require-defender-for-servers</code></li>
<li><code>require-defender-tag</code></li>
</ul>
</div>