Перейти до вмісту

Checkpoint challenge

Цей контент ще не доступний вашою мовою.

Original practice. Never modeled on actual exam questions. This closes the chapter Identity Strategy and Design Review, chapter 18 of Securing Salesforce: Identity and Access.

Fernhollow Garden Supply sells plants, tools and garden furniture through its own stores and website. It’s a made-up company, and so is everything below. Its Salesforce team has written up their identity design, and they’ve asked you to review it before their audit. Here’s what they sent, word for word.

Fernhollow identity design, v3

  1. Staff sign in to Salesforce with single sign-on through our Okta. We turned on “Disable login with Salesforce credentials” so nobody can get around Okta. Our two Salesforce admins use single sign-on too, like everyone else.
  2. Store managers use a tablet app we built. It asks for their Salesforce username and password and logs in for them, so they don’t have to.
  3. The loyalty site (an Experience Cloud site) lets customers register with their email address and a password. Customers can also sign in with Google.
  4. The nursery growers, about 40 small companies, sign in to the supplier site with logins our team creates for them. When a grower stops supplying us, their buyer emails our team.
  5. Integrations: the warehouse system, the website’s order sync and the reporting tool all log in as one integration user, “Fernhollow API”. It has the System Administrator profile so nothing fails.
  6. The garden advice agent on the loyalty site answers questions about plants and also looks up a customer’s orders when customers give their email address. It runs as its agent user, which can read all orders.
  7. Monitoring: we check Login History when someone reports a problem.
  8. Certificates: Okta’s certificate is in our single sign-on setting. IT handles Okta.
  • A swim lane for every door in the design.
  • Three questions at every arrow: who is this, who is it acting for, who switches it off.
  • The checklist from module 4, section by section.
  • Every finding as what, why, and what to do, with a rough date.
  • What’s good, too. A review that only finds faults isn’t trusted.
  1. List the groups and their doors as a strategy page (module 1).
  2. Draw the swim lanes (module 4, pass one). Which one can’t you draw from what they sent?
  3. Question every arrow (pass two).
  4. Run the checklist (pass three).
  5. Write the findings, most urgent first.

Try it before you read on.

Here are the findings I’d write. You may find more, or rank them differently; what matters is that you can say why.

1. The admins have no back door. “Disable login with Salesforce credentials” plus admins on single sign-on means that when Okta is down, or its certificate expires, nobody can fix Salesforce. Chapter 4, module 5: keep two admins out of the single sign-on requirement, with a Salesforce password and strong MFA, and test it. Now.

2. The tablet app collects passwords. An app that asks for a Salesforce username and password and logs in for the user is a home-made door (module 3): the password travels through Fernhollow’s own code, and the username-password flow it most likely uses retires on 2027-02-20 (chapter 5). The store managers are Okta users too, so the app should use the web server flow with PKCE, with them signing in through Okta (chapter 9). Before the retirement date.

3. One integration user, as System Administrator, for three systems. Nobody can tell which system did what, revoking one stops all three, and a leak of its credentials is a leak of the whole org. Salesforce’s own guidance: dedicated integration users, least privilege, “never username-password flows” (Well-Architected, module 4). Give each system its own app and its own integration user with only what it needs (chapters 8 and 13). A quarterly access review, as Salesforce’s guidance says, is what should have caught it (module 4). This quarter.

4. The agent can read every order, for anyone who types an email. The agent runs as its agent user, and an email address identifies a customer but doesn’t limit what the agent can reach (chapter 17, modules 1 and 3). “Look up my orders” is a private action: put a verification step in front of it, a code to that email, and scope every query to the verified customer. Better still, offer it only to customers logged in to the loyalty site, where the agent can run as the customer. And give the agent an owner. Before the agent is used any more.

5. Growers who leave stay active until someone emails. Leaving depends on a buyer remembering to send an email (chapter 12; chapter 14, module 5). Agree with the buyers how a leaver is reported, and disable each leaver’s user from the contact the same day. As a safety net, review the supplier logins nobody has used for a while. This quarter.

6. Nobody owns the certificate’s date. “IT handles Okta” isn’t an owner for the certificate in Salesforce’s setting (chapter 3; chapter 6, module 7). Put the expiry date on a calendar with a name next to it. Now; it’s quick.

7. Logs are read only after a complaint. Login History keeps six months (chapter 16, module 2). For an audit, someone needs to decide what’s kept longer, and who looks regularly. Before the audit.

What’s good. Staff single sign-on through Okta, with password login switched off for them, is right (chapters 4 and 7). Google sign-in for the loyalty site is a reasonable choice for customers (chapter 10). The growers’ site logins are right for small companies without an identity provider (chapter 14); their MFA should be checked.

The lane you couldn’t draw. The tablet app’s: nobody wrote down how it logs in, only that it does. That was the first finding in pass one.

  • A strategy page with every group.
  • A swim lane for every door, or a note of which one you couldn’t draw, and why.
  • At least the back door, the tablet app, the shared administrator, and the agent found.
  • Every finding with what, why, what to do, and when.
  • Something good, written down too.