Salesforce penetration testing report

What a Salesforce penetration test report must contain, how the test runs under the Salesforce Security Assessment Agreement, and what to confirm before you commission one.

On this page

Salesforce penetration testing report: what your customer or auditor will expect

A Salesforce penetration test is run under the Salesforce Security Assessment Agreement and must produce a report with severity-rated, reproducible findings. That combination is what a customer's security team, an insurer or a due diligence reviewer will look for first. Organizations commission the test when a launch is coming, when a customer questionnaire asks for evidence of testing, or when an insurer or acquirer wants proof that the org's configuration has been checked by someone other than its administrators. Since 31 January 2023, Salesforce customers no longer need prior approval to run these assessments, which means the burden of following the agreement and documenting the work now sits with the customer and its tester.

The risks a test addresses are rarely the platform itself. They sit in the customer's configuration and extensions: sharing rules and role hierarchies that expose records wider than intended, field-level and object permissions granted to profiles that should not have them, connected apps and integrations with excessive OAuth scopes, and custom Apex or Visualforce code that handles user input without proper checks. A useful engagement starts by agreeing which orgs, communities, integrations and custom code are in scope, and by confirming with the client's Salesforce administrator which of these belong to the customer's own accounts. Testing outside those accounts is prohibited, so this step protects both parties.

Before commissioning the work, confirm three things in writing: the report format the auditor or customer expects, the testing window the agreement allows, and who validates automated findings before they leave the tester. The agreement requires a findings section written for technical staff, a severity for each finding, an explanation of why each item is a finding, and HTTP requests and responses that reproduce each vulnerability. It also requires prompt submission of the written report to Salesforce, with High findings and any remote code execution reported immediately. Ask the provider to show a sample report and to explain how it checks automated results against Salesforce's documentation on common false positives. The Salesforce Security Assessment Agreement sets out these terms in full.

What can be in scope for a Salesforce test

Scope for a Salesforce test is set by what the customer owns and controls, and by the exclusions in the Salesforce Security Assessment Agreement. Each card below is a scoping decision to settle in writing before any testing starts, because the boundary between your org and Salesforce's own infrastructure determines what the report can honestly cover.

Your own org or orgs

Scope starts with the list of Salesforce orgs that belong to your company, including production, sandbox and any acquired or regional orgs. Each org should be named with its instance and purpose, so the report states exactly which environments were assessed. Confirm org ownership before testing, because data and configuration outside your own accounts cannot be in scope and must be reported if it is touched.

Assessment Agreement

Experience Cloud and community sites

Public and partner-facing Experience Cloud sites expose guest user access, self-registration and custom Apex or Lightning components to anonymous visitors. These need their own scope line because guest permissions are a common source of unintended data exposure. Agree which sites are in scope and whether any sign-up or contact form is excluded, since the agreement prohibits testing lead capture, sign-up and contact forms.

Connected apps and integrations you own

Connected apps, named credentials, middleware and integrations that your company built or operates are normally in scope, as is the API surface they use. Third-party managed packages are a different matter: list them, then confirm with the vendor whether their code and hosting can be tested. An integration inventory also shows which external systems receive data, which helps define how far the test may reach.

Test accounts with defined profiles

Agree the test accounts in advance: one per relevant profile and permission set, such as internal user, partner, customer community user and guest. Each account should be created for the engagement, hold only the data needed for testing, and be disabled afterward. Ask the tester to document which roles were covered, because authorization findings depend on comparing what each role can reach.

Rules of engagement and exclusions

Write the rules of engagement before testing: approved testing windows, the Friday 21:00 PST to Sunday 23:59 PST automated window, any Salesforce blackout periods, and a stop condition if the service is disrupted. Record the excluded activities: denial of service, privilege escalation, lateral movement, testing Salesforce IP addresses and accessing data outside your accounts. Confirm the named contact who can halt the test.

Prior approval ended
31 January 2023
Salesforce security assessments

How a Salesforce test runs under the assessment agreement

