# Report

Generate an AI-powered analysis report of your Salesforce repository. Supports environment variables for CI/CD: ANTHROPIC\_API\_KEY (Anthropic), OPENAI\_API\_KEY (OpenAI), GOOGLE\_API\_KEY (Google), AWS\_ACCESS\_KEY\_ID/AWS\_SECRET\_ACCESS\_KEY (Bedrock)

* [`sfp report`](#sfp-report)

## `sfp report`

Generate an AI-powered analysis report of your Salesforce repository. Supports environment variables for CI/CD: ANTHROPIC\_API\_KEY (Anthropic), OPENAI\_API\_KEY (OpenAI), GOOGLE\_API\_KEY (Google), AWS\_ACCESS\_KEY\_ID/AWS\_SECRET\_ACCESS\_KEY (Bedrock)

```
USAGE
  $ sfp report [--json] [--repository <value>] [-e <value>] [-t <value>] [--sfp-server-url <value>]
    [--output <value>] [-p <value>... | -d <value>] [--provider anthropic|openai|amazon-bedrock|github-copilot] [--model
    <value>] [--prompt-count <value>] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

FLAGS
  -d, --domain=<value>             The domain to analyse
  -e, --email=<value>              Email address for authenticated user. Ignored if --application-token is provided. Can
                                   be set via SFP_SERVER_USER env var.
  -p, --package=<value>...         The name of the package to analyse
  -t, --application-token=<value>  Application token for CI/CD authentication. Can be set via SFP_SERVER_TOKEN env var
                                   (CLI flags take precedence over env vars).
      --loglevel=<option>          [default: info] logging level for this command invocation
                                   <options: trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL>
      --model=<value>              Model ID to use (provider-specific). Defaults to claude-sonnet-4.5 for
                                   github-copilot, claude-sonnet-4-5-20250929 for anthropic.
      --output=<value>             [default: analysis-report.md] Output markdown file path
      --prompt-count=<value>       Number of prompts to run (useful for testing)
      --provider=<option>          [default: anthropic] AI provider to use
                                   <options: anthropic|openai|amazon-bedrock|github-copilot>
      --repository=<value>         The repository identifier. E.g `owner/repo` for GitHub/GitLab or `org/project/repo`
                                   for Azure DevOps
      --sfp-server-url=<value>     URL of the SFP server. Can be set via SFP_SERVER_URL env var or config: sfp
                                   config:set server-url

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Generate an AI-powered analysis report of your Salesforce repository. Supports environment variables for CI/CD:
  ANTHROPIC_API_KEY (Anthropic), OPENAI_API_KEY (OpenAI), GOOGLE_API_KEY (Google),
  AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY (Bedrock)

ALIASES
  $ sfp project ai-report
  $ sfp project report

EXAMPLES
  $ sfp project:report

  $ sfp project:report --output analysis-report.md

  $ sfp project:report --package feature-management

  $ sfp project:report --package salespkg --package unpackaged

  $ sfp project:report --domain sales

  $ sfp project:report --provider anthropic --model claude-sonnet-4-5-20250929

  $ sfp project:report --provider github-copilot

  $ sfp project:report --output reports/audit-$(date +%Y%m%d).md
```

*See code:* [*src/commands/report.ts*](https://source.flxbl.io/flxbl/sfp-pro)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.flxbl.io/flxbl/sfp/cli-reference-v51-release-v3/advanced/report.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
