File size: 7,521 Bytes
804899b 1a080a4 0b2c74f 1a080a4 5c671bc 1a080a4 5c671bc 0b2c74f a33d0f0 0b2c74f a33d0f0 1a080a4 0b2c74f 804899b |
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 |
---
license: cc-by-4.0
task_categories:
- question-answering
- text-generation
language:
- en
tags:
- cybersecurity
- compliance
- grc
- governance
- risk
- nist
- cis-controls
- cloud-security
size_categories:
- 1K<n<10K
dataset_info:
- config_name: alpaca
features:
- name: instruction
dtype: string
- name: input
dtype: string
- name: output
dtype: string
- name: source
dtype: string
- name: id
dtype: string
splits:
- name: train
num_bytes: 2801898
num_examples: 2154
download_size: 836652
dataset_size: 2801898
- config_name: chatml
features:
- name: messages
list:
- name: role
dtype: string
- name: content
dtype: string
- name: source
dtype: string
- name: id
dtype: string
splits:
- name: train
num_bytes: 3225039
num_examples: 2154
download_size: 851148
dataset_size: 3225039
configs:
- config_name: alpaca
data_files:
- split: train
path: alpaca/train-*
- config_name: chatml
data_files:
- split: train
path: chatml/train-*
---
# GRC Security Frameworks Dataset
A comprehensive dataset for training AI models on Governance, Risk, and Compliance (GRC) frameworks and cybersecurity standards.
## Dataset Overview
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.
### Covered Frameworks
- **CIS Controls v8.1.2** - 153 safeguards across 18 control families
- **Cloud Controls Matrix (CCM) v4.0.12** - 197 cloud security controls
- **NIST SP 800-53 Rev 5** - 200 security and privacy controls
- **NIST Cybersecurity Framework v2.0** - 22 subcategories across 6 functions
- **NIST AI Risk Management Framework v1.0** - 72 AI governance actions
## Dataset Structure
### Configurations
The dataset is available in two formats:
#### 1. **Alpaca Format** (`alpaca`)
Standard instruction-tuning format with three fields:
```json
{
"instruction": "What is CIS Control 1.1?",
"input": "Provide details about this safeguard.",
"output": "CIS Control 1.1: Establish and Maintain Detailed Enterprise Asset Inventory...",
"metadata": {
"source_framework": "CIS Controls v8.1.2",
"control_id": "1.1",
"dataset_type": "unified_controls"
}
}
```
#### 2. **ChatML Format** (`chatml`)
Conversational format with role-based messages:
```json
{
"messages": [
{
"role": "system",
"content": "You are a GRC compliance expert..."
},
{
"role": "user",
"content": "What is CIS Control 1.1?"
},
{
"role": "assistant",
"content": "CIS Control 1.1: Establish and Maintain Detailed Enterprise Asset Inventory..."
}
],
"metadata": {
"source_framework": "CIS Controls v8.1.2",
"control_id": "1.1",
"dataset_type": "unified_controls"
}
}
```
### Dataset Splits
- **Alpaca**: 3,225 examples
- Unified Controls: 797 examples
- Framework Mappings: 2,167 examples
- Assessment Questions: 261 examples
- **ChatML**: 3,072 examples
- Unified Controls: 644 examples
- Framework Mappings: 2,167 examples
- Assessment Questions: 261 examples
## Usage
### Load with Hugging Face Datasets
```python
from datasets import load_dataset
# Load Alpaca format
dataset = load_dataset("Zeezhu/grc-security-frameworks", "alpaca")
# Load ChatML format
dataset = load_dataset("Zeezhu/grc-security-frameworks", "chatml")
# Split into train/test
dataset = dataset['train'].train_test_split(test_size=0.1, seed=42)
train_data = dataset['train']
test_data = dataset['test']
```
### Example Training Use Case
This dataset is ideal for:
- Fine-tuning models for GRC advisory chatbots
- Training compliance automation systems
- Building security framework mapping tools
- Creating assessment question generators
- Developing control implementation assistants
## Dataset Creation
### Source Data
Original data extracted from official framework publications:
- CIS Controls v8.1.2 (JSON)
- CSA Cloud Controls Matrix v4.0.12 (JSON)
- NIST SP 800-53 Rev 5 (OSCAL JSON)
- NIST Cybersecurity Framework v2.0 (JSON)
- NIST AI RMF Playbook v1.0 (JSON)
### Processing Pipeline
1. **Extraction**: Parsed official JSON/OSCAL files
2. **Normalization**: Unified schema across frameworks
3. **Augmentation**: Generated Q&A pairs and mappings
4. **Validation**: Quality checks and format verification
5. **Formatting**: Converted to Alpaca and ChatML formats
### Quality Assurance
- ✅ 100% format validation
- ✅ No duplicates across datasets
- ✅ Consistent metadata tagging
- ✅ Source attribution for all examples
- ✅ Manual spot-checks of content accuracy
## Content Categories
### 1. Unified Controls (644-797 examples)
Individual control explanations with:
- Control ID and title
- Full description
- Implementation guidance
- Asset type relevance
- Security function mapping
### 2. Framework Mappings (2,167 examples)
Cross-framework relationships showing:
- How controls map between frameworks
- Related controls across standards
- Equivalent requirements
- Compliance alignment
### 3. Assessment Questions (261 examples)
Interview-style questions for:
- Control implementation verification
- Compliance gap analysis
- Audit preparation
- Risk assessment
## Limitations
- Dataset reflects framework versions as of generation date
- Does not include proprietary or restricted frameworks
- Focus on technical controls; limited governance/policy content
- English language only
- May not reflect latest framework updates after 2024
## Ethical Considerations
- **Intended Use**: Educational, compliance automation, GRC advisory systems
- **Misuse Risks**: Should not replace professional security audits or legal compliance advice
- **Accuracy**: While sourced from official frameworks, always verify critical compliance decisions
- **Bias**: Reflects cybersecurity industry standards and may not cover all global regulations
## Citation
If you use this dataset, please cite:
```bibtex
@dataset{grc_security_frameworks_2025,
title={GRC Security Frameworks Dataset},
author={Zeezhu},
year={2025},
publisher={Hugging Face},
url={https://huggingface.co/datasets/Zeezhu/grc-security-frameworks}
}
```
## License
This dataset is released under **CC BY 4.0** (Creative Commons Attribution 4.0 International).
You are free to:
- **Share** — copy and redistribute the material
- **Adapt** — remix, transform, and build upon the material
Under the following terms:
- **Attribution** — You must give appropriate credit
### Framework Licenses
Source frameworks retain their original licenses:
- CIS Controls: CIS Terms of Use
- NIST publications: Public domain (U.S. Government work)
- CSA CCM: Creative Commons Attribution 4.0
## Contact
For questions, issues, or contributions:
- **Hugging Face**: [@Zeezhu](https://huggingface.co/Zeezhu)
- **Dataset Repository**: [grc-security-frameworks](https://huggingface.co/datasets/Zeezhu/grc-security-frameworks)
## Version History
- **v1.0** (2025): Initial release
- 3,225 Alpaca examples
- 3,072 ChatML examples
- 5 major frameworks covered
- 644 unified controls
- 2,167 framework mappings
- 261 assessment questions
## Acknowledgments
Special thanks to:
- Center for Internet Security (CIS) for CIS Controls
- Cloud Security Alliance (CSA) for CCM
- National Institute of Standards and Technology (NIST) for SP 800-53, CSF, and AI RMF
- The open-source compliance community
|