The sequence moves from agreed rules to a validated, reproducible report, so the customer can send Salesforce a written findings record that meets the agreement's requirements. Each phase closes with a defined output that the next phase depends on.

  1. Agree the scope and rules in writing

    Before any testing, the customer and the provider define the Salesforce org, the products, the user roles and the test types in a written scope. The team reads the Salesforce Security Assessment Agreement in full and confirms that every planned activity fits its limits, including the prohibited activities and the rule on testing Salesforce IP addresses. The step is done when the scope document names the in-scope accounts and the agreed rules of engagement, and the customer has signed off on both. Ask the provider to show which agreement clauses each planned test relies on.

  2. Confirm the approval position and the agreement

    Since 31 January 2023, Salesforce customers no longer need prior approval to run security assessments of their Salesforce environment. The customer still has to follow the Salesforce Security Assessment Agreement, so the team records this position and the agreement version in the engagement file. Teams should check the Salesforce Security Assessments page at the start of the engagement, because product-specific rules can change. The step closes with a documented compliance check against the current agreement, which the customer can show an auditor or customer.

  3. Schedule automated testing inside the permitted window

    The agreement limits automated testing to Friday 21:00 PST through Sunday 23:59 PST. Salesforce can also set product-specific blackout windows, so the team checks the current schedule before booking any scanning session. Automated runs are timed, logged and monitored, and the team stops immediately if Salesforce asks for a halt or if the service shows disruption or degradation. The output is a run log that records start and end times, the tools used and any stop events, which becomes part of the evidence set.

  4. Run manual testing within agreed limits

    Testers carry out manual checks of access control, configuration, integrations and business logic within the scope and the agreement. They do not attempt denial of service, privilege escalation or lateral movement, and they do not test lead capture, sign-up or contact forms. If a tester reaches data outside the customer's own accounts, the team stops, records the event and reports it as the agreement requires. The step closes with a set of candidate findings and a log of every account and role used during testing.

  5. Validate automated findings before reporting

    Automated scanners produce false positives, so the team checks each automated result by hand against Salesforce's documentation on common false positives before it enters the report. Findings that do not reproduce or that describe normal platform behavior are removed and the reason is recorded. Validated findings move forward with the evidence needed to show they are real. The output is a filtered list in which every remaining item has been confirmed by a tester, with the discarded items and reasons kept in the engagement file.

  6. Write the report to the agreement's standard

    The report includes a findings section written for technical staff, a severity rating for each finding and an explanation of why each item is a finding. Each vulnerability has steps that reproduce it, with the relevant HTTP requests and responses. The agreement states that raw scanner output alone is not an acceptable report, so the team writes an organized summary of findings. The step is complete when a second tester has reviewed the report for reproducibility and clarity, and the customer confirms that the document meets the agreement's requirements.

  7. Submit findings to Salesforce promptly

    The customer sends the written report to Salesforce through the security contact page promptly after the assessment. Any High findings and any remote code execution must be reported immediately, so the team agrees in advance who makes that call and how fast it is done. The step closes with a copy of the submission and the date on which it was made, both retained for the customer's records. Confirm the exact submission channel and any current timing expectations with Salesforce before testing begins.

  8. Agree the retest and close the cycle

    After the customer fixes the validated findings, the team retests each one using the same reproduction steps from the report. A finding is closed only when the retest shows the original reproduction no longer works, and the retest result is recorded against the finding ID. The output is an updated findings register and a retest record that the customer can use with its auditor or its own customers. Agree the retest scope and any further automated windows in the original scope document.

What the report must contain before Salesforce will accept it

A Salesforce penetration test report is only useful to Salesforce, and to your own auditors, if it contains the elements the Salesforce Security Assessment Agreement requires. The agreement expects a findings section written for technical staff, a severity level on every finding, a short explanation of why each item is a finding, and reproduction steps that definitively show each vulnerability, including the applicable HTTP requests and responses. Before the engagement starts, agree with the testing provider who will write each element and which tool outputs will be validated by hand before they reach the report. Raw scanner output does not meet this standard on its own.

