用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/CyberStrikeus/CyberStrike --skill cis-gcp-foundations-1-10命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | cis-gcp-foundations-1.10 |
| description | Ensure KMS Encryption Keys Are Rotated Within a Period of 90 Days |
| category | cis-gcp-foundations |
| version | 4.0.0 |
| author | cyberstrike-official |
| tags | ["cis","gcp","iam","kms","encryption"] |
| cis_id | 1.10 |
| cis_benchmark | CIS Google Cloud Platform Foundation Benchmark v4.0.0 |
| tech_stack | ["gcp"] |
| cwe_ids | [] |
| chains_with | [] |
| prerequisites | [] |
| severity_boost | {} |
Google Cloud Key Management Service stores cryptographic keys in a hierarchical structure designed for useful and elegant access control management.
The format for the rotation schedule depends on the client library that is used. For the gcloud command-line tool, the next rotation time must be in ISO or RFC3339 format, and the rotation period must be in the form INTEGER[UNIT], where units can be one of seconds (s), minutes (m), hours (h) or days (d).
Set a key rotation period and starting time. A key can be created with a specified rotation period, which is the time between when new key versions are generated automatically. A key can also be created with a specified next rotation time. A key is a named object representing a cryptographic key used for a specific purpose. The key material, the actual bits used for encryption, can change over time as new key versions are created.
A key is used to protect some corpus of data. A collection of files could be encrypted with the same key and people with decrypt permissions on that key would be able to decrypt those files. Therefore, it's necessary to make sure the rotation period is set to a specific time.
After a successful key rotation, the older key version is required in order to decrypt the data encrypted by that previous key version.
Cryptographic Keys by visiting: https://console.cloud.google.com/security/kmsNext Rotation set for less than 90 days from the current date.ROTATION_PERIOD and NEXT_ROTATION_TIME for each key:gcloud kms keys list --keyring=<KEY_RING> --location=<LOCATION> --format=json'(rotationPeriod)'
Ensure outcome values for rotationPeriod and nextRotationTime satisfy the below criteria:
rotationPeriod is <= 129600mrotationPeriod is <= 7776000srotationPeriod is <= 2160hrotationPeriod is <= 90dnextRotationTime is <= 90days from current DATECryptographic Keys by visiting: https://console.cloud.google.com/security/kmsRight side pop up the blade (3 dots).Edit rotation period.Select a new rotation period in days which should be less than 90 and then choose Starting on date (date from which the rotation period begins).ROTATION_PERIOD and NEXT_ROTATION_TIME for each key:gcloud kms keys update new --keyring=KEY_RING --location=LOCATION --next-rotation-time=NEXT_ROTATION_TIME --rotation-period=ROTATION_PERIOD
By default, KMS encryption keys are rotated every 90 days.
| Controls Version | Control | IG 1 | IG 2 | IG 3 |
|---|---|---|---|---|
| v8 | 3.11 Encrypt Sensitive Data at Rest | x | x | |
| v7 | 14.8 Encrypt Sensitive Information at Rest | x |