6output formats, and exit behavior. For a guided first scan, start with the6output formats, and exit behavior. For a guided first scan, start with the
7[CLI quickstart](https://learn.chatgpt.com/docs/security/cli).7[CLI quickstart](https://learn.chatgpt.com/docs/security/cli).
8 8
9The `@openai/codex-security` package is public. Running scans requires Codex9The `@openai/codex-security` package is public. Scans using OpenAI inference
10 Security access. Scans use your local permissions and don't pause for10 require Codex Security access. Scans use your local permissions and don't
11 approval. Before you start, review [Local scan11 pause for approval. Before you start, review [Local scan
12 permissions](#local-scan-permissions).12 permissions](#local-scan-permissions).
13 13
14Run the CLI with `npx @openai/codex-security`.14Run the CLI with `npx @openai/codex-security`.
179 179
180### Use Amazon Bedrock180### Use Amazon Bedrock
181 181
182Select Amazon Bedrock with `--provider amazon-bedrock` and specify an explicit182Use `--provider amazon-bedrock` and a Bedrock model ID with `scan` or
183Bedrock model with `--model`:183`bulk-scan`. After AWS provisions model access, scans use AWS credentials
184without `--auth`, an OpenAI login, or an OpenAI API key.
185
186#### Daybreak Blue and Daybreak Red
187
188Daybreak Blue and Daybreak Red require Trusted Access for Cyber approval.
189To request access, submit the [enterprise access application](https://openai.com/form/enterprise-trusted-access-for-cyber/) or contact your OpenAI account team.
190After approval, work with your AWS account team to provision model access
191on Amazon Bedrock.
192
193Daybreak Red approval does not include GPT-5.6-Cyber access. GPT-5.6-Cyber
194requires separate U.S. government (USG) approval. Ask your OpenAI account
195team to request this additional approval before provisioning GPT-5.6-Cyber
196on Amazon Bedrock. See the [Daybreak access requirements](https://help.openai.com/en/articles/20001258-openai-daybreak-trusted-access-for-cyber-overview).
197
198| Access | Bedrock model ID | AWS region |
199| ------------- | ---------------------------------- | ----------- |
200| Daybreak Blue | `openai.gpt-daybreak-blue-5.6-sol` | `us-east-2` |
201| Daybreak Red | `openai.gpt-5.6-cyber` | `us-east-2` |
202
203For availability, check the AWS model cards for [Daybreak Blue](https://docs.aws.amazon.com/en_en/bedrock/latest/userguide/model-card-openai-gpt-daybreak-blue-56-sol.html) and [Daybreak Red](https://docs.aws.amazon.com/en_en/bedrock/latest/userguide/model-card-openai-gpt-56-cyber.html).
204
205To scan with Daybreak Blue, replace `<aws-profile-name>` with an AWS profile
206that has access to the Daybreak Blue model:
207
208```bash
209export AWS_PROFILE="<aws-profile-name>"
210export AWS_REGION="us-east-2"
211npx @openai/codex-security scan . \
212 --provider amazon-bedrock \
213 --model openai.gpt-daybreak-blue-5.6-sol --effort high
214```
215
216To scan with Daybreak Red, choose an AWS profile with GPT-5.6-Cyber access.
217This may differ from the profile you use for Daybreak Blue:
184 218
185```bash219```bash
220export AWS_PROFILE="<aws-profile-name>"
221export AWS_REGION="us-east-2"
186npx @openai/codex-security scan . \222npx @openai/codex-security scan . \
187 --provider amazon-bedrock \223 --provider amazon-bedrock \
188 --model openai.gpt-5.6-terra224 --model openai.gpt-5.6-cyber --effort high
225```
226
227You can also authenticate with `AWS_BEARER_TOKEN_BEDROCK` or the standard
228AWS credential chain. Temporary access keys require `AWS_SESSION_TOKEN`.
229Set credentials and `AWS_REGION` in the same shell or CI job as the scan.
230
231#### Local results and access checks
232
233Saved local reports, `scans show`, and `export` work without cloud credentials.
234Uploading findings to Codex Security Cloud requires a separate ChatGPT
235sign-in and access to the destination.
236
237`info` and `scan --dry-run` don't test AWS credentials or model access. Run a
238scan to check access. For AWS authentication or access-denied errors, check
239your credentials, region, and model permissions.
240
241#### Bedrock release status
242
243`@openai/codex-security@0.1.31` supports Amazon Bedrock scans. This version
244doesn't provide cost estimates or support `--max-cost` for the Daybreak Blue
245and Daybreak Red model IDs above.
246
247Check your installed package and bundled Codex versions:
248
249```bash
250npx @openai/codex-security --version
251npx @openai/codex-security info --json
189```252```
190 253
191Set `AWS_REGION` and authenticate with `AWS_BEARER_TOKEN_BEDROCK`, standard AWS254Use `npx @openai/codex-security scan --help` to check the options available
192access keys, an AWS profile, web identity, container credentials, or the255in your installed version.
193default AWS credential chain. Bedrock scans use AWS credentials instead of
194`--auth`, ChatGPT sign-in, or an OpenAI API key. Both `scan` and `bulk-scan`
195support `--provider`.
196 256
197### Select the scan target257### Select the scan target
198 258