-
Notifications
You must be signed in to change notification settings - Fork 9
/
cfbs.json
1710 lines (1710 loc) · 75 KB
/
cfbs.json
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
{
"name": "index",
"description": "The official (default) index of modules for CFEngine Build",
"type": "index",
"index": {
"all-packages-upgraded": { "alias": "upgrade-all-packages" },
"allow-all-hosts": {
"description": "Allows all hosts / IP addresses to connect and fetch policy.",
"tags": ["management", "experimental"],
"repo": "https://github.com/cfengine/modules",
"by": "https://github.com/olehermanse",
"version": "0.0.1",
"commit": "85f9aec38783b5a4dac4777ffa9d17fde5054d14",
"subdirectory": "management/allow-all-hosts",
"steps": ["json def.json def.json"]
},
"allow-hosts": {
"description": "Allows specific hosts (by IP / subnet) to connect and fetch policy.",
"tags": ["management", "security", "experimental"],
"repo": "https://github.com/olehermanse/cfengine-allow-hosts",
"by": "https://github.com/olehermanse",
"version": "0.0.2",
"commit": "620b4a523d82cb3b50a429b2f8d3511c7efa219c",
"steps": ["input ./input.json def.json"],
"input": [
{
"type": "list",
"namespace": "default",
"bundle": "def",
"variable": "acl",
"label": "Allowed hosts",
"subtype": {
"type": "string",
"label": "IP / subnet",
"question": "IP / subnet to allow"
},
"while": "Do you want to specify more IPs / subnets?"
}
]
},
"ansible": { "alias": "promise-type-ansible" },
"autorun": {
"description": "Enables autorun functionality.",
"tags": ["supported", "management"],
"repo": "https://github.com/cfengine/modules",
"by": "https://github.com/olehermanse",
"version": "1.0.1",
"commit": "c3b7329b240cf7ad062a0a64ee8b607af2cb912a",
"subdirectory": "management/autorun",
"steps": ["json def.json def.json"]
},
"autorun-bundles": {
"description": "Enables autorun functionality.",
"tags": ["supported", "management"],
"repo": "https://github.com/cfengine/modules",
"by": "https://github.com/nickanderson",
"version": "1.0.0",
"commit": "e5a43450cf272fe84d4727a33d431c98ffb58bbc",
"subdirectory": "management/autorun-bundles",
"steps": ["json def.json def.json"]
},
"autorun-inputs": {
"description": "Enables autorun functionality.",
"tags": ["supported", "management"],
"repo": "https://github.com/cfengine/modules",
"by": "https://github.com/nickanderson",
"version": "1.0.0",
"commit": "e5a43450cf272fe84d4727a33d431c98ffb58bbc",
"subdirectory": "management/autorun-inputs",
"steps": ["json def.json def.json"]
},
"bash-lib": { "alias": "library-for-promise-types-in-bash" },
"cfengine-supported": {
"description": "Adds reporting data (inventory) for the support status for the current version of CFEngine.",
"tags": ["supported", "inventory", "security"],
"repo": "https://github.com/nickanderson/cfengine-supported",
"by": "https://github.com/nickanderson",
"version": "0.0.1",
"commit": "6a09cc850423a063533ffe19e9066753952b9d8d",
"steps": [
"copy ./inventory-cfengine-version-support-status.cf services/cfengine-supported/",
"json ./cfbs/def.json def.json"
]
},
"cir": { "alias": "client-initiated-reporting" },
"client-initiated": { "alias": "client-initiated-reporting" },
"client-initiated-reporting": {
"description": "Enables client initiated reporting and disable pull collection.",
"tags": ["experimental", "reporting"],
"repo": "https://github.com/cfengine/modules",
"by": "https://github.com/cfengine",
"version": "0.1.1",
"commit": "c3b7329b240cf7ad062a0a64ee8b607af2cb912a",
"subdirectory": "reporting/client-initiated-reporting",
"steps": ["json def.json def.json"]
},
"compliance-report-imports": {
"name": "compliance-report-imports",
"description": "Used by other modules to import compliance reports to Mission Portal.",
"tags": ["experimental", "cfengine-enterprise"],
"repo": "https://github.com/nickanderson/cfengine-security-hardening",
"by": "https://github.com/nickanderson",
"version": "0.0.11",
"commit": "9bd8f0d837905b4ae4104d78af26f274d1a45b5e",
"subdirectory": "compliance-report-imports",
"steps": [
"copy ./compliance-report-imports.cf services/cfbs/modules/compliance-report-imports/compliance-report-imports.cf",
"policy_files services/cfbs/modules/compliance-report-imports/compliance-report-imports.cf",
"bundles default:compliance_report_imports"
]
},
"compliance-report-lynis": {
"description": "Compliance report with Lynis checks.",
"tags": ["experimental", "security", "compliance"],
"repo": "https://github.com/nickanderson/cfengine-lynis",
"by": "https://github.com/nickanderson",
"version": "3.1.3",
"commit": "dd645be54d7d9392b3ef7a5ab0038572070081c7",
"subdirectory": "compliance-reports",
"dependencies": ["compliance-report-imports", "lynis"],
"steps": [
"copy ./generated-compliance-report.json .no-distrib/compliance-report-definitions/lynis-compliance-report.json"
]
},
"compliance-report-os-is-vendor-supported": {
"name": "compliance-report-os-is-vendor-supported",
"description": "Compliance report definition for checking if the current OS version is supported by the vendor.",
"tags": ["experimental", "compliance-report", "cfengine-enterprise"],
"repo": "https://github.com/nickanderson/cfengine-security-hardening",
"by": "https://github.com/nickanderson",
"version": "0.0.6",
"commit": "0344b3ba1d9599d01a19f1b673c82980822ac477",
"subdirectory": "compliance-report-os-is-vendor-supported",
"dependencies": ["compliance-report-imports"],
"steps": [
"copy ./os-is-vendor-supported.json .no-distrib/compliance-report-definitions/os-is-vendor-supported.json"
]
},
"conditional-installer": {
"description": "Allows you to specify packages you want installed and conditions for where you want them installed, as well as a list of packages you generally want uninstalled.",
"tags": ["security", "management", "experimental"],
"repo": "https://github.com/cfengine/modules",
"by": "https://github.com/olehermanse",
"version": "0.0.1",
"commit": "e6c731a9aead018e1c4895f6b77249fa417aa4bd",
"subdirectory": "security/conditional-installer",
"steps": [
"copy main.cf services/cfbs/modules/conditional-installer/main.cf",
"input ./input.json def.json",
"bundles conditional_installer:main",
"policy_files services/cfbs/modules/conditional-installer/main.cf"
],
"input": [
{
"type": "string",
"variable": "packages_to_uninstall",
"namespace": "conditional_installer",
"bundle": "main",
"label": "Uninstall",
"question": "Which package(s) would you like to be uninstalled?"
},
{
"type": "list",
"variable": "packages_to_install",
"namespace": "conditional_installer",
"bundle": "main",
"label": "Install",
"subtype": [
{
"key": "packages",
"type": "string",
"label": "Package(s)",
"question": "Package(s) to install"
},
{
"key": "condition",
"type": "string",
"label": "Condition",
"question": "Condition for where to install"
},
{
"key": "why",
"type": "string",
"label": "Why",
"question": "Why?",
"default": "Unknown"
}
],
"while": "Do you want to specify more packages to be installed?"
}
]
},
"cron-access": {
"description": "Limits access to cron-related files in /etc by setting user, group, and permission bits.",
"tags": ["supported", "security", "compliance"],
"repo": "https://github.com/cfengine/modules",
"by": "https://github.com/olehermanse",
"version": "0.0.1",
"commit": "e5b64e3bf390b3b27e0efce29af9a1c354ed54f1",
"subdirectory": "security/cron-access",
"steps": [
"copy cron-access.cf services/cfbs/modules/cron-access/cron-access.cf",
"bundles cron_access",
"policy_files services/cfbs/modules/cron-access/cron-access.cf"
]
},
"cve-2021-3156-sudo": {
"description": "Reporting data (inventory) and remediaton for CVE-2021-3156, a heap overflow in sudo that allows privilege escalation.",
"tags": ["supported", "security", "cve", "sudo"],
"repo": "https://github.com/nickanderson/cfengine-security-hardening",
"by": "https://github.com/nickanderson",
"version": "0.0.1",
"commit": "029ec4eac0d3d9b3bf7c8dc361db71f4796fc101",
"subdirectory": "cves/cve-2021-3156-sudo",
"steps": [
"copy ./cve-2021-3156-sudo.cf services/security-hardening/cves/cve-2021-3156-sudo/",
"json cfbs/def.json def.json"
]
},
"cve-2021-44228-log4j": {
"description": "Leverages yahoo/check-log4j to scan for files potentially vulnerable to CVE-2021-44228, which allows arbitrary code execution.",
"tags": ["supported", "security", "cve", "inventory"],
"repo": "https://github.com/nickanderson/cfengine-security-hardening",
"by": "https://github.com/nickanderson",
"version": "0.2.0",
"commit": "bdc7a16c6e52ff44149eb2abfd510fcee12dd2c1",
"subdirectory": "cves/cve-2021-44228-log4j",
"steps": [
"copy ./cve-2021-44228-log4j-inventory-log4shell.cf services/security-hardening/cves/cve-2021-44228-log4j/",
"json cfbs/def.json def.json"
]
},
"default-encrypt-method-sha512": {
"description": "Sets the default password hashing algorithm to SHA-512 (encrypt_method in the /etc/login.defs file).",
"tags": ["supported", "security"],
"repo": "https://github.com/nickanderson/cfengine-security-hardening",
"by": "https://github.com/nickanderson",
"version": "1.0.3",
"commit": "124b01041a3d45010ac20912338795e81e2a06fe",
"subdirectory": "default-encrypt-method-sha512",
"steps": [
"json cfbs/def.json def.json",
"copy policy/default-encrypt-method-sha512.cf services/security-hardening/default-encrypt-method-sha512/default-encrypt-method-sha512.cf"
]
},
"delete-files": {
"description": "Allows you to specify a list of files you want deleted on hosts in your infrastructure. When this module is deployed as part of your policy set, every time CFEngine runs, it will check if those files exist, and delete them if they do.",
"tags": ["supported", "management"],
"repo": "https://github.com/nickanderson/cfengine-delete-files",
"by": "https://github.com/nickanderson",
"version": "2.0.0",
"commit": "84cce7c5653b6a5f2b5a28ebb33c697ffc676dd4",
"steps": [
"copy delete-files.cf services/cfbs/modules/delete-files/delete-files.cf",
"input delete-files/input.json def.json",
"bundles delete_files:delete_files",
"policy_files services/cfbs/modules/delete-files/delete-files.cf"
],
"input": [
{
"type": "list",
"variable": "files",
"namespace": "delete_files",
"bundle": "delete_files",
"label": "Files",
"subtype": [
{
"key": "path",
"type": "string",
"label": "Path",
"question": "Path to file"
},
{
"key": "why",
"type": "string",
"label": "Why",
"question": "Why should this file be deleted?",
"default": "Unknown"
}
],
"while": "Specify another file you want deleted on your hosts?"
}
]
},
"delete-home-dotrhosts": {
"description": "Ensures that ~/.rhosts files are not present, as they present a security risk.",
"tags": ["supported", "security", "compliance"],
"repo": "https://github.com/cfengine/modules",
"by": "https://github.com/nickanderson",
"version": "1.0.0",
"commit": "9a28d03dbb1f62401c9b4c898524f8304f93fd19",
"subdirectory": "security/delete-home-dotrhosts",
"steps": [
"copy policy/main.cf services/cfbs/delete-home-dotrhosts/",
"policy_files services/cfbs/delete-home-dotrhosts/",
"bundles delete_home_dotrhosts:main"
]
},
"delete-home-dotshosts": {
"description": "Ensures that ~/.shosts files are not present, as they present a security risk.",
"tags": ["supported", "security", "compliance"],
"repo": "https://github.com/cfengine/modules",
"by": "https://github.com/nickanderson",
"version": "0.0.4",
"commit": "8bb6e0703139ffc979159b7a2d2750f08b80b497",
"subdirectory": "security/delete-home-dotshosts",
"steps": [
"copy policy/main.cf services/cfbs/delete-home-dotshots/",
"policy_files services/cfbs/delete-home-dotshots/",
"bundles delete_home_dotshosts:main"
]
},
"demo": {
"description": "Enables convenient and insecure settings for demoing CFEngine.",
"tags": ["management", "experimental"],
"repo": "https://github.com/cfengine/modules",
"by": "https://github.com/olehermanse",
"version": "1.0.1",
"commit": "33ed05743ed5b973c110123cdf8d0f074c7e0bee",
"subdirectory": "management/demo",
"dependencies": ["autorun", "every-minute"],
"steps": ["json def.json def.json"]
},
"disable-prelinking": {
"description": "Disables prelinking.",
"tags": ["supported", "security"],
"repo": "https://github.com/larsewi/cfengine-prelinking-disabled",
"by": "https://github.com/larsewi",
"version": "1.0.3",
"commit": "4b309622404e6a6e989989a229fe780bec029de5",
"dependencies": ["autorun"],
"steps": [
"copy ./disable_prelinking.cf services/autorun/disable_prelinking.cf"
]
},
"disable-recommendations": {
"description": "Disable all recommendations emitted from the Masterfiles Policy Framework (MPF).",
"tags": ["supported", "management"],
"repo": "https://github.com/cfengine/modules/",
"by": "https://github.com/nickanderson",
"version": "1.0.0",
"commit": "b3af8bf726c66ee7f190fdb6884f100ad91082e8",
"subdirectory": "management/disable-recommendations",
"steps": ["json def.json def.json"]
},
"disable-automatic-key-trust": {
"description": "Makes the hub / policy server stop accepting new keys automatically.",
"subdirectory": "management/disable-automatic-key-trust",
"version": "1.0.0",
"commit": "5fed175857e2fd6a65e1d0f74ab2dddd30653e2c",
"repo": "https://github.com/cfengine/modules",
"by": "https://github.com/olehermanse",
"tags": ["management", "security", "supported"],
"steps": ["json def.json def.json"]
},
"enable-aslr": {
"description": "Ensures that Address space layout randomization (ASLR) is enabled on the system.",
"tags": ["supported", "security", "compliance"],
"repo": "https://github.com/cfengine/modules",
"by": "https://github.com/craigcomstock",
"version": "1.0.0",
"commit": "6805332200dd48db54c61178c90bf2374c5d8fca",
"subdirectory": "security/enable-aslr",
"steps": [
"copy enable-aslr.cf services/cfbs/modules/enable-aslr/enable-aslr.cf",
"bundles enable_aslr",
"policy_files services/cfbs/modules/enable-aslr/enable-aslr.cf"
]
},
"etc-issue-access": {
"description": "Limits access to the /etc/issue file by setting user, group, and permission bits.",
"tags": ["supported", "security", "compliance"],
"repo": "https://github.com/cfengine/modules",
"by": "https://github.com/olehermanse",
"version": "0.0.1",
"commit": "36ff5729aeba97d72bdadfdb53bb4cc19c81f900",
"subdirectory": "security/etc-issue-access",
"steps": [
"copy etc-issue-access.cf services/cfbs/modules/etc-issue-access/etc-issue-access.cf",
"bundles etc_issue_access",
"policy_files services/cfbs/modules/etc-issue-access/etc-issue-access.cf"
]
},
"etc-issue-content": {
"description": "Manages the content of /etc/issue and provides limited inventory of it's content.",
"tags": ["supported", "security", "compliance", "inventory"],
"repo": "https://github.com/nickanderson/cfengine-etc_issue_content",
"by": "https://github.com/nickanderson",
"version": "1.0.0",
"commit": "7fe7ba868ca5d2ad1a39311d85af6fbb27ee77a8",
"steps": [
"copy main.cf services/cfbs/modules/etc-issue-content/main.cf",
"bundles etc_issue_content:main",
"policy_files services/cfbs/modules/etc-issue-content/main.cf",
"input etc-issue-content/input.json def.json"
],
"input": [
{
"type": "string",
"variable": "body",
"namespace": "etc_issue_content",
"bundle": "main",
"label": "Text",
"question": "What is the content that should be in /etc/issue?"
}
]
},
"etc-motd-access": {
"description": "Limits access to the /etc/motd file by setting user, group, and permission bits.",
"tags": ["supported", "security", "compliance"],
"repo": "https://github.com/cfengine/modules",
"by": "https://github.com/olehermanse",
"version": "0.0.1",
"commit": "2c54a98a05bb0315c7a5b9b2edf17a629f151563",
"subdirectory": "security/etc-motd-access",
"steps": [
"copy etc-motd-access.cf services/cfbs/modules/etc-motd-access/etc-motd-access.cf",
"bundles etc_motd_access",
"policy_files services/cfbs/modules/etc-motd-access/etc-motd-access.cf"
]
},
"every-minute": {
"description": "Makes policy fetching, evaluation, and reporting happen every minute.",
"tags": ["management", "experimental"],
"repo": "https://github.com/cfengine/modules",
"by": "https://github.com/olehermanse",
"version": "1.0.0-1",
"commit": "74b6776ca4e120285f9c44e68ccf79eef84accfd",
"subdirectory": "management/every-minute",
"steps": ["json def.json def.json"]
},
"file-permissions": {
"description": "Manages file permissions, allowing you to specify permission bits for different paths.",
"tags": ["management"],
"repo": "https://github.com/nickanderson/cfengine-file-permissions",
"by": "https://github.com/nickanderson",
"version": "0.2.0",
"commit": "b307d1b2b002dc7e32d29702f3fddc6d4832c9ec",
"steps": [
"copy file-permissions.cf services/cfbs/modules/file-permissions/file-permissions.cf",
"input file-permissions/input.json def.json",
"bundles file_permissions:file_permissions",
"policy_files services/cfbs/modules/file-permissions/file-permissions.cf"
],
"input": [
{
"type": "list",
"variable": "files",
"namespace": "file_permissions",
"bundle": "file_permissions",
"label": "Files",
"subtype": [
{
"key": "path",
"type": "string",
"label": "Path",
"question": "Path to file"
},
{
"key": "mode",
"type": "string",
"label": "Permissions",
"question": "Permission bits (octal)",
"default": "600"
},
{
"key": "why",
"type": "string",
"label": "Why",
"question": "Why do these permissions matter?",
"default": "Unknown"
}
],
"while": "Manage permission of another file?"
}
]
},
"ftp-server-not-installed": { "alias": "uninstall-ftp" },
"git": { "alias": "promise-type-git" },
"groups": { "alias": "promise-type-groups" },
"http": { "alias": "promise-type-http" },
"install-aide": {
"description": "Ensures the AIDE (Advanced Intrusion Detection Environment) software is installed.",
"tags": ["supported", "security", "compliance"],
"repo": "https://github.com/cfengine/modules",
"by": "https://github.com/olehermanse",
"version": "0.0.1",
"commit": "9bb26f99ba377f85f7211d05bf54e71d89711d1a",
"subdirectory": "security/install-aide",
"steps": [
"copy install-aide.cf services/cfbs/modules/install-aide/install-aide.cf",
"bundles install_aide",
"policy_files services/cfbs/modules/install-aide/install-aide.cf"
]
},
"inventory-clamav": {
"description": "Adds reporting data (inventory) for useful information from ClamAV (version, definitions version, definitions date).",
"tags": ["supported", "inventory", "security"],
"repo": "https://github.com/nickanderson/cfengine-inventory-clamav",
"by": "https://github.com/nickanderson",
"version": "1.1.0",
"commit": "b7de8aed5fba718a88ca008c09fabd152c56df24",
"steps": [
"copy policy/main.cf services/inventory-clamav/main.cf",
"json cfbs/def.json def.json"
]
},
"inventory-etc-hosts": {
"description": "Adds reporting data (inventory) for entries from the /etc/hosts file.",
"tags": ["supported", "inventory"],
"repo": "https://github.com/nickanderson/cfengine-inventory-etc-hosts",
"by": "https://github.com/nickanderson",
"version": "0.1.3",
"commit": "c4cac4bfa0f2c0a6caf83517dcaaaf17e70808a0",
"steps": [
"copy policy/main.cf services/inventory-etc-hosts/main.cf",
"json cfbs/def.json def.json"
]
},
"inventory-etc-login-defs": {
"name": "inventory-etc-login-defs",
"description": "Adds reporting data (inventory) for useful bits from the /etc/login.defs file.",
"tags": ["supported", "inventory"],
"repo": "https://github.com/nickanderson/cfengine-inventory-etc-login-defs",
"by": "https://github.com/nickanderson",
"version": "0.0.4",
"commit": "37670ddd6a92022e895ac191b821e4de6794ac34",
"steps": [
"copy ./inventory-etc-login-defs.cf services/inventory-etc-login-defs/inventory-etc-login-defs.cf",
"json cfbs/def.json def.json"
]
},
"inventory-fips-mode-setup": {
"description": "Adds reporting data (inventory) for the status of fips-mode-setup.",
"tags": ["supported", "inventory"],
"repo": "https://github.com/nickanderson/cfengine-inventory-fips-mode-setup",
"by": "https://github.com/nickanderson",
"version": "0.1.2",
"commit": "e6eb16c5d25ccfc96ae763480643189a5f474f69",
"steps": [
"copy policy/main.cf services/inventory-fips-mode-setup/main.cf",
"json augments.json def.json"
]
},
"inventory-kernel-boot-params": {
"description": "Adds reporting data (inventory) for kernel parameters set during system boot.",
"tags": ["supported", "inventory"],
"repo": "https://github.com/nickanderson/cfengine-inventory-kernel-boot-params",
"by": "https://github.com/nickanderson",
"version": "0.1.2",
"commit": "ab79409970b97831cfb9552d98ca6a8f455e11d4",
"steps": [
"copy policy/main.cf services/inventory-kernel-boot-params/main.cf",
"json augments.json def.json"
]
},
"inventory-kernel-settings-sysctl-conf": {
"description": "Adds reporting data (inventory) for settings from the /etc/sysctl.conf file.",
"tags": ["inventory", "kernel"],
"repo": "https://github.com/nickanderson/cfengine-sysctl",
"by": "https://github.com/nickanderson",
"version": "1.0.0",
"commit": "69149b9d15874c4f584441cd40019a79a92ad8f2",
"subdirectory": "policy/inventory-kernel-settings-sysctl-conf",
"steps": [
"copy ./main.cf services/inventory-kernel-settings-sysctl-conf/",
"copy ./README.org services/inventory-kernel-settings-sysctl-conf/",
"json ./cfbs/def.json def.json"
]
},
"inventory-kernel-settings-sysctl-current": {
"description": "Adds reporting data (inventory) for sysctl settings current state.",
"tags": ["inventory", "kernel", "experimental"],
"repo": "https://github.com/nickanderson/cfengine-sysctl",
"by": "https://github.com/nickanderson",
"version": "1.0.0",
"commit": "69149b9d15874c4f584441cd40019a79a92ad8f2",
"subdirectory": "policy/inventory-kernel-settings-sysctl-current",
"steps": [
"copy ./main.cf services/inventory-kernel-settings-sysctl-current/",
"copy ./README.org services/inventory-kernel-settings-sysctl-current/",
"json ./cfbs/def.json def.json"
]
},
"inventory-lastlog": {
"description": "Adds reporting data (inventory) for users who have logged in and when.",
"tags": ["inventory", "experimental"],
"repo": "https://github.com/nickanderson/cfengine-inventory-lastlog",
"by": "https://github.com/nickanderson",
"version": "0.1.1",
"commit": "7436a6ca9d1a159e6083768b9c06d9b1cbb189a0",
"steps": [
"copy policy/main.cf services/inventory-lastlog/",
"json cfbs/def.json def.json"
]
},
"inventory-local-groups": {
"name": "inventory-local-groups",
"description": "Adds reporting data (inventory) for the local groups on the system.",
"tags": ["inventory", "supported"],
"repo": "https://github.com/nickanderson/cfengine-local_users",
"by": "https://github.com/nickanderson",
"version": "0.0.1",
"commit": "633fdc37f6369461fcd866ad69eb84cd9feb595c",
"subdirectory": "inventory-local-groups",
"dependencies": ["library-parsed-local-groups"],
"steps": [
"copy ./inventory-local-groups.cf services/local-groups/inventory-local-groups/",
"json cfbs/def.json def.json"
]
},
"inventory-local-users": {
"description": "Adds reporting data (inventory) for the local users on the system with their attributes.",
"tags": ["supported", "inventory"],
"repo": "https://github.com/nickanderson/cfengine-local_users",
"by": "https://github.com/nickanderson",
"version": "2.0.4",
"commit": "3b50be1e5ab09578109921b8f287603b37811350",
"subdirectory": "inventory_passwd_users_all",
"dependencies": ["library-parsed-local-users"],
"steps": [
"copy ./inventory_passwd_users_all.cf services/local-users/inventory_passwd_users_all/",
"json cfbs/def.json def.json"
]
},
"inventory-local-users-locked": {
"name": "inventory-local-users-locked",
"description": "Adds reporting data (inventory) for the local users on the system that are locked.",
"tags": ["supported", "inventory"],
"repo": "https://github.com/nickanderson/cfengine-local_users",
"by": "https://github.com/nickanderson",
"version": "2.0.4",
"commit": "3b50be1e5ab09578109921b8f287603b37811350",
"subdirectory": "inventory_passwd_users_locked",
"dependencies": ["library-parsed-local-users"],
"steps": [
"copy ./inventory_passwd_users_locked.cf services/local-users/inventory_passwd_users_locked/",
"json cfbs/def.json def.json"
]
},
"inventory-local-users-non-root-has-uid-0": {
"description": "Adds reporting data (inventory) for the non-root users that have uid 0.",
"tags": ["supported", "inventory", "security"],
"repo": "https://github.com/nickanderson/cfengine-local_users",
"by": "https://github.com/nickanderson",
"version": "2.0.5",
"commit": "fef5d94170f8119eda8f5bf8316acf5896fbac22",
"subdirectory": "inventory_non_root_users_with_uid_zero",
"dependencies": ["library-parsed-local-users"],
"steps": [
"copy ./inventory-non-root-users-with-uid-zero.cf services/local-users/inventory_non_root_users_with_uid_zero/inventory-non-root-users-with-uid-zero.cf",
"json cfbs/def.json def.json"
]
},
"inventory-local-users-password-empty": {
"name": "inventory-local-users-password-empty",
"description": "Adds reporting data (inventory) for the local users on the system that do not have a password set.",
"tags": ["supported", "inventory", "security"],
"repo": "https://github.com/nickanderson/cfengine-local_users",
"by": "https://github.com/nickanderson",
"version": "2.0.4",
"commit": "3b50be1e5ab09578109921b8f287603b37811350",
"subdirectory": "inventory_passwd_users_password_empty",
"dependencies": ["library-parsed-local-users"],
"steps": [
"copy ./inventory_passwd_users_password_empty.cf services/local-users/inventory_passwd_users_password_empty/",
"json cfbs/def.json def.json"
]
},
"inventory-local-users-password-hashing-algorithm": {
"name": "inventory-local-users-password-hashing-algorithm",
"description": "Adds reporting data (inventory) for password hashing algorithms in use by local users.",
"tags": ["supported", "inventory", "security"],
"repo": "https://github.com/nickanderson/cfengine-local_users",
"by": "https://github.com/nickanderson",
"version": "2.0.4",
"commit": "3b50be1e5ab09578109921b8f287603b37811350",
"subdirectory": "inventory_passwd_users_password_hashing_algorithm",
"dependencies": ["library-parsed-local-users"],
"steps": [
"copy ./inventory_local_user_pw_hashing_algorithm.cf services/local-users/inventory_passwd_users_password_hashing_algorithm/",
"json cfbs/def.json def.json"
]
},
"inventory-local-users-unhashed-password": {
"alias": "inventory-unshadowed-users"
},
"inventory-openssl-versions": {
"description": "Adds an inventory attribute containing all versions of OpenSSL found on the system.",
"tags": ["inventory", "security", "experimental"],
"repo": "https://github.com/olehermanse/cfengine-inventory-openssl-versions",
"by": "https://github.com/olehermanse",
"version": "0.2.0",
"commit": "5c22bfafb037fa96ab59574ef0da3b161167d883",
"steps": [
"copy inventory-openssl-versions.cf services/cfbs/modules/inventory-openssl-versions/inventory-openssl-versions.cf",
"policy_files services/cfbs/modules/inventory-openssl-versions/inventory-openssl-versions.cf",
"bundles inventory_openssl_versions:inventory_openssl_versions"
]
},
"inventory-physical-memory": {
"description": "Inventory information about physical memory.",
"tags": ["inventory"],
"repo": "https://github.com/nickanderson/cfengine-inventory-physical-memory",
"by": "https://github.com/nickanderson",
"version": "0.0.3",
"commit": "e26f77fdc0f5d83d290180c73d7feeed45051358",
"steps": [
"copy ./policy/main.cf services/cfbs/inventory-physical-memory/main.cf",
"policy_files services/cfbs/inventory-physical-memory/main.cf",
"bundles inventory_physical_memory:main"
]
},
"inventory-ssh-host-key-fingerprints": {
"description": "Adds reporting data (inventory) for the SSH host key fingerprints.",
"tags": ["inventory", "security", "ssh", "experimental"],
"repo": "https://github.com/nickanderson/cfengine-ssh",
"by": "https://github.com/nickanderson",
"version": "0.0.2",
"commit": "dbd948d795a32b29dcbfad54d9f16326f485d094",
"subdirectory": "policy/inventory/host-key-fingerprints",
"steps": [
"copy ./inventory-ssh-host-key-fingerprints.cf services/ssh/inventory/host-key-fingerprints/inventory-ssh-host-key-fingerprints.cf",
"json cfbs/def.json def.json"
]
},
"inventory-sudoers": {
"description": "Adds reporting data (inventory) for users with sudo access.",
"tags": ["supported", "inventory", "security", "sudo"],
"repo": "https://github.com/nickanderson/cfengine-inventory-sudoers",
"by": "https://github.com/nickanderson",
"version": "1.0.3",
"commit": "7f6be96d4b8e759de3463facbd3144c8b22cdc78",
"steps": [
"copy ./policy/main.cf services/inventory-sudoers/main.cf",
"json ./cfbs/def.json def.json"
]
},
"inventory-systemd": {
"description": "Adds reporting data (inventory) for interesting things from systemd.",
"tags": ["supported", "inventory", "systemd"],
"repo": "https://github.com/nickanderson/cfengine-inventory-systemd",
"by": "https://github.com/nickanderson",
"version": "0.2.0",
"commit": "58961dd09c7fca62fc5e53de4cedc90ebbf55149",
"steps": [
"copy ./policy/main.cf services/inventory-systemd/main.cf",
"json cfbs/def.json def.json"
]
},
"inventory-unshadowed-users": {
"description": "Adds reporting data (inventory) on local users in /etc/passwd not using /etc/shadow for their password.",
"tags": ["supported", "inventory", "security", "compliance"],
"repo": "https://github.com/cfengine/modules",
"by": "https://github.com/nickanderson",
"version": "1.0.2",
"commit": "cff9325f0b12e914fead75c7b30092b0d91cee64",
"subdirectory": "security/inventory-unshadowed-users",
"dependencies": ["library-parsed-local-users"],
"steps": [
"copy policy/main.cf services/cfbs/inventory-unshadowed-users/",
"policy_files services/cfbs/inventory-unshadowed-users/",
"bundles inventory_unshadowed_users:main"
]
},
"inventory-windows-services": {
"description": "Inventory running Windows services.",
"tags": ["supported", "windows", "inventory", "security"],
"repo": "https://github.com/cfengine/modules",
"by": "https://github.com/craigcomstock",
"version": "0.0.1",
"commit": "bf3b21d34d6506671fb7977443d9bfa24ea25241",
"subdirectory": "inventory",
"steps": [
"copy inventory-windows-services.cf services/cfbs/inventory-windows-services/",
"policy_files services/cfbs/inventory-windows-services/",
"bundles inventory_windows_services_running"
]
},
"inventory-writable-directories-in-root-path": {
"description": "Reporting data (inventory) directories in root's $PATH that are world or group writable.",
"tags": ["supported", "inventory", "security"],
"repo": "https://github.com/nickanderson/cfengine-writable-directories-in-root-path",
"by": "https://github.com/nickanderson",
"version": "0.0.1",
"commit": "11fe0552d0cfde9d7280c629cea18cb0e2fd2a8b",
"subdirectory": "inventory-writable-directories-in-root-path",
"steps": [
"copy ./inventory-world-group-writable-root-path.cf services/world-writable-directories-in-root-path/",
"json ./cfbs/def.json def.json"
]
},
"inventory-yum-update-info": {
"description": "Adds information about security updates from 'yum updateinfo' to inventory.",
"tags": ["supported", "security", "compliance"],
"repo": "https://github.com/vpodzime/cfengine-security-hardening",
"by": "https://github.com/vpodzime",
"version": "0.0.1",
"commit": "c89da2dbdf2f8a4baf7b6646d2e15e98a00ff365",
"subdirectory": "inventory-yum-update-info",
"dependencies": ["autorun"],
"steps": [
"copy ./inventory_yum_update_info.cf services/autorun/inventory_yum_update_info.cf"
]
},
"kernel-settings-sysctl-conf": {
"description": "Manages settings in the /etc/sysctl.conf file.",
"tags": ["management", "kernel"],
"repo": "https://github.com/nickanderson/cfengine-sysctl",
"by": "https://github.com/nickanderson",
"version": "1.0.1",
"commit": "00ca2759e6dcdb346152c4f6f9a7f52f5401aacc",
"subdirectory": "policy/kernel-settings-sysctl-conf",
"steps": [
"copy ./main.cf services/kernel-settings-sysctl-conf/",
"copy ./README.org services/kernel-settings-sysctl-conf/",
"json ./cfbs/def.json def.json"
]
},
"lib-fim": { "alias": "library-file-integrity-monitoring" },
"lib-sshd-config": { "alias": "library-sshd-config" },
"library-file-integrity-monitoring": {
"description": "Monitors key files for changes.",
"tags": ["library", "experimental"],
"repo": "https://github.com/nickanderson/cfengine-file_integrity_monitoring",
"by": "https://github.com/nickanderson",
"version": "0.1.2",
"commit": "8afb5e4f482c4d1564cfe56263bc8e38c33741ca",
"steps": [
"copy policy/monitor_file_paths_tagged_all_changes.cf services/file_integrity_monitoring/",
"json cfbs/def.json def.json"
]
},
"library-for-promise-types-in-bash": {
"description": "Library enabling promise types implemented in bash.",
"tags": ["supported", "library"],
"repo": "https://github.com/cfengine/modules",
"by": "https://github.com/Lex-2008",
"version": "0.1.2",
"commit": "99017f2d952c9e7fddaf3aac1be19061cb23c0d6",
"subdirectory": "libraries/bash",
"steps": ["copy cfengine.sh modules/promises/"]
},
"library-for-promise-types-in-python": {
"description": "Library enabling promise types implemented in python.",
"tags": ["supported", "library"],
"repo": "https://github.com/cfengine/modules",
"by": "https://github.com/cfengine",
"version": "0.2.3",
"commit": "2be0eee0788e2e562e43f0254c702f85b368c051",
"subdirectory": "libraries/python",
"steps": ["copy cfengine.py modules/promises/"]
},
"library-parsed-local-groups": {
"name": "library-parsed-local-groups",
"description": "Parses local group from the /etc/group file on the system.",
"tags": ["supported", "library"],
"repo": "https://github.com/nickanderson/cfengine-local_users",
"by": "https://github.com/nickanderson",
"version": "0.0.1",
"commit": "3028f74671c0bd8c8668a5b18245191439b0bad9",
"subdirectory": "parsed_etc_group",
"steps": [
"copy ./parsed_etc_group.cf services/local-groups/parsed_etc_group/",
"json cfbs/def.json def.json"
]
},
"library-parsed-local-users": {
"name": "library-parsed-local-users",
"description": "Parses local users from /etc/passwd on the system with their attributes from /etc/shadow.",
"tags": ["supported", "library"],
"repo": "https://github.com/nickanderson/cfengine-local_users",
"by": "https://github.com/nickanderson",
"version": "2.0.5",
"commit": "ede282c34083ab807543aa734b1142228ab98993",
"subdirectory": "parsed_etc_passwd_shadow",
"steps": [
"copy ./parsed_etc_passwd_shadow.cf services/local-users/parsed_etc_passwd_shadow/",
"json cfbs/def.json def.json"
]
},
"library-sshd-config": {
"description": "Library used by other modules to manage sshd configuration.",
"tags": ["library", "security", "ssh", "experimental"],
"repo": "https://github.com/nickanderson/cfengine-ssh",
"by": "https://github.com/nickanderson",
"version": "0.1.0",
"commit": "abff34c08bf27af56c4c3939bbb6f848eac7fb8d",
"subdirectory": "modules/library-sshd-config",
"steps": [
"copy ./global-key-values.cf services/library-sshd-config/",
"json cfbs/def.json def.json"
]
},
"lynis": {
"description": "Automates the installation, running, and reporting of CISOfy's lynis system audits.",
"tags": ["security", "compliance"],
"repo": "https://github.com/nickanderson/cfengine-lynis",
"by": "https://github.com/nickanderson",
"version": "3.1.3",
"commit": "dd645be54d7d9392b3ef7a5ab0038572070081c7",
"steps": [
"copy policy/main.cf services/lynis/main.cf",
"json cfbs/def.json def.json",
"input ./input.json def.json"
],
"input": [
{
"type": "string",
"namespace": "lynis",
"bundle": "globals",
"variable": "version",
"label": "Lynis version",
"question": "What version of Lynis should be used?",
"default": "3.1.3"
},
{
"type": "string",
"namespace": "lynis",
"bundle": "globals",
"variable": "tar_url",
"label": "Tarball url",
"question": "Where should clients download lynis from (http/https)",
"default": "https://downloads.cisofy.com/lynis/lynis-$(version).tar.gz",
"comment": "Some may want to self host the tarball within their own infrastructure. This provides an easy way to do that. Note, the archive should be named for the version of Lynis selected."
},
{
"type": "string",
"namespace": "lynis",
"bundle": "globals",
"variable": "archive_hash",
"label": "Hash of the tarball",
"question": "What is the hash of the tarball?",
"default": "bb51569c8f9e67bd2d2aa5cfcdd8e2d82726552b69fde4abddff9d991706f554"
},
{
"type": "string",
"namespace": "lynis",
"bundle": "globals",
"variable": "hash_type",
"label": "Hash type to verify",
"question": "What hashing algorithm should be used to verify the Lynis script?",
"default": "sha256"
}
]
},
"maintainers-in-motd": {
"description": "Add maintainer and purpose information from CMDB to /etc/motd",
"tags": ["supported", "security", "compliance"],
"repo": "https://github.com/cfengine/modules",
"by": "https://github.com/craigcomstock",
"version": "0.0.1",
"commit": "89629690fe265556e1ae4eb9127e42fb9525c9f5",
"subdirectory": "security/maintainers-in-motd",
"steps": [
"copy ./maintainers-in-motd.cf services/cfbs/modules/maintainers-in-motd.cf",
"policy_files services/cfbs/modules/maintainers-in-motd.cf",
"bundles maintainers_in_motd"
]
},
"masterfiles": {
"description": "Official CFEngine Masterfiles Policy Framework (MPF).",
"tags": ["supported", "base"],
"repo": "https://github.com/cfengine/masterfiles",
"by": "https://github.com/cfengine",
"version": "3.24.1",
"commit": "1171e2e50a229d78e2fdd4357a5d07ecc19bdbf4",
"steps": [
"run EXPLICIT_VERSION=3.24.1 EXPLICIT_RELEASE=1 ./prepare.sh -y",
"copy ./ ./"
]
},
"migrate2rocky": {
"description": "Unattended migration of CentOS 8 hosts to Rocky Linux.",
"tags": ["experimental"],
"repo": "https://github.com/nickanderson/cfengine-migrate2rocky",
"by": "https://github.com/nickanderson",
"version": "0.1.0",
"commit": "332dc89a479503bede5ca986092d2b95ad183129",
"dependencies": ["promise-type-git"],
"steps": [
"copy policy/main.cf services/migrate2rocky/main.cf",
"json augments.json def.json"
]
},
"mpf": { "alias": "masterfiles" },
"ntp-maxpoll": {
"description": "Ensures that maxpoll is configured (to 10 by default).",
"tags": ["supported", "security", "management"],
"repo": "https://github.com/nickanderson/cfengine-security-hardening",
"by": "https://github.com/nickanderson",
"version": "0.0.3",
"commit": "e2519214e8a29c7f37a36ca8a4beec687712448d",
"subdirectory": "ntp-maxpoll",
"steps": [
"copy ./ntp-maxpoll.cf services/security-hardening/ntp-maxpoll/",
"json cfbs/def.json def.json"
]
},
"openldap-server-not-installed": { "alias": "uninstall-openldap-server" },