The agreement also states that raw data without an organized summary of findings is not an acceptable report. Ask for a document structure that opens with an executive summary, lists findings in severity order, and gives each finding its own evidence block. Validation matters here too: Salesforce asks customers to check automated findings against its documentation on common false positives before reporting them. Each retained finding should show what was tested, the request and response that prove the behavior, and the account or org in scope, so that a reviewer can repeat the check without guessing. Confirm the report template with the provider before testing begins, not after the findings are in.

Timing is part of the requirement. The agreement asks customers to send the written report to Salesforce promptly after the assessment, and to report any High finding and any remote code execution immediately rather than waiting for the final document. Agree in the statement of work who makes that notification, who signs off on the severity rating, and how an urgent finding found during an automated window is escalated the same day. Also confirm with your legal or security contact how the report will be transmitted through Salesforce's security contact page, and how it will be stored, since it will contain sensitive request and response data.

Weakness categories we test for in a Salesforce org

This table lists the weakness categories we review in a Salesforce org, what each looks like inside the configuration, and why it matters to the business and to the customer's auditor. Read it as a map of where configuration, not just code, tends to create exposure, and use it to check whether a proposed scope covers the areas that hold your customer and employee records.

CategoryWhat it looks like in the orgWhy it matters to the business and the auditor
Sharing model and record accessOrg-wide defaults set broader than the data needs, sharing rules or role hierarchies that expose records across teams, and manual sharing that persists after role changesOver-broad record access is a common route to unintended data disclosure, and access reviews are a standard evidence request for assessors checking least privilege
Profiles and permission setsProfiles or permission sets granting administrative rights, object permissions wider than job functions, and users holding several overlapping permission setsExcess permissions make privilege reviews fail and widen the impact of any compromised account, so auditors often ask for documented role design and periodic recertification
Field-level securitySensitive fields such as national identifiers, bank details or health data visible on layouts, reports or list views to profiles that should not see themField visibility decides who can read regulated data, so customers and regulators expect evidence that sensitive fields are restricted and masked where appropriate
Authentication and session settingsPassword policies, login IP ranges, session timeout, multi-factor enforcement, and whether single sign-on is required for all usersIdentity controls are usually the first thing a customer security review asks about, and weak settings are easy for an assessor to verify against the org configuration
Connected apps and OAuth scopesThird-party or internal connected apps with broad OAuth scopes, long-lived tokens, unused integrations still authorized, and missing approval policiesEach connected app is a trusted path into the org, so an inventory with justified scopes is a direct request in most third-party risk reviews
Custom Apex and Lightning codeCustom code running without sharing enforcement, SOQL or SOSL built from user input, Lightning components exposing data to guest or community users, and secrets stored in codeCustom code can bypass the sharing model, so findings here often carry the highest business impact and need a clear severity and a reproducible write-up for the development team
Integration endpointsNamed credentials and callout endpoints, middleware and APIs that receive or send Salesforce data, and inbound endpoints with weak authentication or excessive data returnedIntegrations often move data outside the org boundary, so auditors look for documented data flows, authenticated endpoints and monitoring of the integration user
Logging and monitoringWhether login history, field history tracking, event monitoring and audit trail retention are enabled, and whether alerts reach a team that acts on themDetection evidence is often required by frameworks and by customers, and a test that cannot show who changed what leaves the organization unable to prove its controls operate

How the test differs by Salesforce architecture

