Zeezhu commited on
Commit
804899b
·
verified ·
1 Parent(s): f5f4208

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +246 -246
README.md CHANGED
@@ -1,246 +1,246 @@
1
- ---
2
- license: cc-by-4.0
3
- task_categories:
4
- - question-answering
5
- - text-generation
6
- language:
7
- - en
8
- tags:
9
- - cybersecurity
10
- - compliance
11
- - grc
12
- - governance
13
- - risk
14
- - nist
15
- - cis-controls
16
- - cloud-security
17
- size_categories:
18
- - 1K<n<10K
19
- ---
20
-
21
- # GRC Security Frameworks Dataset
22
-
23
- A comprehensive dataset for training AI models on Governance, Risk, and Compliance (GRC) frameworks and cybersecurity standards.
24
-
25
- ## Dataset Overview
26
-
27
- This dataset contains **3,225 high-quality training examples** covering major security and compliance frameworks. It's designed for fine-tuning large language models to become expert GRC assistants.
28
-
29
- ### Covered Frameworks
30
-
31
- - **CIS Controls v8.1.2** - 153 safeguards across 18 control families
32
- - **Cloud Controls Matrix (CCM) v4.0.12** - 197 cloud security controls
33
- - **NIST SP 800-53 Rev 5** - 200 security and privacy controls
34
- - **NIST Cybersecurity Framework v2.0** - 22 subcategories across 6 functions
35
- - **NIST AI Risk Management Framework v1.0** - 72 AI governance actions
36
-
37
- ## Dataset Structure
38
-
39
- ### Configurations
40
-
41
- The dataset is available in two formats:
42
-
43
- #### 1. **Alpaca Format** (`alpaca`)
44
- Standard instruction-tuning format with three fields:
45
-
46
- ```json
47
- {
48
- "instruction": "What is CIS Control 1.1?",
49
- "input": "Provide details about this safeguard.",
50
- "output": "CIS Control 1.1: Establish and Maintain Detailed Enterprise Asset Inventory...",
51
- "metadata": {
52
- "source_framework": "CIS Controls v8.1.2",
53
- "control_id": "1.1",
54
- "dataset_type": "unified_controls"
55
- }
56
- }
57
- ```
58
-
59
- #### 2. **ChatML Format** (`chatml`)
60
- Conversational format with role-based messages:
61
-
62
- ```json
63
- {
64
- "messages": [
65
- {
66
- "role": "system",
67
- "content": "You are a GRC compliance expert..."
68
- },
69
- {
70
- "role": "user",
71
- "content": "What is CIS Control 1.1?"
72
- },
73
- {
74
- "role": "assistant",
75
- "content": "CIS Control 1.1: Establish and Maintain Detailed Enterprise Asset Inventory..."
76
- }
77
- ],
78
- "metadata": {
79
- "source_framework": "CIS Controls v8.1.2",
80
- "control_id": "1.1",
81
- "dataset_type": "unified_controls"
82
- }
83
- }
84
- ```
85
-
86
- ### Dataset Splits
87
-
88
- - **Alpaca**: 3,225 examples
89
- - Unified Controls: 797 examples
90
- - Framework Mappings: 2,167 examples
91
- - Assessment Questions: 261 examples
92
-
93
- - **ChatML**: 3,072 examples
94
- - Unified Controls: 644 examples
95
- - Framework Mappings: 2,167 examples
96
- - Assessment Questions: 261 examples
97
-
98
- ## Usage
99
-
100
- ### Load with Hugging Face Datasets
101
-
102
- ```python
103
- from datasets import load_dataset
104
-
105
- # Load Alpaca format
106
- dataset = load_dataset("Zeezhu/grc-security-frameworks", "alpaca")
107
-
108
- # Load ChatML format
109
- dataset = load_dataset("Zeezhu/grc-security-frameworks", "chatml")
110
-
111
- # Split into train/test
112
- dataset = dataset['train'].train_test_split(test_size=0.1, seed=42)
113
- train_data = dataset['train']
114
- test_data = dataset['test']
115
- ```
116
-
117
- ### Example Training Use Case
118
-
119
- This dataset is ideal for:
120
- - Fine-tuning models for GRC advisory chatbots
121
- - Training compliance automation systems
122
- - Building security framework mapping tools
123
- - Creating assessment question generators
124
- - Developing control implementation assistants
125
-
126
- ## Dataset Creation
127
-
128
- ### Source Data
129
-
130
- Original data extracted from official framework publications:
131
- - CIS Controls v8.1.2 (JSON)
132
- - CSA Cloud Controls Matrix v4.0.12 (JSON)
133
- - NIST SP 800-53 Rev 5 (OSCAL JSON)
134
- - NIST Cybersecurity Framework v2.0 (JSON)
135
- - NIST AI RMF Playbook v1.0 (JSON)
136
-
137
- ### Processing Pipeline
138
-
139
- 1. **Extraction**: Parsed official JSON/OSCAL files
140
- 2. **Normalization**: Unified schema across frameworks
141
- 3. **Augmentation**: Generated Q&A pairs and mappings
142
- 4. **Validation**: Quality checks and format verification
143
- 5. **Formatting**: Converted to Alpaca and ChatML formats
144
-
145
- ### Quality Assurance
146
-
147
- - ✅ 100% format validation
148
- - ✅ No duplicates across datasets
149
- - ✅ Consistent metadata tagging
150
- - ✅ Source attribution for all examples
151
- - ✅ Manual spot-checks of content accuracy
152
-
153
- ## Content Categories
154
-
155
- ### 1. Unified Controls (644-797 examples)
156
- Individual control explanations with:
157
- - Control ID and title
158
- - Full description
159
- - Implementation guidance
160
- - Asset type relevance
161
- - Security function mapping
162
-
163
- ### 2. Framework Mappings (2,167 examples)
164
- Cross-framework relationships showing:
165
- - How controls map between frameworks
166
- - Related controls across standards
167
- - Equivalent requirements
168
- - Compliance alignment
169
-
170
- ### 3. Assessment Questions (261 examples)
171
- Interview-style questions for:
172
- - Control implementation verification
173
- - Compliance gap analysis
174
- - Audit preparation
175
- - Risk assessment
176
-
177
- ## Limitations
178
-
179
- - Dataset reflects framework versions as of generation date
180
- - Does not include proprietary or restricted frameworks
181
- - Focus on technical controls; limited governance/policy content
182
- - English language only
183
- - May not reflect latest framework updates after 2024
184
-
185
- ## Ethical Considerations
186
-
187
- - **Intended Use**: Educational, compliance automation, GRC advisory systems
188
- - **Misuse Risks**: Should not replace professional security audits or legal compliance advice
189
- - **Accuracy**: While sourced from official frameworks, always verify critical compliance decisions
190
- - **Bias**: Reflects cybersecurity industry standards and may not cover all global regulations
191
-
192
- ## Citation
193
-
194
- If you use this dataset, please cite:
195
-
196
- ```bibtex
197
- @dataset{grc_security_frameworks_2024,
198
- title={GRC Security Frameworks Dataset},
199
- author={Zeezhu},
200
- year={2024},
201
- publisher={Hugging Face},
202
- url={https://huggingface.co/datasets/Zeezhu/grc-security-frameworks}
203
- }
204
- ```
205
-
206
- ## License
207
-
208
- This dataset is released under **CC BY 4.0** (Creative Commons Attribution 4.0 International).
209
-
210
- You are free to:
211
- - **Share** — copy and redistribute the material
212
- - **Adapt** — remix, transform, and build upon the material
213
-
214
- Under the following terms:
215
- - **Attribution** — You must give appropriate credit
216
-
217
- ### Framework Licenses
218
-
219
- Source frameworks retain their original licenses:
220
- - CIS Controls: CIS Terms of Use
221
- - NIST publications: Public domain (U.S. Government work)
222
- - CSA CCM: Creative Commons Attribution 4.0
223
-
224
- ## Contact
225
-
226
- For questions, issues, or contributions:
227
- - **Hugging Face**: [@Zeezhu](https://huggingface.co/Zeezhu)
228
- - **Dataset Repository**: [grc-security-frameworks](https://huggingface.co/datasets/Zeezhu/grc-security-frameworks)
229
-
230
- ## Version History
231
-
232
- - **v1.0** (2024): Initial release
233
- - 3,225 Alpaca examples
234
- - 3,072 ChatML examples
235
- - 5 major frameworks covered
236
- - 644 unified controls
237
- - 2,167 framework mappings
238
- - 261 assessment questions
239
-
240
- ## Acknowledgments
241
-
242
- Special thanks to:
243
- - Center for Internet Security (CIS) for CIS Controls
244
- - Cloud Security Alliance (CSA) for CCM
245
- - National Institute of Standards and Technology (NIST) for SP 800-53, CSF, and AI RMF
246
- - The open-source compliance community
 
1
+ ---
2
+ license: cc-by-4.0
3
+ task_categories:
4
+ - question-answering
5
+ - text-generation
6
+ language:
7
+ - en
8
+ tags:
9
+ - cybersecurity
10
+ - compliance
11
+ - grc
12
+ - governance
13
+ - risk
14
+ - nist
15
+ - cis-controls
16
+ - cloud-security
17
+ size_categories:
18
+ - 1K<n<10K
19
+ ---
20
+
21
+ # GRC Security Frameworks Dataset
22
+
23
+ A comprehensive dataset for training AI models on Governance, Risk, and Compliance (GRC) frameworks and cybersecurity standards.
24
+
25
+ ## Dataset Overview
26
+
27
+ This dataset contains **3,225 high-quality training examples** covering major security and compliance frameworks. It's designed for fine-tuning large language models to become expert GRC assistants.
28
+
29
+ ### Covered Frameworks
30
+
31
+ - **CIS Controls v8.1.2** - 153 safeguards across 18 control families
32
+ - **Cloud Controls Matrix (CCM) v4.0.12** - 197 cloud security controls
33
+ - **NIST SP 800-53 Rev 5** - 200 security and privacy controls
34
+ - **NIST Cybersecurity Framework v2.0** - 22 subcategories across 6 functions
35
+ - **NIST AI Risk Management Framework v1.0** - 72 AI governance actions
36
+
37
+ ## Dataset Structure
38
+
39
+ ### Configurations
40
+
41
+ The dataset is available in two formats:
42
+
43
+ #### 1. **Alpaca Format** (`alpaca`)
44
+ Standard instruction-tuning format with three fields:
45
+
46
+ ```json
47
+ {
48
+ "instruction": "What is CIS Control 1.1?",
49
+ "input": "Provide details about this safeguard.",
50
+ "output": "CIS Control 1.1: Establish and Maintain Detailed Enterprise Asset Inventory...",
51
+ "metadata": {
52
+ "source_framework": "CIS Controls v8.1.2",
53
+ "control_id": "1.1",
54
+ "dataset_type": "unified_controls"
55
+ }
56
+ }
57
+ ```
58
+
59
+ #### 2. **ChatML Format** (`chatml`)
60
+ Conversational format with role-based messages:
61
+
62
+ ```json
63
+ {
64
+ "messages": [
65
+ {
66
+ "role": "system",
67
+ "content": "You are a GRC compliance expert..."
68
+ },
69
+ {
70
+ "role": "user",
71
+ "content": "What is CIS Control 1.1?"
72
+ },
73
+ {
74
+ "role": "assistant",
75
+ "content": "CIS Control 1.1: Establish and Maintain Detailed Enterprise Asset Inventory..."
76
+ }
77
+ ],
78
+ "metadata": {
79
+ "source_framework": "CIS Controls v8.1.2",
80
+ "control_id": "1.1",
81
+ "dataset_type": "unified_controls"
82
+ }
83
+ }
84
+ ```
85
+
86
+ ### Dataset Splits
87
+
88
+ - **Alpaca**: 3,225 examples
89
+ - Unified Controls: 797 examples
90
+ - Framework Mappings: 2,167 examples
91
+ - Assessment Questions: 261 examples
92
+
93
+ - **ChatML**: 3,072 examples
94
+ - Unified Controls: 644 examples
95
+ - Framework Mappings: 2,167 examples
96
+ - Assessment Questions: 261 examples
97
+
98
+ ## Usage
99
+
100
+ ### Load with Hugging Face Datasets
101
+
102
+ ```python
103
+ from datasets import load_dataset
104
+
105
+ # Load Alpaca format
106
+ dataset = load_dataset("Zeezhu/grc-security-frameworks", "alpaca")
107
+
108
+ # Load ChatML format
109
+ dataset = load_dataset("Zeezhu/grc-security-frameworks", "chatml")
110
+
111
+ # Split into train/test
112
+ dataset = dataset['train'].train_test_split(test_size=0.1, seed=42)
113
+ train_data = dataset['train']
114
+ test_data = dataset['test']
115
+ ```
116
+
117
+ ### Example Training Use Case
118
+
119
+ This dataset is ideal for:
120
+ - Fine-tuning models for GRC advisory chatbots
121
+ - Training compliance automation systems
122
+ - Building security framework mapping tools
123
+ - Creating assessment question generators
124
+ - Developing control implementation assistants
125
+
126
+ ## Dataset Creation
127
+
128
+ ### Source Data
129
+
130
+ Original data extracted from official framework publications:
131
+ - CIS Controls v8.1.2 (JSON)
132
+ - CSA Cloud Controls Matrix v4.0.12 (JSON)
133
+ - NIST SP 800-53 Rev 5 (OSCAL JSON)
134
+ - NIST Cybersecurity Framework v2.0 (JSON)
135
+ - NIST AI RMF Playbook v1.0 (JSON)
136
+
137
+ ### Processing Pipeline
138
+
139
+ 1. **Extraction**: Parsed official JSON/OSCAL files
140
+ 2. **Normalization**: Unified schema across frameworks
141
+ 3. **Augmentation**: Generated Q&A pairs and mappings
142
+ 4. **Validation**: Quality checks and format verification
143
+ 5. **Formatting**: Converted to Alpaca and ChatML formats
144
+
145
+ ### Quality Assurance
146
+
147
+ - ✅ 100% format validation
148
+ - ✅ No duplicates across datasets
149
+ - ✅ Consistent metadata tagging
150
+ - ✅ Source attribution for all examples
151
+ - ✅ Manual spot-checks of content accuracy
152
+
153
+ ## Content Categories
154
+
155
+ ### 1. Unified Controls (644-797 examples)
156
+ Individual control explanations with:
157
+ - Control ID and title
158
+ - Full description
159
+ - Implementation guidance
160
+ - Asset type relevance
161
+ - Security function mapping
162
+
163
+ ### 2. Framework Mappings (2,167 examples)
164
+ Cross-framework relationships showing:
165
+ - How controls map between frameworks
166
+ - Related controls across standards
167
+ - Equivalent requirements
168
+ - Compliance alignment
169
+
170
+ ### 3. Assessment Questions (261 examples)
171
+ Interview-style questions for:
172
+ - Control implementation verification
173
+ - Compliance gap analysis
174
+ - Audit preparation
175
+ - Risk assessment
176
+
177
+ ## Limitations
178
+
179
+ - Dataset reflects framework versions as of generation date
180
+ - Does not include proprietary or restricted frameworks
181
+ - Focus on technical controls; limited governance/policy content
182
+ - English language only
183
+ - May not reflect latest framework updates after 2024
184
+
185
+ ## Ethical Considerations
186
+
187
+ - **Intended Use**: Educational, compliance automation, GRC advisory systems
188
+ - **Misuse Risks**: Should not replace professional security audits or legal compliance advice
189
+ - **Accuracy**: While sourced from official frameworks, always verify critical compliance decisions
190
+ - **Bias**: Reflects cybersecurity industry standards and may not cover all global regulations
191
+
192
+ ## Citation
193
+
194
+ If you use this dataset, please cite:
195
+
196
+ ```bibtex
197
+ @dataset{grc_security_frameworks_2025,
198
+ title={GRC Security Frameworks Dataset},
199
+ author={Zeezhu},
200
+ year={2025},
201
+ publisher={Hugging Face},
202
+ url={https://huggingface.co/datasets/Zeezhu/grc-security-frameworks}
203
+ }
204
+ ```
205
+
206
+ ## License
207
+
208
+ This dataset is released under **CC BY 4.0** (Creative Commons Attribution 4.0 International).
209
+
210
+ You are free to:
211
+ - **Share** — copy and redistribute the material
212
+ - **Adapt** — remix, transform, and build upon the material
213
+
214
+ Under the following terms:
215
+ - **Attribution** — You must give appropriate credit
216
+
217
+ ### Framework Licenses
218
+
219
+ Source frameworks retain their original licenses:
220
+ - CIS Controls: CIS Terms of Use
221
+ - NIST publications: Public domain (U.S. Government work)
222
+ - CSA CCM: Creative Commons Attribution 4.0
223
+
224
+ ## Contact
225
+
226
+ For questions, issues, or contributions:
227
+ - **Hugging Face**: [@Zeezhu](https://huggingface.co/Zeezhu)
228
+ - **Dataset Repository**: [grc-security-frameworks](https://huggingface.co/datasets/Zeezhu/grc-security-frameworks)
229
+
230
+ ## Version History
231
+
232
+ - **v1.0** (2025): Initial release
233
+ - 3,225 Alpaca examples
234
+ - 3,072 ChatML examples
235
+ - 5 major frameworks covered
236
+ - 644 unified controls
237
+ - 2,167 framework mappings
238
+ - 261 assessment questions
239
+
240
+ ## Acknowledgments
241
+
242
+ Special thanks to:
243
+ - Center for Internet Security (CIS) for CIS Controls
244
+ - Cloud Security Alliance (CSA) for CCM
245
+ - National Institute of Standards and Technology (NIST) for SP 800-53, CSF, and AI RMF
246
+ - The open-source compliance community