forked from GSA/fedramp-automation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample-ssp.xsl
1655 lines (1499 loc) · 66.1 KB
/
sample-ssp.xsl
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
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
exclude-result-prefixes="xs math uuid expath oscal"
expand-text="true"
version="3.0"
xmlns:expath="http://expath.org/ns/binary"
xmlns:math="http://www.w3.org/2005/xpath-functions/math"
xmlns:oscal="http://csrc.nist.gov/ns/oscal/1.0"
xmlns:saxon="http://saxon.sf.net/"
xmlns:uuid="java.util.UUID"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xpath-default-namespace="http://csrc.nist.gov/ns/oscal/1.0">
<!--
This transform will produce a FedRAMP OSCAL SSP.
Input to the transform is one of the resolved FedRAMP baselines (catalogs), namely
FedRAMP_rev4_LOW-baseline-resolved-profile_catalog.xml
FedRAMP_rev4_MODERATE-baseline-resolved-profile_catalog.xml
FedRAMP_rev4_HIGH-baseline-resolved-profile_catalog.xml
-->
<xsl:param
as="xs:boolean"
name="insert-flaws"
required="false"
select="false()" />
<xsl:param
as="xs:boolean"
name="insert-diagrams"
required="false"
select="false()" />
<xsl:mode
on-no-match="fail" />
<xsl:output
indent="true"
method="xml"
saxon:indent-spaces="4"
saxon:line-length="150" />
<xsl:variable
as="xs:duration"
name="UTC"
select="xs:dayTimeDuration('PT0H')" />
<xsl:variable
name="UTC-date"
select="adjust-date-to-timezone(current-date(), $UTC)" />
<xsl:variable
name="UTC-datetime"
select="adjust-dateTime-to-timezone(current-dateTime(), $UTC)" />
<xsl:variable
as="xs:string"
name="user-uuid"
select="uuid:randomUUID()" />
<xsl:variable
as="xs:string"
name="component-uuid"
select="uuid:randomUUID()" />
<xsl:variable
as="xs:string*"
name="statuses"
select="
(
'implemented',
'partial',
'planned',
'alternative',
'not-applicable'
)" />
<xsl:variable
as="xs:string"
name="this-system-uuid"
select="uuid:randomUUID()" />
<xsl:variable
as="xs:string"
name="leveraged-authorization-uuid"
select="uuid:randomUUID()" />
<xsl:variable
as="xs:string"
name="leveraged-authorization-party-uuid"
select="uuid:randomUUID()" />
<xsl:variable
as="xs:string"
name="authorization-boundary-diagram-uuid"
select="uuid:randomUUID()" />
<xsl:variable
as="xs:string"
name="authorization-boundary-diagram-resource-uuid"
select="uuid:randomUUID()" />
<xsl:variable
as="xs:string"
name="network-architecture-diagram-uuid"
select="uuid:randomUUID()" />
<xsl:variable
as="xs:string"
name="network-architecture-diagram-resource-uuid"
select="uuid:randomUUID()" />
<xsl:variable
as="xs:string"
name="data-flow-diagram-uuid"
select="uuid:randomUUID()" />
<xsl:variable
as="xs:string"
name="data-flow-diagram-resource-uuid"
select="uuid:randomUUID()" />
<xsl:variable
as="node()*"
name="pp-uuid">
<xsl:for-each
select="//control[matches(@id, '-1$')]">
<uuid
id="{@id}"
pol-c="{uuid:randomUUID()}"
pol-r="{uuid:randomUUID()}"
pro-c="{uuid:randomUUID()}"
pro-r="{uuid:randomUUID()}" />
</xsl:for-each>
</xsl:variable>
<xsl:variable
as="xs:string"
name="control-role">implemented-requirement-responsible-role</xsl:variable>
<xsl:variable
as="xs:string"
name="LF"
select="'
'" />
<xsl:template
match="/">
<xsl:copy-of
select="$LF" />
<xsl:comment>This document used {base-uri()} as the input.</xsl:comment>
<xsl:copy-of
select="$LF" />
<xsl:comment>This document used {static-base-uri()} as the transform.</xsl:comment>
<xsl:copy-of
select="$LF" />
<xsl:processing-instruction name="xml-model"> schematypens="http://www.w3.org/2001/XMLSchema" title="OSCAL complete schema" href="https://raw.githubusercontent.com/usnistgov/OSCAL/v1.0.4/xml/schema/oscal_complete_schema.xsd" </xsl:processing-instruction>
<xsl:copy-of
select="$LF" />
<xsl:processing-instruction name="xml-model"> schematypens="http://purl.oclc.org/dsdl/schematron" title="FedRAMP SSP constraints" href="https://raw.githubusercontent.com/GSA/fedramp-automation/master/src/validations/rules/rev4/ssp.sch" phase="#ALL"</xsl:processing-instruction>
<xsl:if
test="local-name(/*) ne 'catalog'">
<xsl:message
terminate="true">Invalid input {local-name(/*)}</xsl:message>
</xsl:if>
<system-security-plan
uuid="{uuid:randomUUID()}"
xmlns="http://csrc.nist.gov/ns/oscal/1.0">
<xsl:call-template
name="metadata" />
<import-profile>
<xsl:attribute
name="href">{//link[@rel='resolution-source']/@href}</xsl:attribute>
</import-profile>
<xsl:call-template
name="system-characteristics" />
<xsl:call-template
name="system-implementation" />
<xsl:call-template
name="control-implementation" />
<xsl:call-template
name="back-matter" />
</system-security-plan>
</xsl:template>
<xsl:template
name="metadata">
<xsl:variable
as="xs:string"
name="FedRAMP-uuid"
select="uuid:randomUUID()" />
<metadata
xmlns="http://csrc.nist.gov/ns/oscal/1.0">
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP Content §4.1</xsl:comment>
<title>DRAFT, SAMPLE {/catalog/metadata/title} System Security Plan</title>
<published>{$UTC-datetime}</published>
<last-modified>{$UTC-datetime}</last-modified>
<version>0.2</version>
<oscal-version>1.0.2</oscal-version>
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP Content §4.6</xsl:comment>
<revisions>
<revision>
<published>{$UTC-datetime}</published>
<last-modified>{$UTC-datetime}</last-modified>
<version>0.2</version>
<oscal-version>1.0.2</oscal-version>
<prop
name="party-uuid"
ns="https://fedramp.gov/ns/oscal"
value="{$FedRAMP-uuid}" />
<remarks>
<p>Initial publication.</p>
</remarks>
</revision>
</revisions>
<!-- roles -->
<!-- FedRAMP -->
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP Content §4.6</xsl:comment>
<role
id="fedramp-pmo">
<title>FedRAMP Program Management Office</title>
</role>
<!-- ISO -->
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §4.6</xsl:comment>
<role
id="system-owner">
<title>Information System Owner</title>
<short-name>ISO</short-name>
</role>
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §4.7</xsl:comment>
<role
id="authorizing-official">
<title>Authorizing Official</title>
<short-name>AO</short-name>
</role>
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §4.8</xsl:comment>
<role
id="system-poc-management">
<title>Information System Management Point of Contact</title>
<short-name>ISMPoC</short-name>
</role>
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §4.9</xsl:comment>
<role
id="system-poc-technical">
<title>Information System Technical Point of Contact</title>
<short-name>ISTPoC</short-name>
</role>
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §4.9</xsl:comment>
<role
id="system-poc-other">
<title>Information System Other Point of Contact</title>
<short-name>ISOPoC</short-name>
</role>
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §4.10</xsl:comment>
<role
id="information-system-security-officer">
<title>Information System Security Officer</title>
<short-name>ISSO</short-name>
</role>
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §4.11</xsl:comment>
<role
id="authorizing-official-poc">
<title>Authorizing Official (AO) PoC</title>
<short-name>AOPoC</short-name>
</role>
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §5.2</xsl:comment>
<role
id="{$control-role}">
<title>Implemented Control Responsibility Role</title>
</role>
<!-- location(s) -->
<xsl:variable
as="xs:string"
name="location-uuid"
select="uuid:randomUUID()" />
<location
uuid="{$location-uuid}">
<address>
<country>US</country>
</address>
</location>
<!-- organization(s) -->
<!-- FedRAMP -->
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP Content §4.6</xsl:comment>
<party
type="organization"
uuid="{$FedRAMP-uuid}">
<name>FedRAMP Program Management Office</name>
<short-name>FedRAMP PMO</short-name>
<link
href="https://fedramp.gov" />
<email-address>[email protected]</email-address>
<address
type="work">
<addr-line>1800 F St. NW</addr-line>
<city>Washington</city>
<state>DC</state>
<postal-code>20006</postal-code>
<country>US</country>
</address>
</party>
<!-- CSP -->
<xsl:variable
as="xs:string"
name="csp-uuid"
select="uuid:randomUUID()" />
<party
type="organization"
uuid="{$csp-uuid}">
<name>Cloud Service Provider (CSP) Name</name>
</party>
<party
type="organization"
uuid="{$leveraged-authorization-party-uuid}">
<name>Leveraged authorization party name</name>
<short-name>Leveraged authorization party short name</short-name>
</party>
<!-- parties -->
<!-- ISO -->
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §4.6</xsl:comment>
<xsl:variable
as="xs:string"
name="ISO-uuid"
select="uuid:randomUUID()" />
<party
type="person"
uuid="{$ISO-uuid}">
<name>name</name>
<email-address>[email protected]</email-address>
<telephone-number>+1-303-499-7111</telephone-number>
<location-uuid>{$location-uuid}</location-uuid>
<member-of-organization>{$csp-uuid}</member-of-organization>
</party>
<!-- AO -->
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §4.7</xsl:comment>
<xsl:variable
as="xs:string"
name="AO-uuid"
select="uuid:randomUUID()" />
<party
type="person"
uuid="{$AO-uuid}">
<name>name</name>
<email-address>[email protected]</email-address>
<telephone-number>+1-303-499-7111</telephone-number>
<location-uuid>{$location-uuid}</location-uuid>
<member-of-organization>{$csp-uuid}</member-of-organization>
</party>
<!-- ISMPoC -->
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §4.8</xsl:comment>
<xsl:variable
as="xs:string"
name="ISMPoC-uuid"
select="uuid:randomUUID()" />
<party
type="person"
uuid="{$ISMPoC-uuid}">
<name>name</name>
<email-address>[email protected]</email-address>
<telephone-number>+1-303-499-7111</telephone-number>
<location-uuid>{$location-uuid}</location-uuid>
<member-of-organization>{$csp-uuid}</member-of-organization>
</party>
<!-- ISTPoC -->
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §4.9</xsl:comment>
<xsl:variable
as="xs:string"
name="ISTPoC-uuid"
select="uuid:randomUUID()" />
<party
type="person"
uuid="{$ISTPoC-uuid}">
<name>name</name>
<email-address>[email protected]</email-address>
<telephone-number>+1-303-499-7111</telephone-number>
<location-uuid>{$location-uuid}</location-uuid>
<member-of-organization>{$csp-uuid}</member-of-organization>
</party>
<!-- ISOPoC -->
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §4.9</xsl:comment>
<xsl:variable
as="xs:string"
name="ISOPoC-uuid"
select="uuid:randomUUID()" />
<party
type="person"
uuid="{$ISOPoC-uuid}">
<name>name</name>
<email-address>[email protected]</email-address>
<telephone-number>+1-303-499-7111</telephone-number>
<location-uuid>{$location-uuid}</location-uuid>
<member-of-organization>{$csp-uuid}</member-of-organization>
</party>
<!-- ISSO -->
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §4.10</xsl:comment>
<xsl:variable
as="xs:string"
name="ISSO-uuid"
select="uuid:randomUUID()" />
<party
type="person"
uuid="{$ISSO-uuid}">
<name>name</name>
<email-address>[email protected]</email-address>
<telephone-number>+1-303-499-7111</telephone-number>
<location-uuid>{$location-uuid}</location-uuid>
<member-of-organization>{$csp-uuid}</member-of-organization>
</party>
<!-- AOPoC -->
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §4.11</xsl:comment>
<xsl:variable
as="xs:string"
name="AOPoC-uuid"
select="uuid:randomUUID()" />
<party
type="person"
uuid="{$AOPoC-uuid}">
<name>name</name>
<email-address>[email protected]</email-address>
<telephone-number>+1-303-499-7111</telephone-number>
<location-uuid>{$location-uuid}</location-uuid>
<member-of-organization>{$csp-uuid}</member-of-organization>
</party>
<!-- irrr -->
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §5.2</xsl:comment>
<xsl:variable
as="xs:string"
name="irrr-uuid"
select="uuid:randomUUID()" />
<party
type="person"
uuid="{$irrr-uuid}">
<name>name</name>
<email-address>[email protected]</email-address>
<telephone-number>+1-303-499-7111</telephone-number>
<location-uuid>{$location-uuid}</location-uuid>
<member-of-organization>{$csp-uuid}</member-of-organization>
</party>
<!-- FedRAMP -->
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP Content §4.6</xsl:comment>
<responsible-party
role-id="fedramp-pmo">
<party-uuid>{$FedRAMP-uuid}</party-uuid>
</responsible-party>
<!-- ISO -->
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §4.6</xsl:comment>
<responsible-party
role-id="system-owner">
<party-uuid>{$ISO-uuid}</party-uuid>
</responsible-party>
<!-- AO -->
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §4.7</xsl:comment>
<responsible-party
role-id="authorizing-official">
<party-uuid>{$AO-uuid}</party-uuid>
</responsible-party>
<!-- ISMPoC -->
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §4.8</xsl:comment>
<responsible-party
role-id="system-poc-management">
<party-uuid>{$ISMPoC-uuid}</party-uuid>
</responsible-party>
<!-- ISTPoC -->
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §4.9</xsl:comment>
<responsible-party
role-id="system-poc-technical">
<party-uuid>{$ISTPoC-uuid}</party-uuid>
</responsible-party>
<!-- ISOPoC -->
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §4.9</xsl:comment>
<responsible-party
role-id="system-poc-other">
<party-uuid>{$ISOPoC-uuid}</party-uuid>
</responsible-party>
<!-- ISSO -->
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §4.10</xsl:comment>
<responsible-party
role-id="information-system-security-officer">
<party-uuid>{$ISSO-uuid}</party-uuid>
</responsible-party>
<!-- AOPoC -->
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §4.11</xsl:comment>
<responsible-party
role-id="authorizing-official-poc">
<party-uuid>{$AOPoC-uuid}</party-uuid>
</responsible-party>
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §5.2</xsl:comment>
<responsible-party
role-id="{$control-role}">
<party-uuid>{$irrr-uuid}</party-uuid>
</responsible-party>
</metadata>
</xsl:template>
<xsl:template
name="system-characteristics">
<system-characteristics
xmlns="http://csrc.nist.gov/ns/oscal/1.0">
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §4.1</xsl:comment>
<system-id
identifier-type="https://fedramp.gov">F00000000</system-id>
<system-name>Sample SSP</system-name>
<system-name-short>SSSP</system-name-short>
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §4.16</xsl:comment>
<description>
<p>Describe the purpose and functions of this system here in 32 words or more.</p>
</description>
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §4.2</xsl:comment>
<prop
name="authorization-type"
ns="https://fedramp.gov/ns/oscal"
value="fedramp-agency" />
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §4.13</xsl:comment>
<prop
name="cloud-service-model"
value="saas" />
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §4.14</xsl:comment>
<prop
name="cloud-deployment-model"
value="public-cloud" />
<!-- obsolete <prop
class="security-eauth"
name="security-eauth-level"
ns="https://fedramp.gov/ns/oscal"
value="2" />-->
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §4.2</xsl:comment>
<security-sensitivity-level>
<xsl:choose>
<xsl:when
test="matches(base-uri(), 'LOW')">
<xsl:text>fips-199-low</xsl:text>
</xsl:when>
<xsl:when
test="matches(base-uri(), 'MODERATE')">
<xsl:text>fips-199-moderate</xsl:text>
</xsl:when>
<xsl:when
test="matches(base-uri(), 'HIGH')">
<xsl:text>fips-199-high</xsl:text>
</xsl:when>
</xsl:choose>
</security-sensitivity-level>
<system-information>
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §6.4</xsl:comment>
<prop
name="privacy-sensitive"
value="yes" />
<xsl:comment> Attachment 4, PTA Qualifying Questions </xsl:comment>
<!--Does the ISA collect, maintain, or share PII in any identifiable form? -->
<prop
class="pta"
name="pta-1"
ns="https://fedramp.gov/ns/oscal"
value="yes" />
<xsl:comment> Does the ISA collect, maintain, or share PII information from or about the public? </xsl:comment>
<prop
class="pta"
name="pta-2"
ns="https://fedramp.gov/ns/oscal"
value="yes" />
<xsl:comment> Has a Privacy Impact Assessment ever been performed for the ISA? </xsl:comment>
<prop
class="pta"
name="pta-3"
ns="https://fedramp.gov/ns/oscal"
value="yes" />
<xsl:comment> Is there a Privacy Act System of Records Notice (SORN) for this ISA system? (If so, please specify the SORN ID.) </xsl:comment>
<prop
class="pta"
name="pta-4"
ns="https://fedramp.gov/ns/oscal"
value="no" />
<prop
class="pta"
name="sorn-id"
ns="https://fedramp.gov/ns/oscal"
value="[No SORN ID]" />
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §4.3</xsl:comment>
<information-type
uuid="{uuid:randomUUID()}">
<xsl:choose>
<xsl:when
test="matches(base-uri(), 'LOW')">
<title>Security Management</title>
<description>
<p>Security Management involves the physical protection of an organization’s personnel, assets, and facilities
(including security clearance management). Impacts to some information and information systems associated with
security management may affect the security of some critical infrastructure elements and key national assets
(e.g., nuclear power plants, dams, and other government facilities). Impact levels associated with security
information directly relate to the potential threat to human life associated with the asset(s) being protected
(e.g., consequences to the public of terrorist access to dams or nuclear power plants).</p>
</description>
<categorization
system="https://doi.org/10.6028/NIST.SP.800-60v2r1">
<information-type-id>C.3.1.3</information-type-id>
</categorization>
<confidentiality-impact>
<base>fips-199-moderate</base>
<selected>fips-199-moderate</selected>
</confidentiality-impact>
<integrity-impact>
<base>fips-199-moderate</base>
<selected>fips-199-moderate</selected>
</integrity-impact>
<availability-impact>
<base>fips-199-low</base>
<selected>fips-199-low</selected>
</availability-impact>
</xsl:when>
<xsl:when
test="matches(base-uri(), 'MODERATE')">
<title>Security Management</title>
<description>
<p>Security Management involves the physical protection of an organization’s personnel, assets, and facilities
(including security clearance management). Impacts to some information and information systems associated with
security management may affect the security of some critical infrastructure elements and key national assets
(e.g., nuclear power plants, dams, and other government facilities). Impact levels associated with security
information directly relate to the potential threat to human life associated with the asset(s) being protected
(e.g., consequences to the public of terrorist access to dams or nuclear power plants).</p>
</description>
<categorization
system="https://doi.org/10.6028/NIST.SP.800-60v2r1">
<information-type-id>C.3.1.3</information-type-id>
</categorization>
<confidentiality-impact>
<base>fips-199-moderate</base>
<selected>fips-199-moderate</selected>
</confidentiality-impact>
<integrity-impact>
<base>fips-199-moderate</base>
<selected>fips-199-moderate</selected>
</integrity-impact>
<availability-impact>
<base>fips-199-low</base>
<selected>fips-199-low</selected>
</availability-impact>
</xsl:when>
<xsl:when
test="matches(base-uri(), 'HIGH')">
<title>Global Trade</title>
<description>
<p>Global Trade refers to those activities the Federal Government undertakes to advance worldwide economic prosperity
by increasing trade through the opening of overseas markets and freeing the flow of goods, services, and capital.
Trade encompasses all activities associated with the importing and exporting of goods to and from the United
States. This includes goods declaration, fee payments, and delivery/shipment authorization. Export promotion
involves the development of opportunities for the expansion of U.S. exports. Merchandise inspection includes the
verification of goods and merchandise as well as the surveillance, interdiction, and investigation of
imports/exports in violation of various Customs laws. Tariffs/quotas monitoring refers to the monitoring and
modification of the schedules of items imported and exported to and from the United States.</p>
</description>
<categorization
system="https://doi.org/10.6028/NIST.SP.800-60v2r1">
<information-type-id>D.5.3</information-type-id>
</categorization>
<confidentiality-impact>
<base>fips-199-high</base>
<selected>fips-199-high</selected>
</confidentiality-impact>
<integrity-impact>
<base>fips-199-high</base>
<selected>fips-199-high</selected>
</integrity-impact>
<availability-impact>
<base>fips-199-high</base>
<selected>fips-199-high</selected>
</availability-impact>
</xsl:when>
</xsl:choose>
</information-type>
</system-information>
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §4.4</xsl:comment>
<xsl:variable
as="xs:string"
name="obj">
<xsl:choose>
<xsl:when
test="matches(base-uri(), 'LOW')">
<xsl:text>fips-199-low</xsl:text>
</xsl:when>
<xsl:when
test="matches(base-uri(), 'MODERATE')">
<xsl:text>fips-199-moderate</xsl:text>
</xsl:when>
<xsl:when
test="matches(base-uri(), 'HIGH')">
<xsl:text>fips-199-high</xsl:text>
</xsl:when>
</xsl:choose>
</xsl:variable>
<security-impact-level>
<security-objective-confidentiality>{$obj}</security-objective-confidentiality>
<security-objective-integrity>{$obj}</security-objective-integrity>
<security-objective-availability>{$obj}</security-objective-availability>
</security-impact-level>
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §4.12</xsl:comment>
<status
state="operational" />
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §4.17</xsl:comment>
<authorization-boundary>
<description />
<diagram
uuid="{$authorization-boundary-diagram-uuid}">
<description />
<link
href="#{$authorization-boundary-diagram-resource-uuid}"
rel="diagram" />
<caption />
</diagram>
</authorization-boundary>
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §4.22</xsl:comment>
<network-architecture>
<description />
<diagram
uuid="{$network-architecture-diagram-uuid}">
<description />
<link
href="#{$network-architecture-diagram-resource-uuid}"
rel="diagram" />
<caption />
</diagram>
</network-architecture>
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §4.24</xsl:comment>
<data-flow>
<description />
<diagram
uuid="{$data-flow-diagram-uuid}">
<description />
<link
href="#{$data-flow-diagram-resource-uuid}"
rel="diagram" />
<caption />
</diagram>
</data-flow>
</system-characteristics>
</xsl:template>
<xsl:template
name="system-implementation">
<system-implementation
xmlns="http://csrc.nist.gov/ns/oscal/1.0">
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §4.19</xsl:comment>
<prop
name="users-internal"
ns="https://fedramp.gov/ns/oscal"
value="0" />
<prop
name="users-external"
ns="https://fedramp.gov/ns/oscal"
value="0" />
<prop
name="users-internal-future"
ns="https://fedramp.gov/ns/oscal"
value="0" />
<prop
name="users-external-future"
ns="https://fedramp.gov/ns/oscal"
value="0" />
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §4.15</xsl:comment>
<leveraged-authorization
uuid="{$leveraged-authorization-uuid}">
<title>AWS GovCloud</title>
<prop
name="leveraged-system-identifier"
ns="https://fedramp.gov/ns/oscal"
value="F1603047866" />
<party-uuid>{$leveraged-authorization-party-uuid}</party-uuid>
<date-authorized>2015-01-01</date-authorized>
<remarks>
<p>Use one leveraged-authorization assembly for each leveraged system.</p>
<p>The link fields are optional, but preferred when known. Often, a leveraging system's SSP author will not have access to the
leveraged system's SSP, but should have access to the leveraged system's CRM.</p>
</remarks>
</leveraged-authorization>
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §5.2</xsl:comment>
<user
uuid="{$user-uuid}">
<prop
name="type"
value="internal" />
<prop
name="privilege-level"
value="privileged" />
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §4.18</xsl:comment>
<!-- FIXME: documentation -->
<prop
name="sensitivity"
ns="https://fedramp.gov/ns/oscal"
value="moderate" />
<role-id>
<xsl:value-of
select="$control-role" />
</role-id>
<authorized-privilege>
<title>title</title>
<function-performed>function</function-performed>
</authorized-privilege>
</user>
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §5.4.6</xsl:comment>
<component
type="this-system"
uuid="{$this-system-uuid}">
<title>This system</title>
<description>
<p>This component refers to the system itself.</p>
</description>
<status
state="operational" />
</component>
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans §4.15</xsl:comment>
<component
type="leveraged-system"
uuid="{uuid:randomUUID()}">
<title>Name of leveraged FedRAMP package</title>
<description>
<p>Description of leveraged FedRAMP package</p>
</description>
<prop
name="leveraged-authorization-uuid"
value="{$leveraged-authorization-uuid}" />
<prop
name="implementation-point"
value="external" />
<status
state="operational" />
</component>
<xsl:comment>See DRAFT Guide to OSCAL-based FedRAMP System Security Plans Appendix A</xsl:comment>
<component
type="validation"
uuid="772ea84a-0d4e-4225-b82f-66fdc498a934">
<title>FIPS 140-2 Validation</title>
<description>
<p>FIPS 140-2 Validation</p>
</description>
<prop
name="validation-reference"
value="3928" />
<link
href="https://csrc.nist.gov/projects/cryptographic-module-validation-program/certificate/3928"
rel="validation-details" />
<status
state="active" />
</component>
<component
type="DNS-authoritative-service"
uuid="{uuid:randomUUID()}">
<title>Authoritative DNS service</title>
<description>
<p>Authoritative DNS service for the following zones.</p>
</description>
<prop
name="asset-type"
value="service" />
<prop
name="DNS-zone"
value="example.com.">
<remarks>
<p>An example of a DNS zone (sometimes referred to as a domain or sub-domain). The zone name resembles a host name but is
specifically a DNS resource name of the SOA RR for the zone.</p>
</remarks>
</prop>
<prop
name="DNS-zone"
value="example.org" />
<status
state="operational" />
<protocol
name="domain">
<xsl:comment> ☚ Note the use of IANA service name (https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml) </xsl:comment>
</protocol>
<remarks>
<p>Each zone must have a DNS SOA RR at the authoritative service.</p>
</remarks>
</component>
<xsl:for-each
select="//control[matches(@id, '-1$')]">
<component
type="policy"
uuid="{$pp-uuid[@id = current()/@id]/@pol-c}">
<title>
<xsl:text>{prop[@name = 'label']/@value} - Policy document</xsl:text>
</title>
<description>
<p>
<xsl:text>{prop[@name = 'label']/@value} {title} - Policy</xsl:text>
</p>
</description>
<prop
name="asset-type"
value="document" />
<link
href="#{$pp-uuid[@id = current()/@id]/@pol-r}"
rel="policy" />
<status
state="operational" />
</component>
<component
type="procedure"
uuid="{$pp-uuid[@id = current()/@id]/@pro-c}">
<title>
<xsl:text>{prop[@name = 'label']/@value} - Procedure document</xsl:text>
</title>
<description>
<p>
<xsl:text>{prop[@name = 'label']/@value} {title} - Procedure</xsl:text>
</p>
</description>
<prop
name="asset-type"
value="document" />
<link
href="#{$pp-uuid[@id = current()/@id]/@pro-r}"
rel="procedure" />
<status
state="operational" />
</component>