A single production org is the simplest shape, but it is also the one where the testing window and the no-disruption rule matter most, because every test runs against live business data. The scoping conversation starts with which clouds and custom applications the org runs, which user profiles and permission sets exist, and whether any integrations write into it during the weekend window. Automated scanning is limited to Friday 21:00 PST through Sunday 23:59 PST under the Salesforce Security Assessment Agreement, and Salesforce may set product-specific blackout windows, so confirm those before the schedule is fixed.

  • Scoping questions: Which clouds, custom Apex and Lightning components, and named user profiles are in scope, and which accounts the testers will hold?
  • Agreement constraints: No denial of service, privilege escalation, lateral movement, or testing of Salesforce IP addresses. Stop immediately if Salesforce asks.
  • Server-side verification: Custom Apex REST endpoints and API handlers can be checked against the relevant ASVS requirements for authentication, access control and input validation.
  • Configuration review: Profiles, sharing rules, field-level security and connected app settings are reviewed as configuration, with results recorded separately from exploitable findings.
  • Evidence: Each validated finding needs a severity, a technical explanation, and HTTP requests and responses that reproduce it.

Before scheduling, confirm with your Salesforce contact which blackout windows apply to your org and who on your side can halt testing if production performance degrades.

What you receive and whether it satisfies your auditor or customer

A Salesforce penetration test is only useful if its output matches what Salesforce, your auditor and your customers will read. The cards below cover the parts of the deliverable that Salesforce's assessment agreement sets out, and the parts your own assessor will judge. DeployOpen does not issue audit reports or attestations, so the final decision on sufficiency rests with your independent auditor and your customers.

Findings section written for technical staff

The agreement expects a findings section aimed at technical staff, with each finding explaining why the observed behavior is a weakness in your Salesforce environment. Each entry should name the affected object, profile, permission set or configuration, and the test conditions under which it was seen. Ask for a written explanation of the impact on your data, not only the category label. A finding without a clear statement of why it matters will be questioned by both your team and any assessor.

Severity rating for each finding

Every finding should carry a severity level, and the rating method should be stated so that your auditor can follow it. Ask how severity was assigned, whether it reflects the data exposed and the preconditions an attacker would need, and whether any rating was adjusted after validation. Any High finding and any remote code execution must be reported to Salesforce immediately, so confirm that the report flags these clearly and that the timing of notification is in your engagement plan.

Reproduction evidence with requests and responses

The agreement requires steps that definitively reproduce each vulnerability, including applicable HTTP requests and responses. Check that evidence is recorded with timestamps, account identifiers and the specific test user or profile, and that sensitive values are redacted in a way that still proves the condition. Reproduction steps should let your own team confirm the finding in a controlled environment without repeating any prohibited activity.

Validated false positive notes

Automated findings must be validated and checked against Salesforce's documentation on common false positives before they are reported. Ask for a section that lists the findings that were discarded, the reason for each, and the documentation or manual check that supported the decision. This shows an assessor that the scanner output was reviewed rather than passed on, and it reduces the chance that your submission to Salesforce contains noise.

Executive summary and scope statement

Leaders need a summary that states the scope, the testing window, the total findings by severity and the top priorities, without raw data. The agreement states that raw data alone is not an acceptable report, so an organized summary is required. The scope statement should confirm which Salesforce accounts and features were in scope, which were excluded, and confirm that no prohibited activity such as denial of service or testing of Salesforce IP addresses took place. Record any accidental access to data outside your own accounts, since the agreement requires it to be reported.

Retest results and assessor letter

A retest confirms whether each finding has been fixed, and the report should record the status of every original finding with the evidence used to close it. Ask for a letter or statement from DeployOpen describing the work performed, the methods used and the dates of testing. This letter documents what was done. It does not state that your environment is secure or compliant, and it is not an audit opinion, so pass it to your auditor as supporting evidence only.

What your team prepares before the test starts

Your team sets the boundaries of the test before any tester logs in. The core inputs are a written scope that names the Salesforce org, the clouds and custom components in play, and the test types you agree to, plus named test accounts with the agreed profiles (for example, a standard user and a community or portal user, if either is in scope). Confirm that each account holds only the data and permissions the test is meant to cover, because the agreement treats access to data outside your own accounts as a reportable event. Decide whether testing runs in a sandbox or production. Production testing needs extra care around data, record creation and rate limits, so record that decision and its reason in the scope document.

