Skip to content

Commit

Permalink
Sync automatic updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jpower432 authored and trestle-bot[bot] committed Mar 12, 2024
1 parent 64d086c commit 481f814
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 2 deletions.
6 changes: 5 additions & 1 deletion component-definitions/example/component-definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"uuid": "2c886a12-6ffa-41f9-a304-fec473e6a7ec",
"metadata": {
"title": "Component definition for example",
"last-modified": "2024-03-12T20:06:19+00:00",
"last-modified": "2024-03-12T20:07:14.430687+00:00",
"version": "1.0",
"oscal-version": "1.0.4"
},
Expand Down Expand Up @@ -68,6 +68,10 @@
"name": "Rule_Id",
"ns": "https://oscal-compass.github.io/compliance-trestle/schemas/oscal",
"value": "Test-rule_001"
},
{
"name": "implementation-status",
"value": "planned"
}
]
}
Expand Down
18 changes: 17 additions & 1 deletion component-definitions/test_comp/component-definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"uuid": "1ab73aee-4eef-4f7a-aec9-50a4554dc7be",
"metadata": {
"title": "Component definition for test_comp",
"last-modified": "2024-03-12T20:06:19+00:00",
"last-modified": "2024-03-12T20:07:14.322243+00:00",
"version": "1.0",
"oscal-version": "1.0.4"
},
Expand Down Expand Up @@ -104,6 +104,10 @@
"name": "Rule_Id",
"ns": "https://oscal-compass.github.io/compliance-trestle/schemas/oscal",
"value": "rule-sc-1"
},
{
"name": "implementation-status",
"value": "planned"
}
]
},
Expand All @@ -116,6 +120,10 @@
"name": "Rule_Id",
"ns": "https://oscal-compass.github.io/compliance-trestle/schemas/oscal",
"value": "rule-ac-2"
},
{
"name": "implementation-status",
"value": "planned"
}
]
},
Expand All @@ -128,6 +136,10 @@
"name": "Rule_Id",
"ns": "https://oscal-compass.github.io/compliance-trestle/schemas/oscal",
"value": "rule-ac-1"
},
{
"name": "implementation-status",
"value": "planned"
}
]
},
Expand All @@ -140,6 +152,10 @@
"name": "Rule_Id",
"ns": "https://oscal-compass.github.io/compliance-trestle/schemas/oscal",
"value": "rule-ac-4.4"
},
{
"name": "implementation-status",
"value": "planned"
}
]
}
Expand Down
22 changes: 22 additions & 0 deletions markdown/components/example/Example/source_001/ac/ac-1.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,28 @@ x-trestle-global:
title: FedRAMP Rev 5 High Baseline
href: profiles/fedramp_rev5_high/profile.json
sort-id: ac-01
x-trestle-rules-params:
Example:
- name: prm_1
description: prm_1 description
options: "{'default': '5%', '5pc': '5%', '10pc': '10%', '15pc': '15%', '20pc':
'20%'}"
rule-id: Test-rule_001
x-trestle-comp-def-rules-param-vals:
# You may set new values for rule parameters by adding
#
# component-values:
# - value 1
# - value 2
#
# below a section of values:
# The values list refers to the values as set by the components, and the component-values are the new values
# to be placed in SetParameters of the component definition.
#
Example:
- name: prm_1
values:
- 5%
---

# ac-1 - \[Access Control\] Policy and Procedures
Expand Down
22 changes: 22 additions & 0 deletions markdown/components/test_comp/My Comp/example/ac/ac-1.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,28 @@ x-trestle-global:
title: Example
href: trestle://profiles/example/profile.json
sort-id: ac-01
x-trestle-rules-params:
My Comp:
- name: prm_1
description: prm_1 description
options: "{'default': '5%', '5pc': '5%', '10pc': '10%', '15pc': '15%', '20pc':
'20%'}"
rule-id: rule-ac-1
x-trestle-comp-def-rules-param-vals:
# You may set new values for rule parameters by adding
#
# component-values:
# - value 1
# - value 2
#
# below a section of values:
# The values list refers to the values as set by the components, and the component-values are the new values
# to be placed in SetParameters of the component definition.
#
My Comp:
- name: prm_1
values:
- 5%
---

# ac-1 - \[Access Control\] Policy and Procedures
Expand Down

0 comments on commit 481f814

Please sign in to comment.