This repository has been archived by the owner on Jan 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Makefile
44 lines (36 loc) · 2.01 KB
/
Makefile
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
default: opencontrol fedramp-templates
clean:
rm -Rf _data/opencontrols/opencontrols/
opencontrol:
masonry get -d _data/
fedramp-templates: opencontrol fedramp-tower fedramp-openshift fedramp-openstack fedramp-rhvh fedramp-rhvm
fedramp-tower:
cd _data/opencontrols && \
compliance-masonry get -c opencontrol-ansible-tower.yaml && \
cd - && \
fedramp-templater fill _data/opencontrols/opencontrols/ files/fedramp/templates/FedRAMP-System-Security-Plan-Template-v2.1.docx files/fedramp/FedRAMP-System-Security-Plan-Ansible-Tower.docx && \
rm -Rf _data/opencontrols/opencontrols/
fedramp-openshift:
cd _data/opencontrols && \
compliance-masonry get -c opencontrol-openshift.yaml && \
cd - && \
fedramp-templater fill _data/opencontrols/opencontrols/ files/fedramp/templates/FedRAMP-System-Security-Plan-Template-v2.1.docx files/fedramp/FedRAMP-System-Security-Plan-RedHat-OpenShift-Container-Platform-3.docx && \
rm -Rf _data/opencontrols/opencontrols/
fedramp-openstack:
cd _data/opencontrols && \
compliance-masonry get -c opencontrol-openstack.yaml && \
cd - && \
fedramp-templater fill _data/opencontrols/opencontrols/ files/fedramp/templates/FedRAMP-System-Security-Plan-Template-v2.1.docx files/fedramp/FedRAMP-System-Security-Plan-OpenStack-Platform-13.docx && \
rm -Rf _data/opencontrols/opencontrols/
fedramp-rhvh:
cd _data/opencontrols && \
compliance-masonry get -c opencontrol-rhvh.yaml && \
cd - && \
fedramp-templater fill _data/opencontrols/opencontrols/ files/fedramp/templates/FedRAMP-System-Security-Plan-Template-v2.1.docx files/fedramp/FedRAMP-System-Security-Plan-RedHat-Virtualization-Host.docx && \
rm -Rf _data/opencontrols/opencontrols/
fedramp-rhvm:
cd _data/opencontrols && \
compliance-masonry get -c opencontrol-rhvm.yaml && \
cd - && \
fedramp-templater fill _data/opencontrols/opencontrols/ files/fedramp/templates/FedRAMP-System-Security-Plan-Template-v2.1.docx files/fedramp/FedRAMP-System-Security-Plan-RedHat-Virtualization-Manager.docx && \
rm -Rf _data/opencontrols/opencontrols/