You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'critical-vendors': `List vendors in this EXACT format, one per line:
92
+
'critical-vendors': `Using the provided vendor/software list, narrow it down to ONLY the critical vendors from a SOC 2 perspective for the audit report.
93
93
94
+
A critical vendor is one that:
95
+
- Hosts or processes customer data (cloud infrastructure providers like AWS, GCP, Azure)
96
+
- Provides core identity / authentication services (e.g. Okta, Google Workspace, Microsoft 365 — but ONLY if used as the primary identity provider)
97
+
- Is essential to the company's production system or service delivery
98
+
- Handles sensitive data (e.g. payment processors IF the company processes payments as a core service)
AWS – IaaS / PaaS – (Cloud infrastructure and hosting)
99
-
Microsoft 365 – SaaS – (Office productivity and identity)
115
+
Google Workspace – SaaS – (Primary identity provider and email)
116
+
Datadog – SaaS – (Production monitoring and observability)
100
117
101
118
RULES:
102
119
- Do NOT include the section title.
103
120
- Each vendor on its own line.
104
121
- Follow the exact format: Name – Type – (Description)
105
-
- Only include vendors explicitly mentioned in sources.
122
+
- Only include vendors from the provided sources — do not add vendors not mentioned.
123
+
- Aim for 3-6 vendors maximum.
106
124
${TONE_RULES}`,
107
125
108
-
'subservice-organizations': `List subservice organizations in this EXACT format:
126
+
'subservice-organizations': `Identify the subservice organisations from a SOC 2 perspective.
127
+
128
+
A subservice organisation is an external service provider whose infrastructure or platform the company DIRECTLY RELIES ON to deliver its own services to customers. In SOC 2 terms, these are typically the main cloud infrastructure / hosting providers (IaaS/PaaS) — e.g. AWS, Google Cloud Platform, Microsoft Azure.
129
+
130
+
DO NOT INCLUDE:
131
+
- SaaS tools the company merely uses internally (e.g. Slack, Notion, Jira, GitHub, Stripe, HubSpot)
132
+
- Communication or collaboration platforms (e.g. Teams, Zoom)
133
+
- HR, payroll, or admin tools
134
+
- Security or monitoring tools
135
+
- Any tool that is NOT the primary infrastructure hosting the company's production system
136
+
137
+
Typically there is only 1 (sometimes 2) subservice organisations. Be very selective.
109
138
139
+
FORMAT:
110
140
Subservice organisations: [Name1], [Name2], ...
111
141
112
142
If only one: "Subservice organisations: [Name]"
@@ -118,7 +148,7 @@ RULES:
118
148
- Do NOT include the section title.
119
149
- Use "Subservice organisations:" prefix.
120
150
- Just list the names, comma-separated if multiple.
121
-
- Only include organizations explicitly mentioned as subservice providers in sources.
151
+
- Look for where the company hosts its applications and data — that is the subservice organisation.
122
152
${TONE_RULES}`,
123
153
};
124
154
@@ -145,7 +175,7 @@ async function scrapeWebsite(website: string): Promise<string> {
145
175
urls: [website],
146
176
prompt:
147
177
'Extract all text content from this website, including company information, services, mission, vision, and any other relevant business information. Return the content as plain text or markdown.',
148
-
limit: 10
178
+
limit: 10,
149
179
}),
150
180
});
151
181
@@ -223,7 +253,7 @@ async function generateSectionContent(
223
253
contextHubText: string,
224
254
): Promise<string>{
225
255
const{ text }=awaitgenerateText({
226
-
model: groq('openai/gpt-oss-120b'),
256
+
model: openai('gpt-5.2'),
227
257
system: `You are an expert at extracting and organizing company information for audit purposes.
0 commit comments