Next, name the people who can act during the test. Provide the Salesforce security contact details your team will use to submit validated findings through Salesforce's security contact page, and the internal technical contacts who can stop the test if it disrupts or degrades the service. Salesforce can ask you to stop an assessment at any time, so the stop path must reach someone who can halt automated tools within minutes, including outside business hours. Confirm the automated testing window against the Friday 21:00 PST to Sunday 23:59 PST limit in the Salesforce Security Assessment Agreement, and check with Salesforce for any product-specific blackout windows. Also list the change freezes, release dates and marketing campaigns that overlap the test window, so the tester does not collide with planned work.

What to check when choosing a Salesforce testing provider

A Salesforce test is governed by the Salesforce Security Assessment Agreement, so the provider's familiarity with that agreement shapes the report, the timing and the notification steps. The cards below cover what to confirm in writing before any work starts.

Experience with the agreement

Ask how the provider has structured past Salesforce assessments against the Salesforce Security Assessment Agreement, including its testing window, its prohibited tests and its requirement to stop any work that disrupts or degrades the service on Salesforce's request. A credible answer describes the controls the provider uses to keep testing inside those limits, such as a written test plan that maps each planned activity to an allowed category.

Prior approval no longer required
31 January 2023
Agreement text

Validating automated findings

Scanner output is not a finding until someone has checked it. Ask how the provider confirms each automated result, whether it compares results against Salesforce's documentation on common false positives, and who signs off on severity. A good provider can show how it removes noise before anything reaches your report, so your technical staff are not left triaging scanner output.

High and RCE notification path

The agreement requires the written report to reach Salesforce promptly after the assessment, and requires any High finding or remote code execution to be reported immediately. Ask who on the provider's team owns that notification, how quickly they escalate internally, and which of your contacts must be involved. Get the handover steps written into the scope so nobody is improvising at the moment a critical issue is found.

Report format and reproduction detail

The agreement expects a findings section written for technical staff, a severity for each finding, an explanation of why each item is a finding, and HTTP requests and responses that reproduce each issue. Ask for a sample report with the structure redacted. Confirm that reproduction steps are complete enough for your engineers to verify a fix without repeating any prohibited activity.

Evidence handling and data access

Testers may encounter customer records while testing, and the agreement requires reporting any access to data outside your own accounts. Ask where evidence is stored, who can view it, how long it is kept, how it is encrypted, and how it is deleted at the end of the engagement. Confirm how the provider handles personal data that appears in request and response captures, including whether those values are masked before the report is written.

Named testers and retest terms

Ask for the names and roles of the people who will test, and whether they are the same people who write the report. Confirm the retest terms in writing: whether a retest is included, how many rounds it covers, how it is scheduled within the permitted window, and whether it requires a new scope agreement. Written terms here prevent disputes after the fix is delivered.

Salesforce penetration testing questions buyers ask

Do we still need Salesforce's approval before we test our org?

No prior approval is needed. Since 31 January 2023, Salesforce customers can run security assessments of their own Salesforce environment without asking first, but they must follow the Salesforce Security Assessment Agreement. That agreement sets the rules: automated testing windows, prohibited activities and how findings are submitted. Validated findings go through Salesforce's security contact page. Before you start, confirm that the people running the test have read the current agreement, since its terms govern the work even though no approval step remains. The Salesforce Security Assessment Agreement is the document your provider should work from.

How does the weekend testing window affect our schedule?

Automated testing is limited to a window that runs from Friday 21:00 PST through Sunday 23:59 PST. Manual testing is not confined to that window in the same way, so plan the automated scanning and the manual work separately. Salesforce can also set product-specific blackout windows, so the window you planned on may shrink. Build in time for the provider to pause and resume if Salesforce asks you to stop an assessment that disrupts or degrades the service. Ask your provider how the schedule handles a stop request, and who on your side can make that call during the window.

What must a Salesforce penetration test report contain?

