Before a vendor touches your production systems, require a security assurance plan that answers twelve specific points, from the scope it covers to the deletion of your data when the contract ends, with access, backups, test environments and incident handling in between. Each point is pass or fail, judged on a document the vendor can actually produce. Until a failed point is fixed or covered by a written waiver, production access stays closed.
A vendor that runs your application holds the same rights as your own operations team, under looser supervision. If a leak starts on their side, you still answer for it. Morocco's Law 09-08 requires the data controller to choose a processor that offers sufficient security guarantees and to make sure those measures are respected. Anything you forget to require before signing has to be renegotiated through a contract amendment later, while the vendor's staff are already working on your data.
Who at your vendors can log in to production today?
Sit down with your head of IT operations and list every outside person who can reach your servers, databases or admin consoles: name, company, account used, date of last login. Then compare that list with the active accounts in your directory, bastion host or cloud console. Both lists already exist, which keeps this to one short meeting.
You may find shared generic accounts, or accounts belonging to people who left the vendor months ago. Each gap becomes a written requirement in the plan. If you already keep an access matrix, our method for deciding who sees what gives you the reference to check those accounts against.
What is a security assurance plan, and where does it come from?
The security assurance plan (plan d'assurance sécurité, or PAS) is a French IT procurement practice. ANSSI, France's national cybersecurity agency, describes it in its guide on outsourcing and information system security ("Externalisation et sécurité des systèmes d'information : un guide pour maîtriser les risques"), published in December 2010. The buyer asks for the plan in the tender, each bidder describes the measures it commits to, and the winning vendor's plan is annexed to the contract, where it replaces the vendor's generic security clauses.
The guide includes a template plan that buyers attach to the tender, so all bids follow the same structure and can be compared. Its most useful part is a coverage matrix that maps each of the client's requirements to the measure that meets it. Without that matrix, nothing ties what you asked for to what the vendor promises.
What does Moroccan law say about a vendor's security commitments?
None of the Moroccan texts we checked for this article uses the term "security assurance plan". Several of them still require what the plan is there to document.
Law 05-20 on cybersecurity covers government administrations, public institutions and state-owned companies (called "entities"), critical infrastructure operators (infrastructures d'importance vitale) and certain service providers. Its Article 12 says that outsourcing a sensitive information system requires a contract under Moroccan law with commitments on information protection, auditability and reversibility, plus the security requirements and service levels. Article 11 requires sensitive data to be hosted exclusively in Morocco. Article 14 extends these rules to critical infrastructure, so a private company designated as critical infrastructure is bound by them too.
Decree 2-21-406 names the DGSSI as the national cybersecurity authority and has it set the National Information Systems Security Directive (DNSSI). As early as its December 2013 version, that directive asked for security requirements and service levels to be written precisely into contracts with third parties.
For any company that hands personal data to a vendor, Article 23 of Law 09-08 requires a written contract stating that the processor acts only on the controller's instructions and carries the same security obligations. Article 24 adds specific controls for sensitive data. A security assurance plan puts all of these commitments into one contractual document.
Why pass or fail instead of a score out of ten?
A score out of ten lets a vendor that is excellent at encryption make up for a shared admin account. Attackers go for the weakest point, and an average does nothing to protect it. A point passes when the evidence exists and matches the requirement. It fails in every other case, including "in progress" and "available on request".
A failed point does not have to knock the vendor out. It does block production access until the evidence arrives, or until your CISO signs a written waiver describing the compensating measure and its end date. ANSSI's template already provides for a waiver procedure annexed to the plan.
What are the 12 points, and what evidence should you ask for?
Deadlines and durations marked "parameter" are for you to set with your CISO, based on how sensitive the system is. No market standard fixes them. You can hand this grid to procurement as it is.
| No. | What you require | Evidence to accept | Answer that fails |
|---|---|---|---|
| 1 | A described scope (systems, data, environments, vendor activities) and a coverage matrix for your requirements | Data flow diagram, complete matrix | Requirements marked "covered" with no named measure |
| 2 | A named security lead at the vendor and a security committee on fixed dates | Name and reporting line, committee calendar | "Our security team", no name |
| 3 | Named production accounts, strong authentication, access granted on a logged request, removed within a set time when someone leaves (parameter) | Named list, removal procedure, signed confidentiality undertakings | Shared account, VPN open all the time |
| 4 | Logins and actions on production logged, kept for a set period (parameter) and available to you | Log extract from an admin session | "We can find that if needed" |
| 5 | Encryption in transit and at rest, with a named key holder | Encrypted media described, name of the key holder | "Everything is encrypted", with no detail on where or by whom |
| 6 | Security patches applied within a set time (parameter), penetration test before go-live | Patch policy, latest penetration test report | "We update regularly" |
| 7 | Backups kept away from the main site, restores tested at a fixed interval (parameter) | Latest restore test report with measured duration | "Backups are automatic" |
| 8 | No real personal data in test environments, except a masked copy that is authorised, logged and deleted | List of environments and the data in each, masking procedure | "We test on a copy of production" |
| 9 | Full list of subcontractors, right to object, obligations passed down to them | List with role and country, flow-down clause | "Trusted partners" |
| 10 | Location of every site (main, failover, backup, remote support) and the governing law | Data centre addresses, countries of support teams | "In the cloud" |
| 11 | Incident notification within a set time (parameter), to a named recipient, with defined content | Incident management plan, notification template | "As soon as possible" |
| 12 | Audit rights, reversibility, data returned and every copy deleted at the end | Audit clause, reversibility plan, deletion certificate template | Audit "on our terms", deletion with no certificate |
If you want to build this grid with someone independent of the vendor, our digital consulting team and our digital audit cover that work.
Why does a test environment loaded with real data fail point 8?
Test environments are usually less protected than production. Developers and testers have access, logging is thinner and backups get less attention. A copy of the production database placed there takes your customers' data outside the controls you required for production, and Law 09-08 makes no exception for testing.
It is the easiest point to miss, since a production copy looks like the most realistic way to test. The requirement comes down to four conditions: masked or synthetic data by default, written approval for any copy that breaks that rule, a log of the copy, and a dated deletion when testing ends.
What should you ask about backups, subcontractors and the end of the contract?
A backup is only worth something once someone has restored it. The report for point 7 should give the date, what was restored and how long it took, which you compare with your recovery objective.
For point 9, ANSSI's guide says buyers should check that a chain of subcontractors does not make the security requirements placed on the main vendor ineffective, and should keep the right to reject a subcontractor. The same guide notes that with cloud services nothing ensures data has really been erased, or that no other copies remain. That is why the deletion certificate in point 12 has to cover backups as well. Our article on what your hosting provider does not guarantee goes further into reversibility on the hosting side.
Who should receive an incident notification, and what should it say?
Point 11 sets three things in writing. The deadline runs from the moment the vendor detects the incident. The recipient is a named person with a named deputy. The content covers the detection date, the systems and data affected, the measures already taken and the contact handling the case.
If your organisation is an entity or critical infrastructure under Law 05-20, Article 8 requires you to report any incident affecting your systems to the national authority as soon as you become aware of it. The deadline you give the vendor has to leave you time to file your own report.
Which points fail when a bank reviews its vendor's plan?
A retail bank outsources the operation of its online customer portal to a specialist vendor. The bank, the vendor and every figure here are invented for illustration.
The plan submitted with the bid passes eight points and fails four. On point 3, it names 9 people, while the admin console shows 14 active accounts in the vendor's name; the 5 extra accounts split into 2 generic accounts and 3 accounts for people missing from the list. On point 7, the last restore test was fourteen months ago, against a schedule the bank set at every six months. On point 8, the test environment holds an unmasked copy of the customer database, 120,000 records. On point 11, the plan promises to notify "as soon as possible", with no deadline and no recipient.
The banking sector appears in the list of critical sectors annexed to Decree 2-21-406. If the bank is designated as critical infrastructure and the portal is one of its sensitive systems, hosting in Morocco and a contract under Moroccan law are added to the grid.
The bank signs, but opens no access until four fixes are in. The 5 accounts are deleted or assigned to a named person within ten working days. A full restore test is run and takes 3 hours 30 minutes, against a 4-hour objective. The test copy is deleted, with a dated certificate, and replaced by a masked dataset. The notification deadline goes into the plan with two named recipients. All twelve points then pass.
FAQ
- Is a security assurance plan mandatory in Morocco?
No Moroccan text we checked names it. Law 05-20 does require public entities and critical infrastructure that outsource a sensitive system to sign a contract under Moroccan law with commitments on security, auditability and reversibility. Law 09-08 requires every company to have a written contract with any vendor processing its personal data. The plan is what makes those commitments checkable.
- Can an ISO 27001 certificate replace the plan?
A certificate covers the vendor's information security management system, within the scope written on the certificate. It says nothing about what the vendor commits to on your application, your data and your deadlines. Check that the service you are buying falls within that scope, then ask for the evidence on all twelve points anyway.
- What if the vendor refuses one of the points?
A refusal counts as a fail. Ask what the vendor offers instead and have your CISO approve it as a written waiver with an end date. If nothing offsets the risk, as with shared accounts or incident notification, production stays closed to that vendor.
- Can you ask a SaaS vendor for a security assurance plan?
A vendor with a standard contract will rarely write one for you, and ANSSI's guide notes that these services are usually bought by accepting a standard contract. You can still run its published security documentation and contract annexes through the same grid. Every point left unanswered becomes either a risk your management accepts in writing or a reason to choose another product.
Sources
- Law 05-20 on cybersecurity (in French)
- Decree 2-21-406 of 15 July 2021 (in French)
- Law 09-08, Articles 23 and 24 (in French)
- DGSSI, DNSSI, December 2013 version (in French)
- ANSSI, outsourcing guide (2010, in French)
Last verified: 2 November 2026.
Before you open production to your next vendor, send us the security plan they gave you, or the tender in which you are about to ask for one. In a free audit, we go through the twelve points with you and set the parameters with your CISO.