The agreement requires a findings section written for technical staff, a severity level for each finding, and an explanation of why each item is a finding. Each vulnerability needs steps that reliably reproduce it, with the applicable HTTP requests and responses. Raw scanner output alone is not an acceptable report, so it needs an organized summary. The report must go to Salesforce promptly after the assessment, and any High finding or any remote code execution must be reported immediately. Automated findings should be validated and checked against Salesforce's documentation on common false positives before they are reported. Ask the provider to show a sample report structure before you sign.

What drives the cost and effort of a Salesforce test?

The main drivers are the number of org instances, the size of the custom code and configuration, the number of user roles and integrations, and how many tests run manually rather than automatically. Scope also matters: whether the test covers only the Salesforce configuration or the custom Apex, Lightning components, connected apps and the APIs they expose. Retesting after fixes adds a recurring cost. Request a quote that lists each component, the testing approach, the reporting deliverable and the retest allowance. DeployOpen does not publish a price list, and a quote follows from the written scope. No public Salesforce figure for test effort was supplied, so confirm estimates in writing before work starts.

Can our own team run a Salesforce penetration test internally?

Yes, a customer can run its own assessment, provided it follows the Salesforce Security Assessment Agreement. The agreement's limits still apply to internal teams: prohibited activities include denial of service, privilege escalation, lateral movement, testing Salesforce IP addresses, and testing lead capture, sign-up and contact forms. Internal teams also need to report any access to data outside their own accounts, and the report must meet the agreement's requirements. Consider whether your staff have the skills to reproduce findings with HTTP evidence and to write for both technical and audit readers. An outside provider can also be useful for independent assurance, which many customers and auditors expect.

How does retesting work after we fix the findings?

Retesting checks whether each reported finding has been fixed and confirms that the fix did not open a new issue. The retest should use the same reproduction steps from the original report, run within the agreement's testing windows, and produce updated evidence for each finding. Ask the provider whether retesting is included in the fixed scope or billed separately, how many rounds are covered, and how the updated report will show closed and open items. Fixed-scope engagements agree deliverables and timelines in writing before work starts, and ongoing testing can be handled under a retainer.

Does a penetration test report satisfy a customer's security review?

A report can support a customer security review, but it rarely satisfies one on its own. Customers typically ask for the scope, the testing dates, the severity model, the list of open and closed findings and evidence of remediation. Check whether the reviewer accepts a report produced under the Salesforce Security Assessment Agreement, and whether they want an independent attestation, which DeployOpen does not issue. Independent auditors and certification bodies issue attestations, so confirm the exact evidence your reviewer needs before the test begins.

How DeployOpen scopes, tests, reports and retests Salesforce environments

DeployOpen treats a Salesforce penetration test as a fixed-scope engagement that starts with written boundaries agreed before any testing begins. We run the work within the Salesforce Security Assessment Agreement and deliver a report structured for technical staff, with reproducible evidence for each validated finding.

How we scope

  • Scope is agreed in writing before testing, naming the Salesforce org, clouds, integrations and user roles in the assessment.
  • We confirm which automated testing falls inside the Friday 21:00 PST to Sunday 23:59 PST window and check Salesforce blackout notices.
  • We record exclusions up front, including Salesforce IP addresses, lead capture, sign-up and contact forms, and any third-party systems the org connects to.

How we build

  • Testing covers the configuration, custom code, access model and integrations that your own team controls inside the org.
  • Automated findings are validated by a tester and checked against Salesforce documentation on common false positives before reporting.
  • We stop activity that disrupts or degrades service, and we record and report any data outside your accounts that the test exposes.

How we hand over

  • The report includes an organized summary and a technical findings section, with a severity level and rationale for each finding.
  • Each validated vulnerability includes reproduction steps with the relevant HTTP requests and responses, so your engineers can confirm it.
  • We flag High findings and any remote code execution for prompt notice, and we give you the written report to send to Salesforce.

How we support

  • Retesting confirms whether agreed fixes close each finding, and the retest results are recorded against the original report.
  • Ongoing support and continuous testing are available as a retainer if your Salesforce environment changes between assessments.
  • Ask us to confirm how the report will be used with your auditor, customer or Salesforce contact before the engagement starts.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.