# Workspace guides How to use each area of the grcHero workspace, from your first project to evidence a reviewer can rely on. Source: https://grchero.dev/docs/guides ## Get started - [Quickstart](https://grchero.dev/docs/guides/quickstart): Create an organization, add a project for one system and answer three questions to get a tailored checklist. - [Workspace tour](https://grchero.dev/docs/guides/workspace-tour): Learn what the sidebar shows inside and outside a project, where every tool lives and how to search, follow your work and get help. ## Plan your work - [Projects and checklists](https://grchero.dev/docs/guides/projects): Shape a project's checklist with profile questions, move each action through its statuses with owners, dates and evidence, and ask a colleague to review it. - [Assets and vendors](https://grchero.dev/docs/guides/assets): List the systems you run and the services you rely on, rate how critical they are, connect them and link them to a project. - [Architecture](https://grchero.dev/docs/guides/architecture): Start a diagram from a blank canvas or a template, let AI draft or improve it with your consent, and link components to your assets. - [Technical checks](https://grchero.dev/docs/guides/technical-checks): Check code and configuration for specific security issues from the browser or the CLI, and turn what you find into tracked remediation. ## Manage risk - [Risks](https://grchero.dev/docs/guides/risks): Record what could cause harm, score it, plan how to treat it and accept it only through an approved exception. - [Controls](https://grchero.dev/docs/guides/controls): Record your safeguards, track framework versions, plan and record control tests, and turn a failed test into corrective work. - [Findings](https://grchero.dev/docs/guides/findings): Track an issue from first report to an independently reviewed fix, or set it aside with a reason and an expiry. - [Exceptions](https://grchero.dev/docs/guides/exceptions): Record a time-limited, approved decision not to meet a policy, control or deadline, or to accept a risk. - [Assessments](https://grchero.dev/docs/guides/assessments): Review a defined scope of controls, optionally against a framework version, and have an independent reviewer finalize it. ## Prove it - [Evidence](https://grchero.dev/docs/guides/evidence): Add files and links as proof, request evidence from colleagues, and attach it to checklist actions, findings and controls. - [Documents](https://grchero.dev/docs/guides/documents): Write policies, plans and records from templates, export them as PDF or Word, and take a saved version through review, publication and acknowledgment. - [Questionnaires](https://grchero.dev/docs/guides/questionnaires): Import a customer's security questions, answer them with cited records, have an independent reviewer approve the set and export the approved answers. - [Review packages](https://grchero.dev/docs/guides/review-packages): Give an auditor or customer a frozen, read-only copy of chosen documents and evidence, for a limited time, with every view logged. - [Trust center](https://grchero.dev/docs/guides/trust-center): Write a page about how you protect customers, list approved policies, and make an exact copy public once someone who can publish approves it. ## Operate - [Incidents](https://grchero.dev/docs/guides/incidents): Record a security event, assign who responds and who reviews, keep a timeline, and close it only after an independent review. - [Continuity](https://grchero.dev/docs/guides/continuity): Record recovery plans with their objectives, test them with exercises and have an independent reviewer accept each result. - [Changes](https://grchero.dev/docs/guides/changes): Document a release or change: what goes out and where, who approved it, how it went and which issues it caused. - [Privacy](https://grchero.dev/docs/guides/privacy): Keep a register of the personal data you process and why, and a record of how each request from a person about their data was handled. - [Access reviews](https://grchero.dev/docs/guides/access-reviews): Check on a schedule that every member and every API token still needs its access, and keep the result as evidence. ## Administer - [Team and roles](https://grchero.dev/docs/guides/team-and-roles): Invite people, choose what each role can do, compose custom roles and create API tokens for scripts. - [AI assistant and agents](https://grchero.dev/docs/guides/ai-and-agents): Ask the assistant about grcHero, choose how much it and outside AI agents may do, and check the drafts agents leave for you. - [Data and deletion](https://grchero.dev/docs/guides/data-and-deletion): See who changed what, export everything, set how long closed records are kept, and delete the workspace when you need to. --- # From sign-in to your first checklist Create an organization, add a project for one system and answer three questions to get a tailored checklist. Source: https://grchero.dev/docs/guides/quickstart ## Create your organization 1. **Sign in** [Sign in to grcHero](https://grchero.dev/workspace) in your browser. If someone has invited your email address, the invitation is shown first, so you can join their workspace instead of creating a new one. 2. **Name your organization** Setup asks for one thing: an **Organization name**, such as your company or team. Working on your own? Choose **Use Personal workspace**. Then select **Create organization**. 3. **Open it** On **Your organizations**, choose the organization to open its Projects page. That page is your starting point every time you come back. > Note: If the page says **No new sign-ups at the moment**, new organizations cannot be created at the moment. Ask a workspace owner to invite you; invitations to your email appear on that page. ## Create a project A project groups the work for one system you secure, such as a Payments API or an internal admin tool. Name it after the system. 1. **Fill in the form** Under **Create your first project**, enter a **Name** and, if you like, a short **Description (optional)**. 2. **Create it** Select **Create project**. The project opens with a card asking you to create its checklist. ## Set up the checklist Your own AI agent can also answer these questions from your code, and you check its answers before they count. See [Start a project from your code](https://grchero.dev/docs/cli/mcp#questions). 1. **Start** Select **Set up checklist**. A short stepper shows where you are. 2. **Answer three questions** Choose the kind of project, the information it works with and what it includes. Pick everything that fits. **Not sure** is a valid answer, and you can change any answer later. 3. **Check and save** Review your answers on **Check your answers**, then select **Use this checklist**. > Note: The checklist is practical security guidance shaped by your answers. It does not decide which laws or frameworks apply to you. ## Work through the first action Each action says what to do, why it is there and how to check it. Set its status, add evidence when you have it and select **Mark done** when it is finished. The project overview always shows the **Next action**. Creating projects and updating the checklist needs a role that can write: contributor, compliance manager, admin or owner. Viewers and reviewers can read everything here. ## Next steps - [Find your way around](https://grchero.dev/docs/guides/workspace-tour): The sidebar, search, inbox and where each tool lives. - [Plan the work in a project](https://grchero.dev/docs/guides/projects): Statuses, owners, evidence, controls and reviews. - [Invite your team](https://grchero.dev/docs/guides/team-and-roles): Roles, invitations and API tokens. --- # Find your way around the workspace Learn what the sidebar shows inside and outside a project, where every tool lives and how to search, follow your work and get help. Source: https://grchero.dev/docs/guides/workspace-tour ## Projects is home After you open an organization you land on **Projects**. It lists your projects with their progress, lets you search and sort them and shows which need attention. Open a project to work on it. Outside a project the sidebar is short: **Search**, **Projects** and an **Organization** section with **Integrations** and **Organization settings**. Owners and admins also see **Team** and **Billing and usage** there. Below them are **CLI**, **Documentation**, **Support** and **Feedback**. ## The project sidebar Inside a project the sidebar changes to that project's pages. Every link keeps you in the project, and **All projects** takes you back. | Entry | What it opens | | --- | --- | | **Overview** | Progress, the next action and linked assets and checks | | **Tasks** | Decisions, work assigned to you and drafts your AI agent left, with a count when something waits | | **Assigned to me** | Findings and reviews assigned to you in this project | | **Project checklist** | The tailored actions, one at a time | | **Inventory** | Assets and vendors linked to the project | | **Architecture** | Diagrams of the system | | **Technical checks** | Reviews of code and configuration | | **Assurance** | A page of cards for Findings, Risks, Controls, Evidence, Assessments, Questionnaires and Exceptions | | **Document & Report Wizard** | Write documents and reports | | **Operations** | A page of cards for Privacy, Subject requests, Incidents, Continuity and Changes | > Note: Each card on **Assurance** and **Operations** shows a short count for the project, and only for tools your role can read. ## More tools The **Tool directory** (`/workspace/tools`) lists every workspace tool, grouped by what you want to do: track what could go wrong, prove your safeguards work, write up and share, and prepare for the unexpected. It also holds tools that are not on a hub, such as Access reviews, Audit log, Review packages and Trust center. Open it from **Find a tool** on the **Support** page or from search. You only see the tools your role can open. ## Search Press `Ctrl K` (`Cmd K` on a Mac), or `/` when you are not typing in a field, or select **Search** at the top of the sidebar. Search finds pages, tools, actions and records you are allowed to read. ## Inbox and Tasks The **Inbox** sits in the header. It shows reminders and work assigned to you, with **All** and **Unread** tabs and **Mark all read**. Its footer links to **Tasks** and **Open full inbox**. **Tasks** lists everything waiting for you across the workspace, in three groups: **Waiting for your decision**, **Left by your AI agent** and **Assigned to you**. The sidebar shows how many are waiting. Every row opens the exact item, and items leave once they are done. Choose which reminders and emails you get under **Notifications** in **Settings**: a daily summary, and a note when your AI agent leaves work for you, at most once an hour. ## Help and settings **Support** collects the help that exists: **Ask AI**, this documentation, the CLI documentation, the tool directory and search. **Ask AI** is also in the header (see [AI assistant and agents](https://grchero.dev/docs/guides/ai-and-agents)). **Feedback** sends a short note to the grcHero team, never your workspace data. Open the account menu at the bottom of the sidebar to switch organization, change the theme, open **Settings** or **Sign out**. **Settings** shows your notification choices and your role; owners and admins also manage the team and workspace there. --- # Plan the work in a project Shape a project's checklist with profile questions, move each action through its statuses with owners, dates and evidence, and ask a colleague to review it. Source: https://grchero.dev/docs/guides/projects ## Profile questions The checklist comes from the project's profile. Setup asks three questions: **Select the kind of project**, **Select the information it works with** and **Select what it includes**. You can pick several answers for each, and **Not sure** keeps the guidance broad. Later, **Refine your checklist** on the project overview offers optional questions about your goal, who will use the system, how people reach it and its current stage. Each says how many actions it could add before you save it. Use **Update profile** on the checklist to change earlier answers; grcHero previews what changes before you save. > Note: When grcHero publishes updated guidance, the overview shows **Updated guidance is available**. Select **Review changes** to see the difference before you adopt it. Your project never changes on its own. ## Action statuses Open **Add a note, owner or due date** under the status to fill in the **Note**, **Owner** and **Due date**. Select **Save progress**, or **Mark done** when the action is finished. Progress counts only the actions that apply. | Status | Meaning | | --- | --- | | **Not started** | Nobody has taken it on yet | | **Planned** | Someone has taken it on; needs an owner and a due date | | **In progress** | Work has started | | **Done** | Finished; shown as self-reported until reviewed | | **Not applicable** | Does not apply to this system; needs a reason in the note | ## Link evidence and controls 1. **Add evidence** Under **Evidence**, select **Add evidence** to record proof as a file or a link. **What to attach** suggests what good evidence looks like. The evidence is a workspace record linked to the action, not a copy. 2. **Link a control** Under **Controls**, choose a workspace control in **Control to link** and select **Link**. A link says which control carries out the action. It never marks the action done or approves the control. > Note: Linking a control needs permission to edit projects and to read controls. People who cannot read controls see only how many are linked. ## Ask for an independent review A done action with linked evidence can be reviewed by someone other than the person who marked it done. The reviewer opens the action, adds an optional **Review note** and selects **Mark reviewed**. The action then reads **Done · reviewed**. Reviewers, compliance managers, admins and owners can review. A review never changes the status, and any later change to the status or its evidence clears it. ## Hand an action to your own AI agent **Do it with your AI agent** on an action gives you a prompt to copy into an AI tool you already use. Paste its answer back under **Bring back the answer** and save it as evidence; it is marked as an agent report, not reviewed, and the status stays as it was. An agent connected through the CLI proposes updates instead, which you accept or dismiss on the action. See [AI assistant and agents](https://grchero.dev/docs/guides/ai-and-agents). ## Archive and restore To put a finished or paused project away, select **Edit project** and then **Archive**. Archived projects stay readable but cannot change. Select **Restore** on an archived project to work on it again. Anyone who can edit projects (contributor, compliance manager, admin or owner) can archive and restore. Only an owner can delete a project, and only an archived one with no recorded work or history: use **Check deletion** to see whether that is possible. --- # Record your assets and vendors List the systems you run and the services you rely on, rate how critical they are, connect them and link them to a project. Source: https://grchero.dev/docs/guides/assets ## Add an asset Open **Inventory** in the sidebar. The page is titled **Assets** and has two tabs: **Assets** and **Vendors**. 1. **Choose a type** Select **Add asset** and choose what to add: **Application**, **Cloud resource**, **Code repository**, **Data & infrastructure**, **Device or endpoint**, **Network component**, **Hardware** or **Something else**. 2. **Name it** Give it a clear name, such as Billing database. **Add details** is optional and holds a description and other fields. 3. **Save** Select **Add asset**. When you add it from inside a project, it is linked to that project. ## Describe it Open an asset to see its details and select **Edit asset** to change them. | Field | What it holds | | --- | --- | | **Lifecycle** | **Planned**, **Active**, **Maintenance** or **Retired** | | **Criticality** | 1 to 5, from 1 (low) to 5 (business stops) | | **Description** | What the asset supports | | **Tags** | Comma separated labels, such as production | | **Owner** | **Assign to me** sets you as the owner | ## Connect assets Under **Relationships** in an asset's details, choose a relationship type (depends on, uses, runs on, stores, connects to or owned by) and the asset to connect, then select **Connect**. These relationships are the recorded model of your systems; diagrams can show them. > Warning: Deleting an asset removes its relationships. Diagrams that showed it keep a drawing-only copy. An asset that is part of retained assurance history cannot be deleted: set its lifecycle to **Retired** instead. Deleting needs a compliance manager, admin or owner. ## Add a vendor On the **Vendors** tab, select **Add vendor** and fill in the **Name**, **Description**, **Criticality** (low, medium, high or critical), **Review due date**, **Contract reference** and **DPA reference**. Select **Review** on a vendor to open its due diligence review. ## Link to a project On a project's overview, **Assets and reviews** lists the assets linked to it: choose one and select **Add asset**, or remove one with **Remove from project**. On the **Vendors** tab inside a project, **Link existing** links a vendor the organization already has. Contributors, compliance managers, admins and owners can add and edit assets and vendors. Everyone can read them. --- # Draw your architecture Start a diagram from a blank canvas or a template, let AI draft or improve it with your consent, and link components to your assets. Source: https://grchero.dev/docs/guides/architecture ## Start a diagram Open **Architecture** in the sidebar. The page lists your diagrams and offers two ways to begin. | Button | What you get | | --- | --- | | **New diagram** | A **Blank canvas**, or an **Asset-connected view** built from your assets | | **From template** | A copy of an example structure, such as a three-tier web app or a delivery pipeline, to adapt | > Note: Templates are fictional examples, not statements about any real system. ## Work on the canvas Tools float over the canvas as icons: **Select** (V), **Hand** (H), **Node** (N), **Boundary** (B), **From assets** and **Tidy layout**. Hover over an icon for its name, or open **Shortcuts** for the full list. Undo is `Ctrl Z`. Arrows you draw belong to the diagram only. They do not change the relationships recorded on your assets. ## Link components to assets Select **From assets**, choose an asset and place it. That component then stands for the asset in your inventory. To record a lasting connection between two assets, add it under **Relationships** on the asset (see [Assets and vendors](https://grchero.dev/docs/guides/assets)). ## Draft or improve with AI 1. **Draft an empty diagram** In an empty diagram, select **Draft with AI**, describe the system and, if you like, pick up to 25 assets under **Use my assets (optional)**. A line above the button says exactly what is sent; selecting **Generate draft** sends it. 2. **Review the draft** Check the picture and any **Suggested matches to your assets**. Only the matches you tick link a component to an asset. Select **Use this draft** to put it on the canvas as one step you can undo. 3. **Improve a diagram** In a diagram with content, select **Improve with AI**, say what should change and select **Propose changes**; a line above the button says what is sent. You get a list of separate changes to accept or leave out, applied together as one undoable edit. AI never renames or removes a component linked to an asset, removes a boundary or touches a recorded relationship. > Warning: A diagram drafted by AI shows **AI draft, not reviewed** until someone who can edit it selects **Mark as reviewed**. Marking it reviewed means a person has looked at it; it approves nothing. ## Who can use AI drafting AI drafting needs a role that can write (contributor, compliance manager, admin or owner), a press of the send button for every request and counts against the workspace's daily AI limit. A draft sends your description and, only if you picked them, the names and types of those assets. If AI is not set up for your workspace, the dialog says so and the rest of the editor works as usual. Owners and admins can stop drafts from using assets under **AI diagram drafts** in **Settings**. ## Bring in a diagram from your own AI agent On a checklist action that uses a diagram, **Do it with your AI agent** gives you a prompt. Paste the agent's answer back and select **Create a diagram from it**; grcHero checks it without calling any AI and saves a draft marked **AI draft, not reviewed**. A diagram an agent sends through the CLI waits on the **Architecture** page under **Drafts from an AI agent**. Select **Open in editor** to check it, or **Dismiss** it. No diagram exists until a person opens it. --- # Run technical checks Check code and configuration for specific security issues from the browser or the CLI, and turn what you find into tracked remediation. Source: https://grchero.dev/docs/guides/technical-checks ## What a check is A technical check looks for specific issues in the files you choose: credential-like values, dynamic code evaluation, production debug settings, broad CI workflow permissions and container runtime users. > Warning: A check is a bounded review, not a complete application security scan. A clean result means these checks found nothing in what you selected. It does not show that a system is secure. ## Run a check in the browser 1. **Choose the source** Under **New check**, choose **Paste a snippet**, **Choose files** or **Choose folder**. 2. **Name and place it** Add a **Review name (optional)** and choose the **Project**. Inside a project it is filled in for you. 3. **Pick focus areas** Open **Review options** to limit the **Focus areas**: **Secrets**, **Code**, **Configuration**, **Workflows** and **Containers**. 4. **Run it** Select **Check selected scope**. **What this review checked** lists the checks that applied. > Note: Limits: up to 40 files, 256 KiB each and 1 MiB in total. grcHero keeps the results (file names, lines and observations), not the source you sent. ## Act on the results Each observation says **What to do**. Select **Track remediation** to turn it into a finding with an owner and a review, or **Open remediation** if one already exists. For a quick note without a finding, use **Record a local observation status** (**Open**, **Reviewing** or **Resolved**). Running checks and tracking remediation need a role that can write: contributor, compliance manager, admin or owner. ## Check a whole repository with the CLI For a repository, use the grcHero CLI. It reviews files on your machine, and your source never leaves it. When you send a report, its results appear in **Technical checks** beside browser checks, marked as a CLI scan with the CLI version, and the report arrives as an editable draft. ```sh grchero scan . --output review.json grchero submit review.json --project --title 'API review' ``` > Note: Read [Review your files](https://grchero.dev/docs/cli/scan) to run a scan and [Save and send reports](https://grchero.dev/docs/cli/reports) to send one to your workspace. --- # Keep a risk register Record what could cause harm, score it, plan how to treat it and accept it only through an approved exception. Source: https://grchero.dev/docs/guides/risks ## Add a risk Open **Risks**. Inside a project it sits in the **Assurance** hub; outside one, find it in **More tools**. Adding a risk needs Risks write access, which contributors, compliance managers, admins and owners hold. Viewers and reviewers can read the register. 1. **Select Add risk** The dialog asks for a **Title** (up to 200 characters), a **Target type** (**Asset**, **Process** or **Organization**), a **Status** and a **Description** of what could happen and why it matters. 2. **Choose the status** A new risk is **Open**, **Mitigated** or **Closed**. Saving a risk as **Mitigated** or **Closed** is a person's statement, so it is accepted only from the browser, never from an API token or agent. 3. **Select Create risk** The risk appears in the register, ordered by title. Each card shows its status, target, last update and where the record came from, for example **Declared by a person**. > Note: If you add a risk while a project is open, it is linked to that project. ## How acceptance works Accepted is never a status you choose. A risk counts as accepted only while an approved, unexpired risk-acceptance exception covers it. To accept a risk, save it first, then open [Exceptions](https://grchero.dev/docs/guides/exceptions) and request an exception of the kind **Accept a risk**. While that exception is in effect, the risk card shows **Accepted** and a link such as **Accepted until 12 Mar 2027** that opens the exception. When the exception expires or is revoked, the risk shows its own status again. > Note: Risks saved as accepted before this rule existed show **Accepted, no approval recorded**. They are never treated as approved. ## Score a risk A risk assessment records a likelihood and an impact, each from 1 to 5, and a written rationale. grcHero calculates the score as likelihood times impact, so it runs from 1 to 25. Each assessment is kept, newest first, so you can see how the view of a risk changed. In the workspace you score a risk from a finding: open the finding's **Business risk** section, select **Link or create risk** and fill in **Likelihood**, **Business impact** and **Assessment rationale**. Technical severity on a finding never sets the business score. Scripts can add and read assessments through the [API](https://grchero.dev/docs/api/records). ## Plan a treatment A treatment records how you will deal with a risk. Today treatments are added and read through the [API](https://grchero.dev/docs/api/records); the register page does not show them yet. | Field | Values | | --- | --- | | Strategy | Mitigate, accept, transfer or avoid | | Status | Planned, in progress or complete | | Due date and notes | Optional | > Note: A treatment with the accept strategy is a plan, not an acceptance. The risk is accepted only through an approved exception. Recording a treatment as complete or as accept is refused for API tokens and agents. ## Link a risk to a project Open **Risks** from inside a project and select **Link existing**. Choose a risk from the workspace register and select **Link to project**. The risk stays one record: the project points to it rather than copying it. You need Risks write access to link. ## Related guides - [Exceptions](https://grchero.dev/docs/guides/exceptions): Request and approve a time-limited risk acceptance. - [Findings](https://grchero.dev/docs/guides/findings): Fix an issue and link it to the business risk it creates. - [Controls](https://grchero.dev/docs/guides/controls): Record the safeguards that reduce your risks. --- # Record controls and test them Record your safeguards, track framework versions, plan and record control tests, and turn a failed test into corrective work. Source: https://grchero.dev/docs/guides/controls ## Add a control Open **Controls & frameworks** and stay on the **Controls** tab. Select **Add control** and fill in a **Control code** such as `AC-01`, a **Title** and a **Description**, then select **Create control**. Adding controls needs Controls write access: contributors, compliance managers, admins and owners. Each control card shows its description, **Control testing**, **Supporting evidence**, whether an owner is assigned, and any exception that covers it. Inside a project, **Link existing** adds a workspace control to the project without copying it. ## Track a framework On the **Frameworks** tab, select **Add framework**, choose a **Framework track** and select **Track framework**. This needs Frameworks write access, which compliance managers, admins and owners hold. Each track has a fixed version and a link to its publisher. Tracking a framework records your interest in it. It does not import licensed requirement text and does not claim audit readiness. | Track | Version | | --- | --- | | CIS Controls | 8.1 | | NIST CSF | 2.0 | | ISO/IEC 27001 | 2022 | | SOC 2 | 2017 TSC / 2022 PoF | ## Map controls to requirements Requirements and mappings are managed through the [API](https://grchero.dev/docs/api/records) today; the CLI can list them with `grchero framework requirements`. Someone with Frameworks write access adds the requirements you work to, in your own words, under a tracked framework. A mapping links a control to a requirement with a note on where the link comes from and a confidence from 1 to 5. It starts as a proposal. Someone other than the person who proposed it, holding Controls review (reviewers, compliance managers, admins and owners), approves or rejects it once, with a note. To change a decided mapping, remove it and propose it again. ## Test a control Expand **Control testing** on a control card. Setting up and recording tests needs Controls write access; reviewing a result needs Controls review. 1. **Set up testing** Choose a **Test type** (**Operating effectiveness** or **Control design**), describe the **Procedure**, pick a **Testing owner** and optionally an **Independent reviewer**, then set **Repeat every (days)** and **Next test due**. Select **Save plan**. 2. **Record test** Enter the **Period start** and **Period end**, the **Sample and work performed**, a **Result** (**Pass**, **Fail** or **Inconclusive**) and the **Conclusion and limitations**. Tick the **Evidence for this period**. A pass or fail needs evidence; without proof, record the result as inconclusive. 3. **Review the result** Another member selects **Review result** and chooses **Accept recorded result and proof for this test** or **Request changes**, with a **Review rationale**. The testing owner and the person who ran the test cannot review their own result, and nobody can accept evidence they uploaded. > Note: An accepted failure stays a failure. Only an accepted pass against an unchanged plan moves the next due date forward. A design test says nothing about how the control operates over time. ## Fix a failed test On a failed or inconclusive result, select **Create corrective finding**. You set the severity, the remediation owner, a due date and an explanation. The finding then follows the normal [finding workflow](https://grchero.dev/docs/guides/findings). To close the loop, record a newer test of the same plan and link it to the corrective finding. The fix can be submitted and approved only when the latest linked retest is an accepted pass with current proof. A test never closes a finding or creates a business risk by itself. ## Evidence on a control **Supporting evidence** on a control card lists the proof linked to it, and says whether each item was reviewed for a fix or needs a fresh review. Evidence reaches a control when a reviewer approves a finding's fix, when a control test is accepted, or when someone links it with `grchero evidence link` or `grchero evidence add --control`. See [Add evidence from CI](https://grchero.dev/docs/cli/evidence). Use **Request evidence** on **Control testing** to ask a colleague for proof. Linked evidence supports the control; it does not establish the control's overall effectiveness. --- # Work a finding through to review Track an issue from first report to an independently reviewed fix, or set it aside with a reason and an expiry. Source: https://grchero.dev/docs/guides/findings ## Where findings come from Adding or editing findings needs Findings write access: contributors, compliance managers, admins and owners. A new finding asks for a **Title**, the **Observation** and a **Technical severity** (low, medium, high or critical). | Source | How it becomes a finding | | --- | --- | | Technical checks and CLI scans | On an observation in [Technical checks](https://grchero.dev/docs/guides/technical-checks), select **Track remediation**. Tracking the same observation again opens the same finding. | | Manual | Select **Add finding** on the **Findings** page. | | Control tests | **Create corrective finding** on a failed or inconclusive test. | | Assessments | **Add finding** while an assessment is being worked. | | Incidents and exercises | Created from an [incident](https://grchero.dev/docs/guides/incidents) or a [continuity](https://grchero.dev/docs/guides/continuity) exercise response. | | Vendor reviews | Created from a vendor review. | ## Fix it 1. **Plan the work** On the **Remediation** tab, choose the **Owner**, **Due date** and **Reviewer**, describe the **Fix or corrective action** and **How the fix was checked**, and optionally the **Affected asset** and **Relevant control**. Select **Save changes**. 2. **Link the business risk** Under **Business risk**, select **Link or create risk**. Choose an existing risk or create one with its own likelihood, impact and rationale. 3. **Add evidence** On the **Evidence** tab, choose **Existing evidence** or select **Upload or add evidence**. Files must be stored and scanned clean, and expired evidence is refused. The version you link is the one the reviewer sees. 4. **Start remediation, then Request review** **Request review** works only when the fix, how it was checked and current evidence are all recorded. ## Review and decisions Decisions need Findings review: reviewers, compliance managers, admins and owners. If a reviewer is assigned, only that person decides. The remediation owner, the person who requested review and anyone who uploaded or attached the evidence cannot approve. | Decision | What it needs | Status after | | --- | --- | --- | | **Approve fix** | Review was requested; evidence still current | **Fix reviewed** | | **Request changes** | Review was requested | **In progress** | | **Accept exception** | A linked business risk, a reason, an expiry at most 365 days away, and permission to approve exceptions (compliance manager, admin, owner) | **Exception accepted** | | **Mark false positive** | A reason and a future review expiry | **False positive** | | **Mark duplicate** | A reason and the **Original finding** | **Duplicate** | | **Suppress until a date** | A reason and a date at most 365 days away | **Suppressed** | > Note: **Accept exception** sets the finding aside. It does not make the linked risk accepted; that takes a risk-acceptance exception in [Exceptions](https://grchero.dev/docs/guides/exceptions). ## Close and reopen **Close finding** is the last step, available once a fix is reviewed or a reviewer has set the finding aside. Closing keeps the decision that settled it. **Reopen finding** returns it to **Open**, clears the decision and puts its evidence back to pending. Reopening a finding a reviewer settled is accepted only from the browser. A finding needs reopening when its set-aside date passes (**Set-aside expired**) or its reviewed evidence changes or expires (**Evidence needs review**). ## Your assignments **Assigned to me** lists the findings you own or review. Every change and decision is kept on the **Activity** tab. An approved fix supports the linked control for this finding; it does not establish the control's overall effectiveness. From the terminal, `grchero finding` lists, edits and moves findings through the same steps. See [Workspace commands](https://grchero.dev/docs/cli/workspace). --- # Request and approve an exception Record a time-limited, approved decision not to meet a policy, control or deadline, or to accept a risk. Source: https://grchero.dev/docs/guides/exceptions ## Kinds of exception | Kind | Linked record | Used when | | --- | --- | --- | | **Accept a risk** | A risk | You carry a risk for a time instead of treating it. | | **Control not met** | A control | A safeguard is not in place or not working as described. | | **More time for a finding** | A finding | A fix cannot be done by its due date. | | **Policy not followed** | None | A rule in a policy will not be followed for a time. | ## Request an exception Open **Exceptions** and select **New exception**. Anyone with Exceptions write access can request one: contributors, compliance managers, admins and owners. 1. **Choose the kind** Answer **What is the exception for?** and select **Continue**. 2. **What and why** Pick the linked record, give a **Title** and explain **Why it cannot be met**. 3. **Meanwhile** Describe **What reduces the risk meanwhile** (write "None" if nothing does), choose the **Owner** who is accountable while it lasts, and set **Expires on**. An exception lasts at most a year from approval. 4. **Save draft, then Submit for approval** Only a draft can be edited. Editing a submitted exception takes it back to draft, so the approver always decides on the final wording. ## Who approves Approving, rejecting and revoking need permission to approve exceptions, which compliance managers, admins and owners hold. Reviewers do not: accepting risk is a management decision. A rejection needs a reason. The person who asked for an exception and its owner cannot decide on it while someone else can. If nobody else can, that person may decide, and the decision is shown as made by the person concerned. > Note: Approval keeps a record in Evidence. It never changes the linked risk, control or finding: the record shows the exception next to its own status. ## After a decision A decided exception cannot be edited or deleted. The only change allowed is **Revoke**, which ends an approved exception early and needs a reason. The requester can **Withdraw** a draft or submitted exception. Approved exceptions show as **Active**, **Expiring soon** within 30 days of the expiry date, then **Expired**, at which point the requirement applies again. To continue, select **Renew**: this starts a new exception linked to the old one, which needs its own approval. An exception is never extended in place. ## Find exceptions The list filters to **Open** (draft and waiting for a decision), **In effect** and **Ended**. Risks, controls and findings show their active exception and link to it. In-app reminders go to the owner and requester before an exception expires, and to approvers when one has waited more than three days. --- # Run an assessment Review a defined scope of controls, optionally against a framework version, and have an independent reviewer finalize it. Source: https://grchero.dev/docs/guides/assessments ## Start an assessment Open **Assessments** and select **Start assessment**. Give it a **Name**, a **Scope**, a **Status** (**Planned** or **In progress**) and an optional **Due date**, then select **Start assessment**. This needs Assessments write access: contributors, compliance managers, admins and owners. ## Set the scope and reviewer 1. **Describe the scope** In **Assessment scope**, write the systems, boundaries and period the review covers. 2. **Choose a framework** Pick one of the frameworks your workspace tracks, which fixes the version you measure against, or leave it as **Not measured against a framework**. 3. **Name a reviewer** The reviewer needs Assessments review (reviewers, compliance managers, admins and owners) and must not have taken part in the work. 4. **Select controls and Save scope** Tick the **Controls in scope**. Saving moves the assessment to in progress. ## Record findings While the assessment is being worked, select **Add finding** and give a **Title**, **Severity**, **Description** and optional **Due date**. New findings start open and are fixed and reviewed in [Findings](https://grchero.dev/docs/guides/findings). Use **Request evidence** to ask a colleague for proof within the assessment's scope. ## Request review and finalize Select **Request final review** once there is a written scope, at least one control and a named reviewer. Only that reviewer can then select **Finalize assessment**, and nobody who created it, edited its scope or submitted it can finalize. Finalizing asks for the **Conclusion and limitations**. Finalizing saves a revision that preserves the scope, controls, mappings, control tests, findings, evidence requests and evidence as they were, with an integrity fingerprint. Open it with **View snapshot** and use **Export snapshot JSON** to keep a copy. > Note: A finalized revision records what was reviewed. It does not score the assessment or certify anything. ## Reopen A reviewer can select **Reopen for work** with a reason. Earlier finalized revisions stay unchanged, and the next finalization adds a new one. --- # Keep evidence Add files and links as proof, request evidence from colleagues, and attach it to checklist actions, findings and controls. Source: https://grchero.dev/docs/guides/evidence ## Add evidence Open the **Evidence library** and select **Add evidence**. Adding evidence needs Evidence write access: contributors, compliance managers, admins and owners. | Option | What you give | | --- | --- | | **Upload a file** | A file, a **Title** and an optional expiry date. Accepted types are PDF, DOCX, XLSX, CSV, TXT, Markdown, PNG and JPEG, within your workspace's upload limit and storage. | | **Add a link** | A **Web address** starting with http:// or https://, a **Title** and an optional expiry date. grcHero never fetches the address, so it cannot tell when the page behind it changes. | | **Choose existing** | From a checklist action or finding, reuse a record already in the library instead of adding a copy. | ## Scanning, versions and expiry Where the workspace scans uploads, each file shows **Scanning**, then **Scanned, no threats**, or **Blocked: malware found**. Only clean files can be downloaded, linked as proof for a fix or submitted for review. **Scan again** retries a scan that did not finish. **Replace file** keeps the current file as an earlier version, and **History** shows every version and event. Search looks at names and the text of files grcHero could read. An expiry date marks when the proof goes stale: expired evidence is refused as proof for a fix or a request. > Note: Deleting evidence needs Evidence delete (compliance managers, admins and owners). Evidence that supports recorded remediation, control testing, an evidence request or a finalized assessment cannot be deleted; add a replacement version instead. ## Attach evidence to work On a project checklist action, select **Add evidence** to upload, add a link or choose existing evidence. A finding takes evidence on its **Evidence** tab, and a control test takes it in **Evidence for this period**. Each link points to the one record in the library, so the same proof can support several items. Evidence reaches a control's **Supporting evidence** when a reviewer approves a finding's fix or accepts a control test. From a pipeline, `grchero evidence add` uploads a file and links it to a control. See [Add evidence from CI](https://grchero.dev/docs/cli/evidence). ## Request evidence 1. **Create the request** On the **Requests** tab, or from **Request evidence** on a control, assessment or finding, give a **Title**, **Describe the proof needed**, and choose what it is for (**General collection**, **Control**, **Assessment** or **Finding**). 2. **Assign it** Choose a **Collection owner**, an **Independent reviewer** who is someone else, a **Due date** and an optional **Renewal date**. The owner needs Evidence write access; the reviewer needs Evidence review (reviewers, compliance managers, admins and owners). 3. **Collect and submit** The owner sees it in **Tasks**, and under **Evidence requests** in **Assigned to me**, adds files or links and submits them with an explanation. A file must finish scanning first. 4. **Review** The reviewer accepts the submission or requests changes, with a reason. Nobody can accept proof they own, submitted or uploaded. > Note: Only the requester or a compliance manager, admin or owner can reassign or cancel a request. An accepted request does not mark a control effective or a finding resolved. ## What "not reviewed" means Each record says where it comes from. Evidence is **Declared by a person** until a reviewer accepts that exact version through an evidence request; it then shows **Reviewed** with the date. Any later change to the file means it is no longer reviewed. Evidence written by an AI agent, such as an agent report saved on a checklist action, is marked not reviewed or **Written by an AI agent, not checked**. Read it before you rely on it or mark an action done. **Mark checked** only says a person looked at it; it is not a review. --- # Write, review and publish documents Write policies, plans and records from templates, export them as PDF or Word, and take a saved version through review, publication and acknowledgment. Source: https://grchero.dev/docs/guides/documents ## Choose a template Open the **Document & Report Wizard**. Your documents are listed with their type, project, status and last update. Under **Start from a template**, pick one to write. Writing needs Documents write access: contributors, compliance managers, admins and owners. | Group | Templates | | --- | --- | | **Write a document** | Project boundary, Information security policy, Procedure, Incident report, Threat model, Continuity and recovery plan, Record of processing, Data model, System requirements | | **Generate a report** | Technical scan report. Reports that need data you do not have yet show **Needs data**; **Coming soon** marks templates not built. | ## Write and export 1. **Fill each section** Move through the sections in the side list. The **Live preview** updates as you type. **Fill with example** loads sample text, and some templates offer a fill from your own records, such as **Fill from an incident**. 2. **Set the details** Choose a **Classification** (**Public**, **Internal**, **Confidential** or **Restricted**) and, under **Review and save**, the **Project**. The working copy is **Draft**, or **Retired** when no longer used. 3. **Save document** Each save keeps a version; later saves are **Save revision**, and **Revision history** lists them. Do not enter passwords, keys or other secrets. 4. **Download PDF or Word** Files are made from the saved version, so save first. Before the first save, **Save as PDF** prints the page instead. ## Draft with AI **Draft with AI** fills the template from up to eight of your controls or evidence records. You tick the records, may add short guidance, and must consent each time to sending the selected records to the named provider. The draft uses only what those records say, leaves gaps empty and is not saved until you save it. An AI draft is a draft for a person to review: generating it never saves, approves or publishes anything. If AI drafting is not set up for your workspace, the dialog says so and you can still write or fill the document yourself. ## Request review Saving a document does not approve it. Open **Review and publication** and select **Request review**. Choose a **Saved document** version or an **Uploaded document** (a stored, clean file from Evidence), an **Independent reviewer** and describe the scope in **Review request**. Requesting needs Documents write access. The reviewer needs Documents review (reviewers, compliance managers, admins and owners) and cannot be the submitter, the creator, an author of any saved revision or the uploader of the file. They read the captured version and choose **Approve this version** or **Request changes**, with a reason. If the document is edited while the review is pending, that review can no longer be approved: request review of the new version. ## Publish and collect acknowledgments Approval alone does not publish. A compliance manager, admin or owner selects **Publish approved version** and sets the **Effective date**, **Next review date** and review owner. They can then **Assign acknowledgment** to members with a due date, or **Withdraw publication** with a reason. Each assigned member opens **Assigned to me**, then **Documents**, reads the published version and selects **Acknowledge version**. An acknowledgment records that the member says they read that version. It is not a signature or proof of training. > Note: Editing the working copy after publication leaves the published version unchanged. Publish a reviewed replacement to change it. --- # Answer a customer questionnaire Import a customer's security questions, answer them with cited records, have an independent reviewer approve the set and export the approved answers. Source: https://grchero.dev/docs/guides/questionnaires ## Import the questions Open **Questionnaires** from the **Assurance** hub and choose **New questionnaire**. Give it a name and version, then paste one question per line or choose **Upload questionnaire**. Uploads accept PDF, Word, Excel, CSV, Markdown or text up to 10 MB. The file is read in the background: it is checked for malware first, then its questions are extracted, and the stage is shown as it goes. You can keep editing or come back later; **Recent file imports** lists your last uploads for the project. 1. **Wait for Ready to review** Extraction is a best effort, so treat the list as a draft. 2. **Choose Use extracted questions** The questions fill the list. If you had already typed some, you are asked before they are replaced. 3. **Check and edit the list** Compare it with the original file. The customer's own reference, section and answer options are kept where the file shows them. 4. **Choose Import questions** Nothing is saved until you do. Previews expire after 24 hours, and the uploaded file is queued for deletion once it has been read. > Note: Writing questionnaires needs contributor, compliance manager, admin or owner. A file preview is visible only to the person who uploaded it. ## Answer with cited records On the **Answers** tab, pick a question and open **Supporting records**. Search your controls, evidence and published documents and attach the ones that support the answer. A match is a suggestion, not proof: read each record before you cite it. Write the answer and choose **Save answer**. Every save keeps a revision under **Answer history**. An answer with no cited record is labelled self-attested in the review and in the export. > Note: Only current records can be cited: evidence that has not expired, with clean files, and documents with an approved publication still in force. If a cited record changes later, the review shows that its sources need a new look. ## Draft with AI When your operator has set up an AI provider, **Supporting records** shows a consent box. Tick it to send this question and the selected excerpts to the named provider, then choose **Draft from cited records**. Consent is asked again for every draft. Without a provider, the panel says AI drafting is not configured and you write answers yourself. A draft is a starting point. Edit it, save it, and it still goes through the same review as any other answer. **Suggest order**, which re-orders candidate records, is off by default and appears only when the operator turns it on. Your own AI agent can also draft answers through the [MCP server](https://grchero.dev/docs/cli/mcp). They are saved as AI-assisted, never over an answer a person wrote, and never while the questionnaire is waiting for or has passed review. ## Ask for an independent review 1. **Open Review & export** It shows the latest submitted snapshot and its review history. 2. **Choose Request review** Pick a reviewer. Only reviewers, compliance managers, admins and owners can review, and someone who wrote an answer, submitted the set or supplied a cited record cannot approve it. 3. **The reviewer decides** They choose **Review submission**, read the frozen snapshot and select **Approve answer set** or **Request changes** with a note. > Note: If no one else can review, the page says so and links to **Team** to invite a reviewer. You can still edit and use **Export saved drafts** meanwhile. ## Export the approved answers After approval, **Export approved answers** downloads an Excel workbook with the answers and a provenance sheet; **CSV** is beside it. Export needs reviewer, compliance manager, admin or owner. Export works only for the latest approved set, unchanged since approval and with its cited records still current. Edit an answer and you need a new review. Approval is your team's decision about the answers, not a certification. ## Related guides - [Evidence](https://grchero.dev/docs/guides/evidence): Add the records your answers cite. - [Review packages](https://grchero.dev/docs/guides/review-packages): Let a customer read the supporting documents. - [Trust center](https://grchero.dev/docs/guides/trust-center): Publish one answer for every customer. --- # Share documents with an outside reviewer Give an auditor or customer a frozen, read-only copy of chosen documents and evidence, for a limited time, with every view logged. Source: https://grchero.dev/docs/guides/review-packages ## What a package is A review package is a copy of up to 20 records, taken when you create it. Later edits, new versions or retirements do not change it; to share an update, create a new package. You can share documents with an approved publication in force and evidence that has not expired (files only once they are stored and scanned clean). Controls, findings, assessments and reports cannot be shared. > Note: Review packages are for compliance managers, admins and owners. Find them in **More tools**. ## Create a package 1. **Choose New package** Give it a **Title** and, if you like, a **Note for reviewers**. 2. **Add terms if you need them** **Terms reviewers must accept (optional)** holds your own wording, for example confidentiality terms. grcHero writes no legal text. Reviewers see nothing else until they accept. 3. **Decide on downloads** Off by default. Tick **Allow reviewers to download files** to let them download clean evidence files exactly as frozen, through links that expire after a minute. 4. **Set Access ends after** 7, 30, 60 or 90 days. 5. **Pick what to share and choose Create package** The list shows only records that can be shared. Terms and the download choice cannot change afterwards. ## Invite a reviewer In the package, use **Invite a reviewer by email**. When email is set up for the workspace the invitation is sent; otherwise the **Invitation link** is shown once for you to send yourself. The reviewer signs in with that exact email address, confirmed by their sign-in, and reads the package in the browser. Reviewers are guests, not members: they see only the packages they were invited to. > Note: You can send up to 20 invitations an hour. ## Answer reviewers' questions Once they have accepted any terms, reviewers can ask about the package or one item. Questions appear under **Questions** and in the package creator's **Tasks**. Type an answer and choose **Send answer**; an answer is given once and cannot be edited. **Access log** lists every view, download, acceptance and question. ## End access Use **Revoke** next to a reviewer, or **Revoke package for everyone**. Expiry and revocation are checked on every read. A revoked reviewer or package stays revoked; create a new package or invitation to restore access. > Warning: Revoking cannot recall what a reviewer already read, copied, screenshotted or downloaded. Read only is a policy, not a technical barrier. --- # Publish a trust page Write a page about how you protect customers, list approved policies, and make an exact copy public once someone who can publish approves it. Source: https://grchero.dev/docs/guides/trust-center ## Before you start Open **Trust center** from **More tools**. Everyone can read it; compliance managers, admins and owners can write pages and decide on publication. Trust pages live at an address made of your public name and the page address. Someone who can publish chooses the public name under **Public address**. > Warning: A trust page is public only once the operator of your grcHero deployment has set up the trust site. Until then **Public address** says the trust site is not set up on this server yet, and nothing is reachable from outside, even after approval. ## Write a page 1. **Choose New trust page** Give it a **Title** and a **Page address** (lowercase letters, digits and hyphens). 2. **Add an introduction and sections** Use **Edit introduction** and **Add section** for how you protect data, who to contact and similar statements. 3. **Add documents** **Add document** lists approved documents in force. Under **Who can read it**, choose **Anyone can read it** or **Visitors ask for it**. Documents written in the Document wizard can only be shared on request. 4. **Preview** **Preview** shows the page as a visitor will see it. > Note: Findings, scan results, risks, controls, evidence records and compliance or certification claims are never published. ## Request and approve publication Choose **Request publication** (or **Publish changes** for a live page). This freezes the exact copy that will go public. Another person who can publish then opens **Review and approve**, may set an end date under **Stop showing it on**, and chooses **Publish**. They can also **Reject** it, and you can **Withdraw** your own request. If you are the only person in the workspace who can publish, you may approve your own request after confirming it, and it is recorded as self-approved. **Take down** ends a live page at once, with a reason. Copies visitors already saved are not recalled. **History** keeps every version with its decision. > Note: If a listed policy is withdrawn or replaced, it disappears from every trust page at once. ## Handle document requests When a visitor asks for a document you list on request, it appears under **Requests** for people who can publish, and in their **Tasks**. It shows the visitor's email, company, reason and the documents asked for. To share, create a [review package](https://grchero.dev/docs/guides/review-packages) with those documents and invite the visitor's email, then choose **Mark as shared** and pick the package (or **Shared another way**). Otherwise choose **Decline**. Each request is decided once. grcHero never writes to the visitor. > Note: Requests hold personal data. A workspace can set how long decided requests are kept; see [Data and deletion](https://grchero.dev/docs/guides/data-and-deletion). --- # Respond to an incident Record a security event, assign who responds and who reviews, keep a timeline, and close it only after an independent review. Source: https://grchero.dev/docs/guides/incidents ## Record an incident Open **Incidents** from the **Operations** hub and choose **Record incident**. Give it a title, describe what happened, set the severity (low, medium, high or critical) and, if you know it, the affected asset. It starts as detected. Contributors and above can record incidents. An incident your own AI agent drafts through the [MCP server](https://grchero.dev/docs/cli/mcp) is always recorded as detected. ## Assign the response Choose **Assign response** and set the **Response owner**, the **Closure reviewer** and when the response is due. The reviewer must be someone other than the owner and must hold review rights (reviewer, compliance manager, admin or owner). Only the response owner or an incident manager (compliance manager, admin or owner) can change the response, and only an incident manager can hand it to another owner. ## Work the response 1. **Investigate and contain** Use **Investigate** and **Contain** to move the incident along as the work happens. 2. **Keep the timeline** **Add update** appends a dated note with the time of the event. Entries cannot be edited, and event times in the future are refused. 3. **Record the response** **Record response** holds five parts: **Impact**, **Containment**, **Recovery**, **Root cause** and **Lessons learned**. > Note: grcHero does not notify regulators, page anyone or work out legal reporting deadlines. The timeline is what people record, not monitoring data. ## Close it with an independent review When all five parts are filled in, choose **Submit resolution**, select the evidence that shows it, and send it with **Request closure review**. The submission freezes the response and its evidence. The closure reviewer chooses **Review closure** and either accepts closure or requests changes. Someone who wrote the response, owns it or supplied its evidence cannot approve it. Acceptance closes the incident; a request for changes sends it back to investigating. **Reopen** resumes work later, and earlier submissions stay in history. ## Turn lessons into findings **Create finding** hands follow-up work to [Findings](https://grchero.dev/docs/guides/findings) with an owner, reviewer, severity and due date, linked back to the incident. It does not accept a risk or change the incident. **Write an incident report** opens the [Document wizard](https://grchero.dev/docs/guides/documents) for a written report. --- # Plan and test recovery Record recovery plans with their objectives, test them with exercises and have an independent reviewer accept each result. Source: https://grchero.dev/docs/guides/continuity ## Create a recovery plan Open **Continuity** from the **Operations** hub. The page, **Recovery**, has two views: **Plans** and **Exercises**. Choose **Create plan** and enter the plan name, type (business continuity or disaster recovery), scope, recovery time objective and recovery point objective in minutes, and the plan owner. Every save keeps a new version of the plan. This is the plan's working data, not an approved written plan: write and approve the full plan in the [Document wizard](https://grchero.dev/docs/guides/documents) through **Write or review a recovery document**. > Note: Contributors and above can create plans and own exercises. Compliance managers, admins and owners can assign exercises to someone else. ## Schedule an exercise 1. **Choose Schedule exercise** Pick the **Recovery plan**, **Exercise owner** and **Independent reviewer**. 2. **Describe the exercise** Set the **Scheduled date**, **Exercise type** (tabletop, restore or failover), **Scenario** and **Success criteria**. > Note: Scheduling captures the current plan version. Later plan edits do not change the exercise; the page shows when the plan has moved on. To change the owner or scope, cancel the exercise with a reason and schedule a new one. ## Record the result The exercise owner chooses **Record results**: when it started and ended, the **Outcome** (pass, fail or inconclusive), proof and affected assets. Restore and failover exercises also need **Measured recovery (minutes)** and **Measured data loss (minutes)**. A missed objective cannot be recorded as a pass. A tabletop exercise is a walk-through, so it cannot claim a measured restore. ## Review the result The independent reviewer chooses **Review result** and accepts it or requests changes. Accepting needs current proof and a **Next exercise date** after today. Accepting a result means it is an accurate record, not that the exercise passed: a failed exercise stays failed. An accepted result cannot be edited; use **Schedule follow-up** for the next one, and **Create finding** for work it revealed. --- # Record a change Document a release or change: what goes out and where, who approved it, how it went and which issues it caused. Source: https://grchero.dev/docs/guides/changes ## Write the change record Open **Changes** from the **Operations** hub and choose **New change**. Fill in the title, type, path, risk and **What changes and why**, then the release details, **How it was tested**, **How to roll it back**, who is told, links and **Carried out by**. Choose **Save draft**. grcHero does not connect to your code or pipelines. Links you add are shown, never fetched. > Note: Contributors and above write change records. Reviewers, compliance managers, admins and owners approve and close them. ## Choose the path | Path | What happens | | --- | --- | | **Planned (approved before it happens)** | Submit it for approval. It can be carried out only once approved. | | **Emergency (done first, approved after)** | Record how it went straight away. Approvals are due within 3 days, and it shows as **Approval overdue** after that. | ## Get it approved Choose **Submit for approval**. A medium or high risk change needs a rollback plan first. Approvers choose **Approve** or **Reject**; the approver cannot be the person who asked for the change or the person carrying it out. Low and medium risk changes need one approval. High risk changes need two, from different people. Every approval is tied to the version that was reviewed: **Edit** returns the record to draft and earlier approvals stop counting. > Note: If only one person in the workspace could approve, they may, and the record shows it was approved by the person concerned. ## Record how it went and any issues The owner or requester chooses **Record how it went**: start, end, outcome (went as planned, done with issues, rolled back or failed) and notes. While the record is open, anyone who can write changes can **Add issue**: what happened, impact, when and how it was resolved. Any outcome other than went as planned needs at least one issue before closing. ## Close or cancel An approver who is not the owner chooses **Close record** and writes the review after the change. An emergency change needs its approvals first. The closed record is added to Evidence. Before it is carried out, the requester or an approver can **Cancel change** with a reason. Closed, rejected and cancelled records are locked. --- # Record personal data processing and subject requests Keep a register of the personal data you process and why, and a record of how each request from a person about their data was handled. Source: https://grchero.dev/docs/guides/privacy ## Add a processing activity Open **Privacy** from the **Operations** hub and choose **Add processing activity**. Enter the activity name, its purpose, the legal basis, and how long you keep the data. Contributors and above can add activities. The legal basis is your organization's choice from consent, contract, legal obligation, vital interests, public task or legitimate interests. grcHero records it; it does not decide which one applies. ## Record where the data lives On an activity, choose **Edit where the data lives**. Add **Regions** as your own labels, tick the **Systems that hold the data** from your Assets and the **Vendors that process it**, and describe how transfers out of those regions are protected. **Write a record of processing** drafts a document from this register in the [Document wizard](https://grchero.dev/docs/guides/documents), including processors recorded for the workspace. Processors have no screen of their own yet; `grchero privacy processors` lists them. ## Record a subject request Open **Subject requests** and choose **Record a request**. Enter your own reference (a ticket or case number, never the person's contact details), what the person asks for, when it was received, the owner, and **Answer by**. > Warning: grcHero does not calculate legal deadlines. **Answer by** is the date your own policy and the law that applies to you set. Changing it later needs a reason, and the first date is kept. ## Handle and close it 1. **Verify requester** Describe how you checked who is asking. Never upload a copy of an identity document. 2. **Track the date** Open requests show as **Open**, **Due soon** (within 7 days) or **Overdue**, and due ones appear in the owner's **Tasks**. 3. **Close request** Choose **Completed**, **Refused** or **Withdrawn**, summarize the response and give the date the person was answered. **Completed** is possible only once **Verify requester** has been recorded. > Note: Contributors and above record and update requests. Reviewers, compliance managers, admins and owners close them. Closed requests are locked and never edited; grcHero never contacts the person or changes their data. --- # Review who has access Check on a schedule that every member and every API token still needs its access, and keep the result as evidence. Source: https://grchero.dev/docs/guides/access-reviews ## Start a review Open **Access reviews** from **More tools**. Owners and admins can run reviews. Set **How often to review** (monthly to yearly); the page shows when the next review is due or overdue. It sends no reminder yet. Choose **Start review**. It lists every active member and every active API token, with each token's last use. Only one review can be open at a time. ## Decide on each item | Decision | Meaning | | --- | --- | | **Keep** | Access is still right. | | **Change** | Needs a different role or scope. A note is required. | | **Remove** | Access should end. | > Warning: A decision is a record only. It does not change anyone's role or revoke a token. Make the change on the **Team** and API token pages in **Settings**. ## Independence Nobody decides on their own membership or tokens while another owner or admin exists; someone else does. In a workspace with a single owner or admin, that person can decide, and the item is marked reviewed by the person concerned. ## Complete the review When every item is decided, choose **Complete review**. It is added to Evidence as a link and locked against further changes. - [Team and roles](https://grchero.dev/docs/guides/team-and-roles): Change roles and remove members. --- # Manage your team and roles Invite people, choose what each role can do, compose custom roles and create API tokens for scripts. Source: https://grchero.dev/docs/guides/team-and-roles ## Invite a teammate 1. **Open the team** Select **Team** in the sidebar (owners and admins). The page is titled **Team access**. 2. **Create the invitation** Under **Invite a teammate**, enter the **Email address**, choose a **Role** and select **Create invitation**. 3. **Share it if needed** grcHero emails the invitation when email is set up. Otherwise, select **Copy link** and send it yourself. Only the most recent link is shown. > Note: Invitations expire after seven days and work only for the invited email address. Only the owner can invite an admin. Someone invited can also accept from the invitations shown when they sign in. ## The six roles Each member holds one role per organization. Everyone can read the workspace's records; the role decides what else they can do. | Role | What it adds | | --- | --- | | Viewer | Reads workspace records and acknowledges documents assigned to them | | Reviewer | Makes independent reviews: findings, assessments, control tests, evidence, documents, vendors, incidents, continuity, questionnaires and change records | | Contributor | Creates and updates records, projects and technical checks; uses AI drafting, the CLI and their own API tokens | | Compliance manager | Contributor work and reviews, plus frameworks, trust pages, review packages, publishing documents, approving exceptions and deleting assets, diagrams and evidence | | Admin | Compliance manager work, plus the team, integrations register, organization settings, AI settings, access reviews, the audit log and buying credits | | Owner | Admin work, plus ownership transfer, deleting empty projects, and exporting or deleting the workspace | > Note: **Roles and access** in **Settings** shows the full table for your workspace and which role you hold. Nobody approves their own work while someone else can. ## Change or remove a member In **Members**, owners and admins change a member's role or remove them. An admin cannot change another admin; only the owner can. The owner cannot be removed: ownership moves only by transfer to an active member. ## Custom roles Owners and admins can compose up to 10 custom roles from work areas, such as an auditor who can add evidence. Select **New role** under **Custom roles**, name it and choose the access for each area, then assign it to a member in the team list. A custom role holds at most what a compliance manager holds. It can never manage members, tokens, billing, integrations or organization settings. A role nobody holds can be retired. ## API tokens Contributors and above can create personal tokens under **API tokens** to let a script or the CLI act as them. A token never does more than its creator can, has a lifetime of up to one year and is shown only once. Admins and owners see and revoke everyone's tokens, create **Service tokens** for jobs, and set the **Token policy**. > Warning: A token can read and write operational records only. It cannot review, approve, publish, delete or manage the workspace, and it cannot create other tokens. Revoke a token as soon as you no longer need it. ## Who manages what | Area | Who | | --- | --- | | Team and invitations | Owners and admins | | Custom roles | Owners and admins | | Assistant, AI agents and AI diagram drafts | Owners and admins | | Integrations register | Owners and admins | | Buying credits | Owners and admins | | Workspace export and deletion | Owner | | Personal API tokens | Contributors and above, their own | | Notification choices | Every member, their own | --- # Use the AI assistant and AI agents Ask the assistant about grcHero, choose how much it and outside AI agents may do, and check the drafts agents leave for you. Source: https://grchero.dev/docs/guides/ai-and-agents ## Ask AI **Ask AI** in the header opens the assistant. It knows grcHero and security practice, it never changes anything, and grcHero does not save the conversation. By default it answers questions only and sees none of your workspace data. Before your first question in a tab, a notice names the AI provider that writes the replies. Select **I understand** to go on. Leave out passwords and keys. Replies are a starting point for you to check, and requests count against the workspace's daily AI limit. ## Let the assistant read shared data Owners and admins set the most the assistant may do under **Assistant** in **Settings**: **Off**, **Answers only** (the default) or **Can read data people choose to share**. With the last, they also choose which data it may ever see and can hold individual roles lower. When allowed, members select **Share data** in the composer and tick what goes with their questions: the open project, risks, controls, findings or evidence. Nothing is ticked by default, each reply shows what it used, and nobody can share more than their own role can read. ## AI drafts in the workspace Some tools can draft with AI: **Draft with AI** in the [diagram editor](https://grchero.dev/docs/guides/architecture) and in the [Document & Report Wizard](https://grchero.dev/docs/guides/documents). Each request needs your consent and a role that can write. Nothing is saved or approved by generating it; a person reviews the draft first. ## Allow AI agents Your own AI agent can work in the workspace through the grcHero CLI, either as commands it runs or as an AI agent connected with `grchero mcp`. Owners and admins choose what agents may do under **AI agents** in **Settings**. | Setting | Default | Choices | | --- | --- | --- | | **Agents using the grcHero CLI** | **Read and draft** | **Off**, **Read only**, **Read and draft** | | **AI agents connected through MCP** | **Off** | **Off**, **Read only**, **Read and draft** | > Note: Whatever you choose, approving, publishing and administering stay with people, and every action shows which agent made it. Agents act within the signed-in person's own role. See [Connect an AI agent](https://grchero.dev/docs/cli/mcp). ## Check what an agent left you 1. **On the project** The project overview lists what an agent left there, such as **Checklist proposal**, **Diagram** or a record **not checked**, each linking to the item. When email is set up, you also get one email when your agent leaves new work, at most once an hour; mute **Agent drafts** under **Notifications** in **Settings** to stop it. 2. **Project answers** An agent can answer a project's questions from your code. The project then shows **An AI agent answered this project’s questions**. Select **Check answers** to see each answer with the agent's reason, change any that are wrong and select **Use this checklist**, or select **Dismiss**. The checklist does not change until you do. 3. **Checklist proposals** An agent never changes a checklist action. It leaves a proposal on the action, marked **AI agent draft, not reviewed** (and **Incomplete** when parts are missing), with what it did and what is still missing. A document the agent drafted is listed under **Documents it drafted**: select **View here** to read it in a window without leaving the page, or **Edit** to open it in the editor. Evidence it added has **Open link** or **Download**. Select **Accept** to save it as your own update, or **Dismiss**. Accepting is not a review, and the document stays a draft until it goes through review. What the agent said was still missing is kept on the action as **Still open** gaps. Select **Close gap** when one is finished, or **Dismiss** and give a reason. While any gap is open you cannot mark the action done; closing a gap does not change the action's status, and **Reopen** is under **Closed** once the action is moved back to in progress. 4. **Diagrams** A diagram from an agent waits on the **Architecture** page under **Drafts from an AI agent** until a person selects **Open in editor** or **Dismiss**. 5. **Records** Records an agent creates, such as findings, risks, assets or evidence, carry the line **Written by an AI agent, not checked**. **Tasks** lists them together under **Left by your AI agent**. Select **Mark checked** once you have looked at one; it means a person read it, not that it was reviewed. > Warning: Only a person in the browser can accept, dismiss, open or mark checked. Treat an agent's work as a draft until you have read it. --- # Audit log, export, retention and deletion See who changed what, export everything, set how long closed records are kept, and delete the workspace when you need to. Source: https://grchero.dev/docs/guides/data-and-deletion ## Read the audit log Owners and admins open **Audit log** from **More tools**. Each entry shows when (UTC), who, the action, the record type and the client used. Filter by person, record type and date, and use **Download CSV** for a copy. Entries cannot be edited or removed. ## Export workspace data In **Settings**, an owner chooses **Export workspace data**. The export is built in the background as a ZIP with one file per kind of record, the uploaded files that passed the malware scan, and a manifest listing anything left out and why. Secrets are never included. When it is ready, choose **Download**. Each export is kept for 7 days. Only owners can export. ## Set record retention **Record retention** in **Settings** sets, in months, how long the workspace keeps closed privacy subject requests, read inbox messages and decided trust center document requests. A kind without a period is kept. grcHero proposes no period: set the ones your own policy and the law that applies to you require. Nothing is removed automatically. The card shows how many records are past their period, and an owner removes them with **Dispose of** after signing in again. Each disposal is logged with the count, cut-off and who did it, never the content. > Note: Owners and admins set periods. Only owners dispose of records. ## Delete the workspace 1. **Export first if you need a copy** Deletion removes every record and uploaded file. 2. **Choose Delete workspace** In **Settings**, an owner types the workspace name to confirm, signing in again if asked. 3. **30 days to change your mind** Every member is told and every page shows a banner with the date. The workspace keeps working, and any owner can choose **Cancel deletion**. 4. **Then it is purged** After 30 days every record and file is deleted and cannot be recovered. A record that the workspace was deleted is kept, and people's own accounts are not deleted. > Warning: Only owners can delete a workspace, and only from the browser. Encrypted backups made before the purge age out with the backup rotation. --- # Review your configuration from the terminal The grcHero CLI checks Dockerfiles, CI workflows and the files you choose, right on your machine. Your code never leaves it. Results come back as clear observations you can act on, save or send to your workspace. Source: https://grchero.dev/docs/cli ## Quickstart 1. **Install** One command. No Python setup, no administrator rights. ```sh curl -fsSL https://grchero.dev/install.sh | sh ``` 2. **Sign in** Your browser opens to finish sign-in, including MFA. ```sh grchero login ``` 3. **Preview the files** From your project folder, see exactly what a review would read. ```sh grchero scan . --dry-run ``` 4. **Review** Each observation names the file, the line and a next step. ```sh grchero scan . ``` > Note: On Windows, install with `irm https://grchero.dev/install.ps1 | iex` in PowerShell. Every other command is the same. ## What a review looks like ```sh grchero scan . ``` Output: ``` grcHero CLI 0.7.3 · Local configuration review 2 files reviewed · 2 observations Scope: selected configuration only. A clean result does not establish security or compliance. Checks applied: docker-user-review, workflow-pull-request-target, workflow-write-all [MEDIUM] Workflow grants broad write permissions .github/workflows/deploy.yml:3 · workflow-write-all The workflow declares permissions: write-all. Next: Grant only the permissions each job needs and review events that can trigger it. [LOW] Container user needs review Dockerfile:1 · docker-user-review No USER directive was found in this selected Dockerfile. The base image may define one. Next: Confirm the runtime user in the final image and set an unprivileged user where practical. Files stay on this machine. Reports omit source text and detected credential values. ``` ## Where to go next - [Choose what is reviewed](https://grchero.dev/docs/cli/configuration): Add environment or source files, or keep patterns in .grchero.json. - [Send a report to grcHero](https://grchero.dev/docs/cli/reports): Turn a review into an editable draft report in your workspace. - [Run it in CI](https://grchero.dev/docs/cli/ci): Fail a pipeline on high or medium observations with a service token. - [Check dependencies](https://grchero.dev/docs/cli/deps): Known vulnerabilities and malicious packages, privately. - [Add evidence from CI](https://grchero.dev/docs/cli/evidence): Attach test results and exports to a control on every run. - [Use it from AI agents](https://grchero.dev/docs/cli/mcp): Search, read and draft from Claude Desktop or your IDE, with people deciding. - [Work in your workspace](https://grchero.dev/docs/cli/workspace): Every workspace area, from findings to reviews, for people and agents. - [Every command](https://grchero.dev/docs/cli/commands): Options, exit codes and environment variables in one place. ## Your code stays on your machine Analysis runs locally. Before each review, the CLI asks your workspace to authorize it, sending only the CLI version, the workspace and a random request ID. No source, paths, hashes or findings leave your machine unless you choose to send a report. A clean result means these checks found nothing in the selected files. It does not establish that your application is secure or compliant. See [what happens to your files](https://grchero.dev/docs/cli/privacy). --- # Install the CLI One command, no Python setup and no administrator rights. Source: https://grchero.dev/docs/cli/installation ## Install in one line Run the line for your system. The installer downloads the CLI for your machine, checks it against the published SHA-256 sums and adds the `grchero` command for your user only. macOS and Linux: ```sh curl -fsSL https://grchero.dev/install.sh | sh ``` Windows: ```sh irm https://grchero.dev/install.ps1 | iex ``` Output: ``` Downloading grcHero CLI 0.7.3 for linux x86_64... grcHero CLI 0.7.3 installed at /home/you/.local/bin/grchero. Next: grchero login ``` ## Check it works ```sh grchero --version grchero doctor ``` > Note: If your shell cannot find `grchero`, the installer printed the line that adds `~/.local/bin` to your PATH. Run it, then open a new terminal. ## What the installer changes On macOS and Linux it keeps each version in `~/.local/share/grchero` and links the `grchero` command from `~/.local/bin`. On Windows it uses `%LOCALAPPDATA%\grchero` and adds its `bin` folder to your user PATH. Nothing else on the system changes, and it never asks for administrator rights. Most systems get a native program that needs nothing else installed. Where no native build exists yet, the installer uses the single-file app with Python 3.11 or later, if it finds one. A download that does not match its checksum is never installed. | Setting | Effect | | --- | --- | | `GRCHERO_BIN_DIR` | Where the `grchero` command goes | | `GRCHERO_HOME` | Where versions are kept | | `GRCHERO_FORMAT` | `native` or `pyz`, to force one kind of download | | `GRCHERO_DOWNLOAD_URL` | Download from another grcHero deployment (HTTPS only) | ## Signed releases Each release's `SHA256SUMS`, the list of every file's checksum, is signed with [minisign](https://jedisct1.github.io/minisign/). The installer checks that signature with minisign, or with OpenSSL 3 on macOS and Linux when minisign is not installed, and prints Signature checked. On a machine with neither it says only the checksum was checked. On Windows that needs minisign. That check catches a damaged or swapped download. It cannot protect against a compromised server, which could change the installer too, so for a sensitive machine or a CI image check the release yourself with the public key published in the [CLI repository](https://github.com/grcHero/cli), which you get from GitHub rather than from us. ```sh curl -fsSLO https://grchero.dev/cli/SHA256SUMS curl -fsSLO https://grchero.dev/cli/SHA256SUMS.minisig minisign -Vm SHA256SUMS -P sha256sum --ignore-missing -c SHA256SUMS ``` ## Update and remove Run the install line again to update. Reports stay compatible while `schema_version` is 1. To remove the CLI, delete the command and its folder. macOS and Linux: ```sh rm ~/.local/bin/grchero rm -r ~/.local/share/grchero ``` Windows: ```sh Remove-Item -Recurse $env:LOCALAPPDATA\grchero ``` ## Install from source For contributors to the [open-source CLI](https://github.com/grcHero/cli). A source install has no built-in sign-in values, so pass them to `grchero login` (see [Sign in](https://grchero.dev/docs/cli/authentication#self-hosted)). ```sh git clone https://github.com/grcHero/cli.git cd cli python3 -m venv .venv . .venv/bin/activate python -m pip install . grchero doctor ``` --- # Sign in to grcHero Sign in through your browser and choose the workspace your reviews belong to. Source: https://grchero.dev/docs/cli/authentication ## Sign in The CLI never asks for your password. It shows a short code and opens your browser, where you finish the normal grcHero sign-in, including MFA. If you belong to more than one workspace, choose one with `--organization` and its name, slug or ID. ```sh grchero login grchero login --organization acme ``` Output: ``` Open https://auth.grchero.dev/... and enter code ABCD-EFGH. Signed in to Acme. ``` ## Check where you are signed in ```sh grchero whoami ``` Output: ``` Workspace: Acme API: https://app.grchero.dev Access: signed-in person Default project: Payments platform ``` ## Sessions A sign-in lasts until its access expires; then the CLI asks you to run `grchero login` again. `grchero logout` removes the saved sign-in from this machine. It does not sign you out of grcHero in the browser. Your workspace's [CLI page](https://grchero.dev/workspace/cli) shows who has used the CLI recently and how they signed in. ```sh grchero logout ``` ## What each review sends Every review and preview asks the selected workspace to authorize it. The request contains the CLI version, the workspace and a random request ID. It never contains source, file paths, hashes, findings or report content. Starting a review needs a role that can write (contributor, compliance manager, admin or owner); viewers and reviewers cannot start one. ## Source installs and self-hosted deployments An installed CLI already knows where to sign in. A source install, or a deployment of your own, passes its values instead. Flags win over `GRCHERO_*` variables, which win over built-in values. ```sh grchero login \ --api-url https://app.example.com \ --issuer https://auth.example.com \ --client-id '' \ --audience '' ``` --- # Review a project Preview the files, run the checks and choose how results are shown or saved. Source: https://grchero.dev/docs/cli/scan ## Preview before reviewing By default a review reads Dockerfiles (`Dockerfile`, `*.Dockerfile`, `Dockerfile.*`) and GitHub Actions workflows. Environment and source files need an explicit `--include`, so they are never swept in by accident. ```sh grchero scan . --dry-run ``` Output: ``` Local review preview (nothing is uploaded) .github/workflows/deploy.yml Dockerfile ``` ## Run the review ```sh grchero scan . # Also review a local environment file grchero scan . --include '.env.production' ``` > Note: Quote patterns so your shell passes them to the CLI unchanged. ## Options | Option | Behavior | | --- | --- | | `path` | Project folder; defaults to the current folder | | `--dry-run` | List the selected files without running checks | | `--include PATTERN` | Replace configured include patterns; repeat for more | | `--exclude PATTERN` | Add an exclusion; exclusions always win | | `--format text\|json\|sarif` | Readable output, JSON, or SARIF for code-scanning tools | | `--baseline FILE` | An earlier JSON report; only new observations count for `--fail-on` | | `--output FILE` | Save a JSON report to a new file; never overwrites | | `--fail-on none\|low\|medium\|high` | Exit with 1 at or above this severity; default `none` | ## Bounded, predictable reviews A review reads at most 40 files, 256 KiB per file and 1 MiB in total. If a limit is reached it stops with a clear message: narrow the folder or the patterns. Symlinks, generated and dependency folders, and binary files are skipped, and nothing is ever executed. --- # Choose exactly what is reviewed Keep repeatable include and exclude patterns in a project-local .grchero.json file. Source: https://grchero.dev/docs/cli/configuration ## Project configuration Create `.grchero.json` in the folder you pass to `scan`. Both fields are lists of relative patterns with forward slashes. Unknown fields and invalid patterns are rejected. The file holds no credentials, so it is safe to commit. ```.grchero.json { "include": [ "Dockerfile", "**/Dockerfile", ".github/workflows/*.yml", ".github/workflows/*.yaml" ], "exclude": ["examples/*", "fixtures/*"] } ``` ## How patterns match Patterns match whole paths from the project root. An asterisk matches any characters, including slashes: this is shell-style matching, not `.gitignore` syntax. `**/Dockerfile` matches nested Dockerfiles; `Dockerfile` matches the one at the root. The CLI does not read `.gitignore`. It always skips `.git`, `node_modules`, `.venv`, `venv`, `dist`, `build`, `.next`, `__pycache__`, `.local` and `graphify-out`. Add other sensitive or generated paths to `exclude`. `--include` replaces all configured includes. `--exclude` adds to configured exclusions. Exclusions always win. ## Check your scope ```sh grchero scan . --dry-run --format json grchero scan . --include 'services/*/Dockerfile' --exclude 'services/demo/*' ``` --- # Understand the checks Seven focused checks, shared with the browser checker. Each one flags an observation for a person to review. Source: https://grchero.dev/docs/cli/rules ## Rule catalog 2026.1 | Rule | Severity | What it looks for | | --- | --- | --- | | `secret-in-env` | High | Credential-like values in `.env`, `.env.local` or `.env.production` that are not placeholders | | `literal-credential` | High | Credential-like literals in explicitly included Python or JavaScript/TypeScript source | | `dynamic-evaluation` | Medium | `eval()` calls in explicitly included source; exploitability needs review | | `production-debug` | Medium | `DEBUG=true`, `1` or `yes` in `.env.production` or `.env.prod` | | `workflow-write-all` | Medium | `permissions: write-all` in GitHub Actions workflows | | `workflow-pull-request-target` | Medium | A `pull_request_target` trigger in GitHub Actions workflows | | `docker-user-review` | Low | A Dockerfile with `FROM` but no `USER` directive | ## Observations need context These are text checks, not full YAML, Docker or application analysis. Inline workflow syntax may be missed. A `USER` in an earlier build stage can hide a missing one in the final stage, and a base image may already set an unprivileged user. Secret checks use assignment names and placeholder matching. Source rules run only on files you include. They do not read Git history or recognise every credential format. A detected value is never printed or saved. > Note: A report holds at most 100 observations. If you reach that, review a smaller scope. Zero observations is not proof of full coverage. ## List the installed checks ```sh grchero rules ``` --- # Check dependencies Find known vulnerabilities and malicious packages in your locked dependencies, without telling anyone what you use. Source: https://grchero.dev/docs/cli/deps ## Check your lockfiles `grchero deps` finds the lockfiles in your project, reads the exact versions you install and checks them against advisories from OSV.dev, mirrored by grcHero and updated every hour. ```sh grchero deps grchero deps --fail-on high grchero deps --format sarif > deps.sarif ``` Output: ``` grcHero CLI 0.7.3 · Dependency check 2 lockfiles · 5 packages (npm 3, PyPI 2) 78 affected · 0 possibly affected Note: requirements.txt: 1 requirement(s) without an exact == pin were not checked. [CRITICAL] minimist 1.2.5 · GHSA-xvch-5gv4-984h (CVE-2021-44906) Prototype Pollution in minimist Fix: upgrade to 1.2.6 package-lock.json [HIGH] lodash 4.17.20 · GHSA-35jh-r3h4-6jhm (CVE-2021-23337) Command Injection in lodash Fix: upgrade to 4.17.21 package-lock.json ... Only hashed name prefixes left this machine. Advisories: OSV.dev, as mirrored by grcHero (updated 2026-10-26). ``` ## Private by design Your dependency list never leaves your machine. The CLI sends only the first four characters of a hash of each package name. Many packages share each one, so grcHero returns the advisories for all of them and your CLI keeps the ones that match your exact names and versions. > Note: Malicious packages are always reported, whatever the version: remove the package and rotate any credentials it could reach. ## Supported lockfiles | Ecosystem | Lockfiles | | --- | --- | | npm | `package-lock.json`, `npm-shrinkwrap.json`, `yarn.lock`, `pnpm-lock.yaml` | | PyPI | `poetry.lock`, `uv.lock`, `Pipfile.lock`, `requirements*.txt` with `==` pins | | Go | `go.sum` | | crates.io | `Cargo.lock` | | RubyGems | `Gemfile.lock` | | Packagist | `composer.lock` | | NuGet | `packages.lock.json` | > Warning: A `package.json` without a lockfile has ranges, not versions, so it is reported as unchecked. Commit your lockfile. System packages (Debian, Ubuntu, Alpine) are not checked yet. ## Read the results Each finding names the package, your version, the advisory and, when known, the lowest version that fixes it. An advisory whose ranges cannot be compared exactly is shown as possibly affecting, never dropped. `--fail-on critical|high|medium|low` sets when the command exits with 1. --- # Save and send a report Keep a versioned JSON report, read it later, or send it to your workspace as an editable draft. Source: https://grchero.dev/docs/cli/reports ## Save and read a report `--output` always writes JSON, whatever the terminal shows, and never overwrites an existing file. `grchero report` reads a saved report again; it does not rescan the project. ```sh grchero scan . --output review.json grchero report review.json grchero report review.json --format json ``` ## Send a report to your workspace `grchero submit` shows exactly what will be sent and asks before sending. The results appear in Technical checks beside browser checks, and the report arrives as an editable draft in Reports, optionally attached to a project. Sending the same report again never creates a duplicate. ```sh grchero submit review.json --project --title 'API review' ``` Output: ``` Report to send to grcHero Workspace: Acme Project: Title: API review Scope: 2 paths, 2 observations Paths that will be sent: .github/workflows/deploy.yml Dockerfile Observations that will be sent: [MEDIUM] Workflow grants broad write permissions (.github/workflows/deploy.yml) [LOW] Container user needs review (Dockerfile) Not sent: source text, detected credential values, file hashes. Paths and observations can still be sensitive. Review them before confirming. Send to Acme? [y/N] ``` > Note: Sending needs a signed-in person; API tokens can run reviews but cannot send reports. Pass `--yes` to skip the question in scripts. You can also import the JSON file from Reports in the browser. ## Report format `schema_version` is 1. A report records the CLI and rules versions, the UTC creation time, the selected relative paths, the checks that applied and the observations. Each observation has its rule, severity, location, explanation, next step and a SHA-256 hash of the text reviewed. The hashes stay local when you send a report. The list of checks that applied describes the selected files only. It is not whole-project coverage. > Warning: Paths, variable names and observations can reveal details about your systems. Share reports deliberately. --- # See your work Your open findings, evidence requests and reviews, without leaving the terminal. Source: https://grchero.dev/docs/cli/work ## List your open work `grchero work` reads the same lists as Tasks in the workspace and shows only the kinds you have something in, with a link to each. ```sh grchero work grchero work --project grchero work --format json ``` Output: ``` Your open work in Acme: 3 Findings (2) Rotate the deploy key · in progress · due 2026-11-01 Restrict workflow permissions · open Open: https://app.grchero.dev/workspace/findings?mine=1 Evidence requests (1) Quarterly access review export · requested · due 2026-11-15 Open: https://app.grchero.dev/workspace/findings?mine=1&work=evidence ``` > Note: `--format json` gives the same list for scripts and AI coding assistants. --- # Work in your workspace Every workspace area from a terminal, a script or an AI agent: records, reviews and administration. Source: https://grchero.dev/docs/cli/workspace ## Commands Workspace commands read `grchero `, like `gh`. `grchero help` lists them all and `grchero COMMAND --help` shows the options of one. ```sh grchero finding list --mine grchero change create --title "Release 2.4" --type release --risk medium \ --summary "New billing page" --release v2.4.0 --env production grchero change submit ID ``` | Area | Verbs | | --- | --- | | `org` | list, view, use | | `project` | list, view, create, use | | `inbox` | list, read | | `finding` | list, view, create, edit, start, submit, reopen, close, decide | | `risk` | list, view, create | | `evidence` | list, search, link, add | | `evidence-request` | list, view, create, submit, decide | | `exception` | list, view, create, submit, withdraw, approve, reject, revoke | | `change` | list, view, create, submit, approve, reject, implement, issue, close, cancel | | `asset` | list, view, create, edit | | `control` | list, view, create, evidence | | `framework` | list, requirements | | `vendor` | list, view, create | | `vendor-review` | list, view, decide | | `document` | list, view, versions | | `document-review` | list, view, decide, publish | | `questionnaire` | list, questions | | `assessment` | list, findings | | `access-review` | list, view, start, decide, complete | | `incident` | list, view, create, investigate, contain, resolve, reopen, note, decide | | `continuity` | list, create, exercises, exercise | | `privacy` | list, create, processors | | `member` | list, invite, role, remove | | `token` | list, revoke | | `agents` | view, set | ## Every page Each workspace page has a command, or a `grchero api` path for what is better done on the page itself. | Page | From the terminal | | --- | --- | | Home and Projects | `grchero work`, `grchero project` | | Findings | `grchero finding` | | Risks | `grchero risk` | | Evidence | `grchero evidence`, `grchero evidence-request` | | Exceptions | `grchero exception` | | Changes | `grchero change` | | Assets | `grchero asset`, `grchero vendor` | | Vendor reviews | `grchero vendor-review` | | Controls | `grchero control`, `grchero framework`; testing with `grchero api GET /controls/ID/testing` | | Assessments | `grchero assessment`; new ones with `grchero api POST /assessments` | | Documents | `grchero document`; writing stays in the Document wizard | | Document reviews | `grchero document-review` | | Access reviews | `grchero access-review` | | Audit log | `grchero api GET /audit-events` (owners and admins, signed in as themselves; API tokens cannot read it) | | Incidents | `grchero incident` | | Continuity | `grchero continuity` | | Privacy | `grchero privacy` | | Subject requests | `grchero api GET /privacy/requests`; closing one stays on the page | | Questionnaires | `grchero questionnaire`; answers with `grchero api GET /questionnaires/ID/responses` | | Inbox | `grchero inbox` | | Tasks | `grchero api GET /notifications/my-work` | | Settings | `grchero member`, `grchero token`, `grchero agents`; the profile with `grchero api GET /organizations/current/profile` | | Technical checks and reports | `grchero submit`; `grchero api GET /project-checks` and `GET /reports` | | CLI activity | `grchero api GET /cli/activity` | | Architecture | `grchero api GET /diagrams`; drawing stays in the editor | | Foundation | `grchero api GET /organizations/current/baseline` | | Sharing, integrations and billing | `grchero api GET /review-packages`, `GET /integrations`, `GET /billing` | ## Choose the workspace and project `grchero org use` switches your sign-in to another of your workspaces. `grchero project use` makes later commands in that workspace list and create records in one project. `--org` and `--project` change them for a single command, and `--project none` acts on the whole workspace. ```sh grchero org list grchero org use acme grchero project use "Customer portal" grchero risk list --project none ``` > Note: The default project is saved next to your sign-in, as the project's ID and name only. ## Decisions wait for you Reading and writing run at once, and new records start as drafts. Approving, rejecting, revoking, publishing, closing and every review decision need you to confirm that one request in your browser after signing in again. The CLI prints and opens the link and waits; a declined or expired request does nothing. A review decision answers the newest submission, so an older one is never accepted by mistake. Workflow commands send the version of the record they read, so a change made in the meantime is refused instead of overwritten. `--version N` acts only if the record is still the version you reviewed. ```sh grchero exception approve ID --note "Reviewed with the owner" ``` Output: ``` This needs your confirmation in the browser before it runs: https://app.grchero.dev/confirm/… Waiting for you to confirm… Decision recorded. Exception Laptop rollout Kind policy State approved ``` ## For scripts and AI agents `grchero help --json` describes every command: its options, choices, tier (read, write, decide, administer or local) and an example. `--json` prints the record or list as grcHero returns it, and a failure as `{"error": {"code", "message", "details"}, "exit_code"}` with grcHero's own error code. No command asks a question outside a terminal. Outside a terminal, or with `--no-wait`, a decision does not wait: the CLI prints the link and exits with code 3. Show the link to the person; once they confirm, run the same command again with `--confirmation ID`. Your workspace's AI agents setting decides what agents may do. An agent can ask a person to confirm a decision and never administers: members, tokens, the agent setting and access reviews are for people, after the same browser confirmation. API tokens are created in the workspace, never from the CLI, so a secret never lands in a terminal or an agent's context. Invitation links go by email and are never printed. | Exit code | Meaning | | --- | --- | | `0` | Done | | `1` | Failed: grcHero refused the request or could not be reached | | `2` | Usage or local problem | | `3` | Waiting for your confirmation in the browser | | `4` | Not allowed for this sign-in, role or agent setting | --- # Use grcHero from AI agents Let an AI agent in Claude Desktop, Claude Code or your IDE search, read and draft in your workspace, while people keep every decision. Source: https://grchero.dev/docs/cli/mcp ## Connect an app `grchero mcp` runs a local MCP server on your computer and uses your CLI sign-in. Sign in with `grchero login` first and choose the project the agent works in with `grchero project use "Payments API"` (each tool also takes a `project`). Then add it to your app. Claude Desktop: ```json { "mcpServers": { "grchero": { "command": "grchero", "args": ["mcp"] } } } ``` Claude Code: ```sh claude mcp add grchero -- grchero mcp ``` VS Code: ```json { "servers": { "grchero": { "type": "stdio", "command": "grchero", "args": ["mcp"] } } } ``` > Note: Add `--read-only` after `mcp` to offer read tools only. ## Allow it in your workspace AI agents are off until an owner or admin turns them on. In the workspace, open **Settings**, **AI agents** and set **AI agents connected through MCP** (Off by default) to **Read only** or **Read and draft**. Every request names the agent, so the activity log shows what it did and for whom. ## Start a project from your code A project's checklist comes from a few questions about the system: what it is, the information it handles and what it includes. Your agent can answer them from the code, and you check the answers. 1. **Create the project** In the workspace, create a project for the system, then choose it with `grchero project use`. 2. **Ask your agent** Ask it to answer the project's grcHero questions. It reads them with `project_questions`, looks at the code and proposes answers with `propose_project_answers`, with a reason for each. 3. **Check and use them** On the project, select **Check answers**. Change any answer that is wrong, then select **Use this checklist**. Or select **Dismiss**. > Note: Only a person sets the answers, because they decide which actions the project gets. They never decide which laws or frameworks apply. ## What the agent can read | Tool | What it does | | --- | --- | | `workspace_info` | Your workspace, the project in use, and whether AI agents may read or also draft | | `search` | Find records whose title, name, code or description contains your words | | `list_records`, `get_record` | List and read findings, risks, exceptions, change records, controls, frameworks, assets, vendors, reviews, incidents, documents, diagrams and more | | `my_work`, `list_projects`, `project_status` | Your assigned work and each project's progress | | `list_checklist`, `get_checklist_action` | A project's checklist, and one action in full with a brief written for an agent | | `project_questions` | The questions that shape a project's checklist, every choice and the current answers | | `waiting_for_a_person` | Answers, proposals, diagrams and records an agent created that nobody has checked yet, each with its link | | `document_templates` | The guided document templates and their parts | | `questionnaire_questions` | A questionnaire's questions, the current answers and which the agent may draft | ## What the agent can draft Everything an AI agent writes is a draft until a person accepts it in the workspace. grcHero marks each record the agent creates as "Written by an AI agent, not checked" until a person checks it. | Tool | What it leaves for a person | | --- | --- | | `propose_project_answers` | Answers to the project's questions, with a reason for each. The checklist does not change until a person checks the answers and uses them | | `propose_checklist_update` | A proposal for a checklist action: where it stands, what was done, what is still missing and evidence, including documents it drafted. The action does not change until a person accepts it. With anything missing it is saved as in progress and shown as incomplete | | `save_agent_report`, `add_evidence_link` | A report as a Markdown evidence file marked not reviewed, or an address as evidence (grcHero never opens it) | | `link_evidence` | Existing evidence linked to a control, for review | | `propose_diagram` | A Mermaid flowchart. It becomes a diagram only when a person opens it in the editor, marked "AI draft, not reviewed" | | `draft_finding`, `draft_risk`, `draft_asset`, `draft_control`, `draft_vendor` | An open record for a person to check | | `draft_incident` | Something the agent observed, always recorded as detected. A person leads the response | | `draft_change_record`, `draft_exception` | A draft a person submits; someone else approves | | `draft_document` | A guided template filled in as a draft | | `draft_questionnaire_answer` | An answer marked AI-assisted. Refused over an answer a person wrote, and while the questionnaire is with a reviewer or was accepted | ## What it never does There is no tool to approve, accept, review, close, publish, delete or administer. Each record carries an `open_in_workspace` link that opens it directly, and the agent gives you that link after it saves something, so you can check it in one click. No tool reads a file from your computer or takes an address to send data to. To add a file as evidence, run `grchero evidence add FILE` yourself. A report that looks like it holds a key or token is refused. grcHero refuses any request from the MCP server that its tools do not send, and limits how fast an agent may call it. Record text goes to the agent marked as data, not instructions, shortened when long, and at most 60,000 characters per answer. Nothing is sent anywhere but your grcHero workspace, and only what your role and the workspace setting allow. ## Protocol The server speaks MCP 2026-07-28 and the earlier versions back to 2024-11-05, over standard input and output. --- # Run the CLI in CI Fail a pipeline on the observations you care about, using a service token instead of a person's sign-in. Source: https://grchero.dev/docs/cli/ci ## Create a service token 1. **Create the token** In grcHero, open Settings, API tokens. Create a service token with the contributor role and the Command line scans permission. 2. **Store it as a secret** Save it in your CI provider's secret store as `GRCHERO_API_TOKEN`, masked from logs. Save your workspace ID as `GRCHERO_ORGANIZATION_ID`. > Note: A service token is its own identity, named on the CLI page and in the activity log, and keeps working when people leave. It needs no browser sign-in. ## Add a job GitHub Actions: ```sh name: grcHero review on: pull_request permissions: contents: read jobs: review: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - run: curl -fsSL https://grchero.dev/install.sh | sh - run: ~/.local/bin/grchero scan . --fail-on medium env: GRCHERO_API_TOKEN: ${{ secrets.GRCHERO_API_TOKEN }} GRCHERO_ORGANIZATION_ID: ${{ vars.GRCHERO_ORGANIZATION_ID }} ``` GitLab CI: ```sh grchero-review: image: debian:bookworm-slim before_script: - apt-get update && apt-get install -y curl - curl -fsSL https://grchero.dev/install.sh | sh script: - ~/.local/bin/grchero scan . --fail-on medium # Set GRCHERO_API_TOKEN (masked) and GRCHERO_ORGANIZATION_ID as CI/CD variables ``` ## Show observations in pull requests `--format sarif` writes SARIF 2.1.0, which GitHub code scanning and other tools show inline on the changed lines. Each observation carries a stable fingerprint, so an alert stays the same alert across runs. ```GitHub Actions permissions: contents: read security-events: write steps: - uses: actions/checkout@v4 - run: curl -fsSL https://grchero.dev/install.sh | sh - run: ~/.local/bin/grchero scan . --format sarif > grchero.sarif env: GRCHERO_API_TOKEN: ${{ secrets.GRCHERO_API_TOKEN }} GRCHERO_ORGANIZATION_ID: ${{ vars.GRCHERO_ORGANIZATION_ID }} - uses: github/codeql-action/upload-sarif@v3 with: sarif_file: grchero.sarif ``` ## Fail only on new observations Adopting checks on an existing project should not block every pull request. Save a report once, commit it as your baseline, and only observations that are not in it count for `--fail-on`. The output marks known ones as "in baseline". An observation is matched by its rule, file and wording, not its line, so moving code around does not make an old observation new. ```sh grchero scan . --output .grchero-baseline.json grchero scan . --baseline .grchero-baseline.json --fail-on medium ``` ## Choose when to fail Observations do not fail the command unless you set `--fail-on`. `high` fails on high observations, `medium` on medium and high, `low` on all. A preview never fails on observations. ## Exit codes | Code | Meaning | | --- | --- | | `0` | Review finished below the threshold, or another command succeeded | | `1` | Review finished with observations at or above `--fail-on`, or grcHero refused the request or could not be reached | | `2` | Invalid options, configuration, scope, report or sign-in, or a file error | | `3` | Waiting for a person to confirm in the browser | | `4` | Not allowed for this token, role or agent setting | | `130` | Cancelled with Ctrl+C | --- # Add evidence from CI Keep compliance evidence current: attach test results, scans and exports to a control every time your pipeline runs. Source: https://grchero.dev/docs/cli/evidence ## Add a file as evidence `grchero evidence add` shows what it will upload and asks first. The file is scanned for malware and added as unreviewed evidence, linked to the control you name by its code or ID. A person reviews it in grcHero before it counts. ```sh grchero evidence add test-results.pdf --control CC6.1 --note 'Nightly test run' ``` ## Run it in your pipeline Give the service token Evidence read and write and Controls read. Running the same file again does not upload it twice; it only confirms the link, so reruns are safe. ```GitHub Actions - run: ~/.local/bin/grchero evidence add reports/tests.pdf --control CC6.1 --expires 2027-01-31 --yes env: GRCHERO_API_TOKEN: ${{ secrets.GRCHERO_API_TOKEN }} GRCHERO_ORGANIZATION_ID: ${{ vars.GRCHERO_ORGANIZATION_ID }} ``` > Note: `--yes` confirms without asking; it is required outside a terminal. `--expires` marks when the evidence goes stale, so grcHero can ask for a fresh run. ## Options | Option | Behavior | | --- | --- | | `--control CODE_OR_ID` | Link the evidence to this control | | `--project UUID` | Add the evidence to a project | | `--name TEXT` | Evidence name; defaults to the file name | | `--note TEXT` | Why this file supports the control | | `--expires YYYY-MM-DD` | When the evidence goes stale | | `--yes` | Upload without asking | ## What can be uploaded One file you name, never a folder: PDF, DOCX, XLSX, CSV, TXT, PNG or JPEG, within your workspace's upload limit and storage. Source code is never accepted. Convert machine output such as JUnit XML to PDF, CSV or TXT first. --- # Commands Every command and option in this release. Source: https://grchero.dev/docs/cli/commands ## All commands | Command | What it does | Needs sign-in | | --- | --- | --- | | `grchero scan [path]` | Review a project's configuration | Yes | | `grchero deps [path]` | Check locked dependencies for known vulnerabilities and malicious packages | Yes | | `grchero rules` | List the checks and their scope | No | | `grchero report FILE` | Read a saved JSON report | No | | `grchero submit FILE` | Preview and send a saved report to your workspace | Yes, a person | | `grchero work` | List the open work assigned to you | Yes | | `grchero evidence add FILE` | Preview and upload one evidence file, optionally linked to a control | Yes | | `grchero ` | Work with every workspace area, from findings and change records to reviews and members; see [Workspace commands](https://grchero.dev/docs/cli/workspace) | Yes | | `grchero api METHOD PATH` | Call any workspace API endpoint; decisions wait for your browser confirmation | Yes | | `grchero mcp [--read-only]` | Serve your workspace to an AI agent over MCP; see [AI agents](https://grchero.dev/docs/cli/mcp) | Yes | | `grchero help [--json]` | List every command, with its tier; JSON for scripts and agents | No | | `grchero login` | Sign in through the browser | No | | `grchero whoami` | Show the workspace and API in use | Yes | | `grchero logout` | Remove the saved sign-in | No | | `grchero doctor` | Check the local setup | No | | `grchero --version` | Print the version | No | ## scan See [Review a project](https://grchero.dev/docs/cli/scan#options) for what each option does. ```sh grchero scan [path] [--dry-run] [--include PATTERN] [--exclude PATTERN] [--format text|json|sarif] [--output FILE] [--baseline FILE] [--fail-on none|low|medium|high] ``` ## submit ```sh grchero submit FILE [--project UUID] [--title TEXT] [--yes] ``` | Option | Behavior | | --- | --- | | `--project UUID` | Attach the draft report to a project | | `--title TEXT` | Report title, 2 to 120 characters; defaults to the review date | | `--yes` | Send without asking; needed outside a terminal | ## report ```sh grchero report FILE [--format text|json|sarif] ``` ## api Calls any endpoint of the signed-in workspace and prints the JSON, like `gh api`. Paths stay inside your workspace's API, so your sign-in is never sent anywhere else. Reading and writing run at once. Anything that decides (approve, reject, close, publish) or administers (members, tokens, settings) needs you to confirm that one request in the browser: the CLI prints and opens a link, you check what it will do and sign in again, and the CLI repeats the identical request once. A declined or expired request does nothing. API tokens and agents never administer. ```sh grchero api GET /exceptions grchero api POST /exceptions/ID/decisions -f decision=approve -F expected_version=3 ``` | Option | Behavior | | --- | --- | | `-f`, `--field key=value` | A text field in the body | | `-F`, `--raw-field key=JSON` | A typed field, for example a number or true | | `--input FILE` | Send a JSON object from a file as the body | | `--no-wait` | If confirmation is needed, print the link and exit 3 instead of waiting (the default outside a terminal) | | `--confirmation ID` | Run again after confirming; waits until it is confirmed | ## deps See [Check dependencies](https://grchero.dev/docs/cli/deps) for what is checked and what leaves your machine. ```sh grchero deps [path] [--format text|json|sarif] [--fail-on none|low|medium|high|critical] [--output FILE] ``` | Option | Behavior | | --- | --- | | `--format` | Text for people, JSON for scripts, SARIF for code scanning | | `--fail-on LEVEL` | Exit 1 when an advisory is at or above this severity; `none` (the default) never fails | | `--output FILE` | Also save the JSON report to a new file; an existing file is never overwritten | ## work ```sh grchero work [--project UUID] [--format text|json] [--json] ``` | Option | Behavior | | --- | --- | | `--project UUID` | Only work in this project | | `--format json`, `--json` | Print JSON for scripts and agents | ## mcp Runs a local MCP server over standard input and output for an AI agent. It uses your sign-in, offers read and draft tools and never decides. See [AI agents](https://grchero.dev/docs/cli/mcp). ```sh grchero mcp [--read-only] ``` | Option | Behavior | | --- | --- | | `--read-only` | Offer read tools only, no drafts | ## help, whoami, doctor `grchero help` lists every command with its tier; `--json` prints the same catalog, with exit codes, for scripts and agents. `grchero whoami` shows the workspace, API, kind of access and default project. `grchero doctor` checks the local setup and needs no sign-in. ```sh grchero help [--json] grchero whoami grchero doctor ``` ## Options every workspace command takes Every `grchero ` command accepts these, in addition to its own options in the [command reference](https://grchero.dev/docs/cli/reference). | Option | Behavior | | --- | --- | | `--json` | Print JSON for scripts and agents | | `--org WORKSPACE` | Workspace ID or slug for this command only | | `--project PROJECT` | Project ID or name, or `none`; defaults to `grchero project use` | | `--no-wait` | If confirmation is needed, print the link and exit 3 instead of waiting | | `--confirmation ID` | Run again after confirming in the browser | ## Exit codes | Code | Meaning | | --- | --- | | `0` | Done | | `1` | Failed: grcHero refused the request or could not be reached | | `2` | Usage or local problem | | `3` | Waiting for your confirmation in the browser | | `4` | Not allowed for this sign-in, role or agent setting | ## login Installed releases need no options. The last four are for source installs and self-hosted deployments. ```sh grchero login [--organization ID_OR_SLUG] [--api-url URL] [--issuer URL] [--client-id ID] [--audience ID] ``` --- # Workspace command reference Every workspace command with its tier and its own options, taken from this release's built-in catalog (grchero help --json). Source: https://grchero.dev/docs/cli/reference ## Tiers Each command also takes the [shared options](https://grchero.dev/docs/cli/commands#shared). The tier says what happens when you run it. | Tier | What happens | | --- | --- | | `read` | Runs at once | | `write` | Runs at once; records stay drafts until a person decides | | `decide` | Waits for the person to confirm in the browser | | `administer` | Waits for the person to confirm; never for agents | | `local` | Changes nothing in grcHero | ## Evidence | Command | What it does | Tier | Options | | --- | --- | --- | --- | | `grchero evidence add` | Preview and, after confirmation, upload one evidence file | write | `PATH` (required); `--name`; `--control`; `--note`; `--expires`; `--yes` | | `grchero evidence list` | List evidence | read | None | | `grchero evidence search` | Search evidence names and text | read | `QUERY` | | `grchero evidence link` | Link evidence to a control, for review | write | `ID`; `--control` (required); `--note` | ## Org | Command | What it does | Tier | Options | | --- | --- | --- | --- | | `grchero org list` | List your workspaces | read | None | | `grchero org view` | Show the workspace commands act in | read | None | | `grchero org use` | Switch the saved sign-in to another of your workspaces | local | `WORKSPACE` | ## Project | Command | What it does | Tier | Options | | --- | --- | --- | --- | | `grchero project list` | List projects | read | `--archived` | | `grchero project view` | Show a project's progress | read | `ID` | | `grchero project create` | Create a project | write | `--name` (required); `--description`; `--use` | | `grchero project use` | Make commands in this workspace use one project | local | `PROJECT_NAME`; `--clear` | ## Inbox | Command | What it does | Tier | Options | | --- | --- | --- | --- | | `grchero inbox list` | List your messages | read | `--unread`; `--limit` | | `grchero inbox read` | Mark a message, or every message, read | read | `ID`; `--all` | ## Finding | Command | What it does | Tier | Options | | --- | --- | --- | --- | | `grchero finding list` | List open findings | read | `--mine`; `--all`; `--limit` | | `grchero finding view` | Show a finding | read | `ID` | | `grchero finding create` | Record a finding | write | `--title` (required); `--severity` `low` \| `medium` \| `high` \| `critical` (required); `--description`; `--asset` | | `grchero finding edit` | Assign a finding and plan its fix | write | `ID`; `--owner`; `--reviewer`; `--due`; `--plan`; `--test`; `--note`; `--version` | | `grchero finding start` | Start work on a finding | write | `ID`; `--note` (required); `--version` | | `grchero finding submit` | Submit a fix for review | write | `ID`; `--note` (required); `--version` | | `grchero finding reopen` | Reopen a finding | write | `ID`; `--note` (required); `--version` | | `grchero finding close` | Close a settled finding (fix approved or set aside) | write | `ID`; `--note` (required); `--version` | | `grchero finding decide` | Decide a submitted fix, or set a finding aside (risk, false positive, duplicate) | decide | `ID`; `--outcome` `approve_fix` \| `request_changes` \| `accept_risk` \| `false_positive` \| `duplicate` \| `suppress` (required); `--note` (required); `--expires`; `--duplicate-of`; `--version` | ## Risk | Command | What it does | Tier | Options | | --- | --- | --- | --- | | `grchero risk list` | List risks | read | None | | `grchero risk view` | Show a risk | read | `ID` | | `grchero risk create` | Record a risk | write | `--title` (required); `--description`; `--status` `open` \| `mitigated` \| `closed` | ## Exception | Command | What it does | Tier | Options | | --- | --- | --- | --- | | `grchero exception list` | List exceptions | read | `--target` | | `grchero exception view` | Show an exception | read | `ID` | | `grchero exception create` | Draft a time-limited exception | write | `--kind` `policy` \| `control` \| `risk_acceptance` \| `finding_deadline` (required); `--title` (required); `--reason` (required); `--measures` (required); `--expires` (required); `--target`; `--owner`; `--renews` | | `grchero exception submit` | Submit an exception for approval | write | `ID`; `--version` | | `grchero exception withdraw` | Withdraw a submitted exception | write | `ID`; `--version` | | `grchero exception approve` | Approve an exception | decide | `ID`; `--note`; `--version` | | `grchero exception reject` | Reject an exception | decide | `ID`; `--note`; `--version` | | `grchero exception revoke` | Revoke an approved exception | decide | `ID`; `--reason` (required); `--version` | ## Change | Command | What it does | Tier | Options | | --- | --- | --- | --- | | `grchero change list` | List change records | read | None | | `grchero change view` | Show a change record and its issues | read | `ID` | | `grchero change create` | Document a release or change | write | `--title` (required); `--summary` (required); `--type` `release` \| `configuration` \| `infrastructure` \| `vendor` \| `access` \| `data` \| `other` (required); `--risk` `low` \| `medium` \| `high` (required); `--path` `normal` \| `emergency`; `--release`; `--env`; `--runtime`; `--start`; `--end`; `--tests`; `--rollback`; `--communication`; `--reference`; `--owner` | | `grchero change submit` | Submit a change for approval | write | `ID`; `--version` | | `grchero change approve` | Approve a change | decide | `ID`; `--note`; `--version` | | `grchero change reject` | Reject a change | decide | `ID`; `--note`; `--version` | | `grchero change implement` | Record how the change went | write | `ID`; `--outcome` `successful` \| `successful_with_issues` \| `rolled_back` \| `failed` (required); `--started`; `--ended`; `--note`; `--version` | | `grchero change issue` | Record an issue the change had | write | `ID`; `--description` (required); `--impact` `low` \| `medium` \| `high` (required); `--occurred`; `--resolution`; `--finding`; `--incident` | | `grchero change close` | Close a change after its review | decide | `ID`; `--note` (required); `--version` | | `grchero change cancel` | Cancel a change | write | `ID`; `--reason` (required); `--version` | ## Control | Command | What it does | Tier | Options | | --- | --- | --- | --- | | `grchero control list` | List controls | read | None | | `grchero control view` | Show a control | read | `ID` | | `grchero control create` | Add a control | write | `--code` (required); `--title` (required); `--description` | | `grchero control evidence` | List evidence linked to a control | read | `ID` | ## Framework | Command | What it does | Tier | Options | | --- | --- | --- | --- | | `grchero framework list` | List frameworks | read | None | | `grchero framework requirements` | List a framework's requirements | read | `ID` | ## Vendor | Command | What it does | Tier | Options | | --- | --- | --- | --- | | `grchero vendor list` | List vendors | read | None | | `grchero vendor view` | Show a vendor | read | `ID` | | `grchero vendor create` | Add a vendor | write | `--name` (required); `--criticality` `low` \| `medium` \| `high` \| `critical`; `--description`; `--contract`; `--dpa`; `--review-due` | ## Vendor review | Command | What it does | Tier | Options | | --- | --- | --- | --- | | `grchero vendor-review list` | List vendor reviews | read | `--mine`; `--all`; `--limit` | | `grchero vendor-review view` | Show a vendor review and its submissions | read | `ID` | | `grchero vendor-review decide` | Accept the submitted assessment or ask for changes | decide | `ID`; `--decision` `accept` \| `request_changes` (required); `--note` (required); `--recommendation` `proceed` \| `conditional` \| `do_not_proceed`; `--residual-risk` `low` \| `medium` \| `high` \| `critical` \| `unknown`; `--conditions`; `--next-review`; `--version` | ## Evidence request | Command | What it does | Tier | Options | | --- | --- | --- | --- | | `grchero evidence-request list` | List evidence requests | read | `--mine`; `--all`; `--limit` | | `grchero evidence-request view` | Show an evidence request and its submissions | read | `ID` | | `grchero evidence-request create` | Ask someone for evidence | write | `--title` (required); `--instructions` (required); `--reviewer` (required); `--due` (required); `--owner`; `--renew`; `--control` | | `grchero evidence-request submit` | Submit evidence for a request | write | `ID`; `--evidence` (required); `--note` (required); `--key`; `--version` | | `grchero evidence-request decide` | Accept the submitted evidence or ask for changes | decide | `ID`; `--decision` `accept` \| `request_changes` (required); `--note` (required); `--version` | ## Document | Command | What it does | Tier | Options | | --- | --- | --- | --- | | `grchero document list` | List documents | read | None | | `grchero document view` | Show a document | read | `ID` | | `grchero document versions` | List a document's saved versions | read | `ID` | ## Document review | Command | What it does | Tier | Options | | --- | --- | --- | --- | | `grchero document-review list` | List document reviews | read | `--mine`; `--all`; `--limit` | | `grchero document-review view` | Show a document review | read | `ID` | | `grchero document-review decide` | Approve a document or ask for changes | decide | `ID`; `--decision` `approve` \| `request_changes` (required); `--note` (required); `--version` | | `grchero document-review publish` | Publish an approved document | decide | `ID`; `--effective` (required); `--review-on` (required); `--note` (required); `--review-owner`; `--version` | ## Questionnaire | Command | What it does | Tier | Options | | --- | --- | --- | --- | | `grchero questionnaire list` | List questionnaires | read | None | | `grchero questionnaire questions` | List a questionnaire's questions | read | `ID` | ## Assessment | Command | What it does | Tier | Options | | --- | --- | --- | --- | | `grchero assessment list` | List assessments | read | None | | `grchero assessment findings` | List an assessment's findings | read | `ID` | ## Access review | Command | What it does | Tier | Options | | --- | --- | --- | --- | | `grchero access-review list` | List access reviews and when the next is due | read | None | | `grchero access-review view` | Show an access review and every access in it | read | `ID` | | `grchero access-review start` | Start an access review | administer | None | | `grchero access-review decide` | Keep, change or remove one person's or token's access | administer | `ID`; `--item` (required); `--decision` `keep` \| `change` \| `remove` (required); `--note` | | `grchero access-review complete` | Complete a review once every access is decided | administer | `ID` | ## Asset | Command | What it does | Tier | Options | | --- | --- | --- | --- | | `grchero asset list` | List assets | read | `--query`; `--type` `hardware` \| `software` \| `infrastructure` \| `cloud_resource` \| `repository` \| `endpoint` \| `network_component` \| `other`; `--lifecycle` `planned` \| `active` \| `maintenance` \| `retired` | | `grchero asset view` | Show an asset | read | `ID` | | `grchero asset create` | Add an asset, to the project in use if there is one | write | `--name` (required); `--type` `hardware` \| `software` \| `infrastructure` \| `cloud_resource` \| `repository` \| `endpoint` \| `network_component` \| `other` (required); `--description`; `--criticality`; `--lifecycle` `planned` \| `active` \| `maintenance` \| `retired`; `--tag` | | `grchero asset edit` | Change an asset | write | `ID`; `--name`; `--type` `hardware` \| `software` \| `infrastructure` \| `cloud_resource` \| `repository` \| `endpoint` \| `network_component` \| `other`; `--description`; `--criticality`; `--lifecycle` `planned` \| `active` \| `maintenance` \| `retired`; `--tag` | ## Incident | Command | What it does | Tier | Options | | --- | --- | --- | --- | | `grchero incident list` | List incidents | read | `--limit` | | `grchero incident view` | Show an incident's response | read | `ID` | | `grchero incident create` | Record an incident | write | `--title` (required); `--severity` `low` \| `medium` \| `high` \| `critical` (required); `--description`; `--asset` | | `grchero incident investigate` | Start investigating an incident | write | `ID`; `--note` (required); `--version` | | `grchero incident contain` | Record that an incident is contained | write | `ID`; `--note` (required); `--version` | | `grchero incident reopen` | Reopen an incident | write | `ID`; `--note` (required); `--version` | | `grchero incident resolve` | Submit an incident's resolution for independent review | write | `ID`; `--note` (required); `--evidence`; `--key`; `--version` | | `grchero incident note` | Add a timeline update | write | `ID`; `--note` (required); `--at`; `--version` | | `grchero incident decide` | Accept a resolution and close the incident, or ask for changes | decide | `ID`; `--decision` `accept` \| `request_changes` (required); `--note` (required); `--version` | ## Continuity | Command | What it does | Tier | Options | | --- | --- | --- | --- | | `grchero continuity list` | List continuity and recovery plans | read | None | | `grchero continuity create` | Draft a continuity or recovery plan | write | `--name` (required); `--type` `business_continuity` \| `disaster_recovery` (required); `--rto` (required); `--rpo` (required); `--scope` | | `grchero continuity exercises` | List scheduled and finished exercises | read | `--limit` | | `grchero continuity exercise` | Show an exercise | read | `ID` | ## Privacy | Command | What it does | Tier | Options | | --- | --- | --- | --- | | `grchero privacy list` | List processing activities | read | None | | `grchero privacy create` | Record a processing activity | write | `--name` (required); `--purpose` (required); `--legal-basis` `consent` \| `contract` \| `legal_obligation` \| `vital_interests` \| `public_task` \| `legitimate_interests` (required); `--subject`; `--category`; `--retention` | | `grchero privacy processors` | List processors | read | None | ## Member | Command | What it does | Tier | Options | | --- | --- | --- | --- | | `grchero member list` | List members and pending invitations | read | None | | `grchero member invite` | Invite someone by email | administer | `--email` (required); `--role` `admin` \| `compliance_manager` \| `reviewer` \| `contributor` \| `viewer` (required) | | `grchero member role` | Change a member's role | administer | `ID`; `--role` `admin` \| `compliance_manager` \| `reviewer` \| `contributor` \| `viewer` (required) | | `grchero member remove` | Remove a member from the workspace | administer | `ID` | ## Token | Command | What it does | Tier | Options | | --- | --- | --- | --- | | `grchero token list` | List API tokens | read | `--everyone` | | `grchero token revoke` | Revoke an API token | administer | `ID` | ## Agents | Command | What it does | Tier | Options | | --- | --- | --- | --- | | `grchero agents view` | Show what AI agents may do in this workspace | read | None | | `grchero agents set` | Choose what AI agents may do: off, read, or write (read and draft) | administer | `--cli` `off` \| `read` \| `write`; `--mcp` `off` \| `read` \| `write` | --- # What's new What each release added. Your workspace's CLI page shows when someone is using an older version. Source: https://grchero.dev/docs/cli/changes ## 0.7.3 When an AI agent cites a document it drafted on a checklist proposal, the proposal now names the document itself. You read it in a window on the proposal, with an edit link and Accept beside it, instead of searching for it. The document is also still recorded as an evidence link. See [AI agents](https://grchero.dev/docs/cli/mcp). ## 0.7.2 AI agents are asked to draw diagrams with trust boundaries (the edge, the application, identity, data and outside providers) instead of a flat set of boxes. See [AI agents](https://grchero.dev/docs/cli/mcp). ## 0.7.1 Every link an AI agent gives you opens the exact item: the diagram draft, the document or the checklist action. `waiting_for_a_person` also lists records an agent created that nobody has checked, and a checklist proposal can cite a drafted document (`document_ids`). `grchero scan` also reviews `*.Dockerfile` and `Dockerfile.*` files, `grchero login --organization` accepts a workspace's name, and the sign-in code is shown at once when an agent runs `grchero login`. `project_status` reports checklist progress and open findings again. ## 0.7.0 AI agents can answer the questions that shape a project's checklist from your code: `project_questions` reads them and `propose_project_answers` leaves the answers, with a reason for each, for a person to check and use. See [Start a project from your code](https://grchero.dev/docs/cli/mcp#questions). Help and messages say AI agent instead of AI app. ## 0.6.0 AI agents connected through MCP can now work through the checklist and leave drafts for a person to accept: a proposal for a checklist action with evidence, diagrams, assets, controls, vendors, incidents, guided documents and questionnaire answers. See [AI agents](https://grchero.dev/docs/cli/mcp). The MCP server speaks MCP 2026-07-28 as well as the earlier versions, checks every tool argument before sending, and the CLI no longer follows HTTP redirects. Statuses that say work is finished, such as a closed risk or an emergency change recorded as implemented, are now set in the workspace: `grchero risk create --status closed` and similar are refused. ## 0.5.0 `grchero finding close`, and the `duplicate` and `suppress` outcomes of `grchero finding decide` (with `--duplicate-of`), matching the workspace's finding workflow. ## 0.4.0 `grchero mcp`, a local MCP server that lets an AI agent read your workspace and draft records under your sign-in. See [AI agents](https://grchero.dev/docs/cli/mcp). ## 0.3.0 Workspace commands for every area (`grchero `), `grchero api`, browser confirmation for decisions and administration, client and agent names in the audit log, and `grchero deps`. ## Update Run the install command again: it installs the current release beside the old one and points `grchero` at it. The local checks (rules `2026.1`) and the report format (`schema_version` 1) are unchanged in 0.5.0, so saved reports still open. macOS and Linux: ```sh curl -fsSL https://grchero.dev/install.sh | sh ``` Windows: ```sh irm https://grchero.dev/install.ps1 | iex ``` --- # Environment variables Settings for CI, self-hosted deployments and custom locations. Source: https://grchero.dev/docs/cli/environment ## Variables the CLI reads | Variable | Use | | --- | --- | | `GRCHERO_API_TOKEN` | Act as an API token instead of a saved sign-in; takes precedence | | `GRCHERO_ORGANIZATION_ID` | Workspace ID; required with a token | | `GRCHERO_AGENT` | Name the AI agent running the CLI, for the audit log and your workspace's agent setting (Claude Code is named automatically) | | `GRCHERO_API_URL` | grcHero API; installed releases already know it | | `GRCHERO_ISSUER_URL`, `GRCHERO_CLIENT_ID`, `GRCHERO_AUDIENCE` | Sign-in values for source installs and self-hosted deployments | | `GRCHERO_CONFIG_DIR` | Where the saved sign-in lives; default `~/.config/grchero` | > Note: The installer has its own settings; see [Install](https://grchero.dev/docs/cli/installation#what-it-does). --- # What happens to your files Local analysis, an explicit scope and nothing uploaded unless you send it. Source: https://grchero.dev/docs/cli/privacy ## Data handling Selected files are read into memory for the checks. Output shows observations, never full source text or a detected credential value. No project file is changed; only a report file you ask for is created. Relative paths, variable names and observations can reveal details about your systems. Share reports deliberately, and apply your own retention policy. File hashes are provenance markers, not anonymization. ## What reaches grcHero | When | What is sent | | --- | --- | | Every request | `X-Grchero-Client` (the CLI and its version) and, if set, `X-Grchero-Agent` (from `GRCHERO_AGENT`, or Claude Code when the CLI runs inside it). Both are audit labels, never permissions | | Every review or preview | CLI version, workspace and a random request ID | | `grchero submit`, after you confirm | Paths and observations, never source, credential values or hashes | | `grchero evidence add`, after you confirm | The one file you named, as evidence for review | | `grchero work` | A request for your assigned work; nothing about your project | | Workspace commands, `grchero api` and `grchero mcp` | The fields you give the command, as an ordinary API request under your access. Reads return only records you could open in the browser | | `grchero deps` | Four-character hash prefixes of package names, never names, versions or lockfiles | | `grchero rules`, `report`, `doctor`, `help` | Nothing; they run on your machine | ## What the CLI never does It does not run your code, install your dependencies, build Dockerfiles, follow symlinks or fetch URLs from your project. The scope is bounded by file count, file size, total size and folder depth. Sign-in uses OAuth Device Authorization, and grcHero checks your workspace membership and role on every request. The CLI is open source: [read the code](https://github.com/grcHero/cli). --- # Troubleshooting Start with the diagnostics, then find your message below. Source: https://grchero.dev/docs/cli/troubleshooting ## Check your setup ```sh grchero doctor ``` Output: ``` grcHero CLI 0.7.3 Python 3.12.15 Sign-in: built in for https://app.grchero.dev Local scanner: available after grcHero sign-in Dependency check: `grchero deps` (only hashed name prefixes leave this machine) Source upload: disabled Workspace reports: `grchero submit` after confirmation Documentation: /docs/cli ``` ## Common messages | Message or symptom | What to do | | --- | --- | | `grchero: command not found` | Add `~/.local/bin` to your PATH with the line the installer printed, then open a new terminal | | Sign in first with `grchero login` | Run `grchero login` | | Your grcHero session expired, or Sign-in expired | Run `grchero login` again | | Cannot reach grcHero | Check your connection, proxy or `GRCHERO_API_URL` | | You do not have permission to perform this action | Reviews need the contributor role or higher; ask a workspace admin | | CLI scan authorizations is turned off for now | New reviews are paused for this workspace; try again later | | The requested workspace was not found for this account | Check `--organization`, or sign in with the account that belongs to it | | No files matched | Run from the project root, or include files with `--include` | | Review limits exceeded, or Selected files exceed 1 MiB | Review a smaller folder or fewer patterns | | Cannot create report | Choose a new file name in a folder you can write to | | Invalid report | Use a JSON report saved by `grchero scan --output` | | Sending a report needs a signed-in person | Run `grchero login`; tokens cannot send reports | | Cannot confirm delivery | Run the same `submit` again; it never creates a duplicate | | files are not accepted as evidence | Convert the file to PDF, DOCX, XLSX, CSV, TXT, PNG or JPEG | | This workspace cannot store files yet | File storage is not set up; add the evidence as a link in the browser | | Zero observations | Check the preview and [the checks](https://grchero.dev/docs/cli/rules); other file types are outside this release | ## Still stuck Run any command with `--help`. Report CLI problems on [GitHub](https://github.com/grcHero/cli/issues), and never paste tokens or reports with sensitive paths into an issue. --- # The grcHero API Call grcHero from your own code with an API token. Every request is authenticated, rate limited and attributed to the token that made it. Source: https://grchero.dev/docs/api ## Make your first request 1. **Create a token** In grcHero, open Settings, API tokens, and create a token with only the permissions it needs, for example Email checks. 2. **Find your workspace ID** Every request names the workspace in the `X-Organization-ID` header. 3. **Call the API** ```sh curl "https://api.grchero.dev/v1/email-checks?domain=mailinator.com" \ -H "Authorization: Bearer $GRCHERO_API_TOKEN" \ -H "X-Organization-ID: $GRCHERO_ORGANIZATION_ID" ``` > Note: Keep tokens in a secret store, never in source code or a browser. Revoke one in Settings at any time; it stops working at once. ## Authentication Send the token as `Authorization: Bearer grc_...` and the workspace as `X-Organization-ID`. The API host accepts tokens only; it never reads cookies or browser sessions. A token holds a fixed set of permissions chosen when it is created. A request outside them is refused with `403 token_not_permitted`. ## Rate limits Each token has its own per-minute limit, chosen when it is created (600 by default, up to 6,000) and shown beside it in Settings. Over the limit, the API answers `429 rate_limited` with `Retry-After: 30`; wait that many seconds before trying again. The CLI's browser sign-in gets the same 600 a minute; use a token with a higher limit for heavier scripts. ## Pagination Lists that can grow are paged with a cursor. Ask for a page with `limit` (1 to 100, default 50); the answer is `{ "items": [...], "next_cursor": "..." }`, and you pass `next_cursor` back as `cursor` for the next page until it is `null`. Cursors are opaque; a damaged one is `422 invalid_cursor`. `/assets`, `/risks`, `/controls`, `/evidence` and `/vendors` answer the whole list as a plain array unless you send `limit` or `cursor`; then they answer a page with `total`, the whole list's count. Always send `limit` in scripts so large workspaces stay fast. ```sh curl "https://api.grchero.dev/v1/risks?limit=100" \ -H "Authorization: Bearer $GRCHERO_API_TOKEN" \ -H "X-Organization-ID: $GRCHERO_ORGANIZATION_ID" ``` Output: ``` { "items": [{ "id": "0193...", "title": "Laptop theft", "status": "open" }], "next_cursor": "MjAyNi0xMS0x...", "total": 128 } ``` ## Errors Errors share one shape. `code` is stable and safe to branch on; `message` is for people; `request_id` identifies the request if you contact support. ```JSON { "error": { "code": "token_not_permitted", "message": "This token is not allowed to do that.", "request_id": "8f2c...", "details": {} } } ``` | Status | Code | Meaning | | --- | --- | --- | | `400` | `organization_required` | `X-Organization-ID` is missing or not a workspace ID | | `401` | `api_token_required` | No `Authorization: Bearer` header was sent | | `401` | `invalid_credential` | The token is wrong, expired or revoked, or not for this workspace | | `403` | `token_not_permitted` | The token does not hold that permission, or the request deletes something (tokens never delete) | | `404` | `not_found` | No such record in this workspace, or a path the API host does not serve | | `422` | `invalid_request` | A parameter or field is missing or not valid | | `429` | `rate_limited` | Too many requests; wait for `Retry-After` seconds | | `5xx` | | A problem on our side; retry with backoff and quote `request_id` | --- # Email checks Find out whether an email address uses a throwaway mailbox service, before you send a code, open an account or trust a sign-up. Source: https://grchero.dev/docs/api/email-checks ## Check an address `GET /v1/email-checks` with either `email` or `domain`. Only the domain is used; the address is never stored or logged. The token needs the Email checks permission. curl: ```sh curl "https://api.grchero.dev/v1/email-checks?email=someone@mailinator.com" \ -H "Authorization: Bearer $GRCHERO_API_TOKEN" \ -H "X-Organization-ID: $GRCHERO_ORGANIZATION_ID" ``` JavaScript: ```sh const url = new URL("https://api.grchero.dev/v1/email-checks"); url.searchParams.set("email", email); const response = await fetch(url, { headers: { Authorization: `Bearer ${process.env.GRCHERO_API_TOKEN}`, "X-Organization-ID": process.env.GRCHERO_ORGANIZATION_ID, }, }); const check = await response.json(); if (check.disposable) { // Ask for a permanent address } ``` Python: ```sh import os, requests response = requests.get( "https://api.grchero.dev/v1/email-checks", params={"email": email}, headers={ "Authorization": f"Bearer {os.environ['GRCHERO_API_TOKEN']}", "X-Organization-ID": os.environ["GRCHERO_ORGANIZATION_ID"], }, timeout=5, ) if response.json()["disposable"]: ... # ask for a permanent address ``` Output: ``` { "domain": "mailinator.com", "disposable": true, "verdict": "disposable", "risk": "high", "reason": "This domain belongs to a throwaway mailbox service.", "matched_domain": "mailinator.com", "sources": ["disposable", "disposable-email-domains", "mailchecker"], "list": { "version": "20261026T060000Z-3f9a1c2b7d10", "updated_at": "2026-10-26T06:00:04Z", "domains": 98692 } } ``` ## Verdicts `disposable` is true only for the `disposable` verdict, so you can rely on it alone. Use `verdict` and `sources` when you want your own policy, for example a second look at `suspect` addresses. | verdict | risk | Meaning | | --- | --- | --- | | `disposable` | high | Our primary list, or at least two lists, name the domain | | `suspect` | medium | Exactly one secondary list names it | | `not_listed` | low | No list names it | | `never_blocked` | low | A large mailbox or privacy-relay provider, such as Gmail or Apple's relay | | `invalid` | unknown | Not a valid email address or domain | ## Response fields | Field | Meaning | | --- | --- | | `domain` | The domain checked, lower-case ASCII | | `disposable` | True when the verdict is `disposable` | | `verdict`, `risk` | See Verdicts | | `reason` | One sentence you can show to a person | | `matched_domain` | The listed domain that matched; a subdomain matches its parent | | `sources` | The lists that name the domain | | `list.version`, `list.updated_at` | Which list answered, and when it was last refreshed | ## How the list stays current grcHero merges openly licensed lists every six hours. A refreshed list is used only if each source parses cleanly and the result has not shrunk suspiciously; otherwise the last good list keeps answering. Large mailbox and privacy-relay providers can never be marked disposable. A brand-new throwaway domain is caught once a list adds it. Most lists update daily. ## Sources and licences | Source | Licence | | --- | --- | | [disposable/disposable-email-domains](https://github.com/disposable/disposable-email-domains) (primary) | MIT | | [disposable-email-domains](https://github.com/disposable-email-domains/disposable-email-domains) | CC0 1.0 | | [FGRibreau/mailchecker](https://github.com/FGRibreau/mailchecker) | MIT | | [wesbos/burner-email-providers](https://github.com/wesbos/burner-email-providers) | MIT | | [7c/fakefilter](https://github.com/7c/fakefilter) | BSD 3-Clause | > Note: No account? Try the free [disposable email checker](https://grchero.dev/tools/disposable-email-checker). --- # Work with workspace records Read and create assets, risks, controls, evidence and findings from scripts and integrations, within the permissions the token holds. Source: https://grchero.dev/docs/api/records ## What a token can and cannot do A token reads and writes operational records: it can list, view, create and update. It never deletes, decides, approves, publishes or administers. Those steps need a person in the browser, so what a script writes stays a draft or an open record until someone reviews it. Every path below is relative to `https://api.grchero.dev/v1` and needs the `Authorization` and `X-Organization-ID` headers. IDs are UUIDs. Records are scoped to the workspace in the header; another workspace's ID answers `404`. ## Assets Needs Assets and architecture: read to list and view, write to create and update. ```sh curl -X POST "https://api.grchero.dev/v1/assets" \ -H "Authorization: Bearer $GRCHERO_API_TOKEN" \ -H "X-Organization-ID: $GRCHERO_ORGANIZATION_ID" \ -H "Content-Type: application/json" \ -d '{"name": "Billing API", "type": "software", "criticality": 4, "lifecycle_status": "active"}' ``` | Request | What it does | | --- | --- | | `GET /assets` | List assets by name. Filters: `query`, `type`, `lifecycle_status`, `criticality_min`, `project_id`; page with `limit` and `cursor` | | `GET /assets/{id}` | One asset | | `GET /assets/{id}/links` | Its relationships and linked records | | `POST /assets` | Create an asset | | `PATCH /assets/{id}` | Change any of the fields below | | `GET /relationships`, `POST /relationships` | List or add relationships between assets | ## Asset fields | Field | Rules | | --- | --- | | `name` | Required, up to 200 characters | | `type` | Required: `hardware`, `software`, `infrastructure`, `cloud_resource`, `repository`, `endpoint`, `network_component` or `other` | | `description` | Up to 10,000 characters | | `criticality` | 1 to 5, default 3 | | `lifecycle_status` | `planned`, `active`, `maintenance` or `retired` | | `owner_id` | A member's user ID | | `tags`, `metadata` | A list of labels and a JSON object of your own fields | ## Risks Needs Risks. A new risk is `open` unless you say `mitigated` or `closed`. Accepting a risk is a separate, approved exception made in the browser, never a status a token sets. | Request | What it does | | --- | --- | | `GET /risks` | List risks by title; `project_id` filters, `limit` and `cursor` page | | `POST /risks` | Create a risk: `title` (required, up to 200), `description`, `status`, `project_id`, and an optional `target_type` and `target_id` for what it concerns | | `GET /risks/{id}/assessments`, `POST` | Read or add a likelihood and impact assessment | | `GET /risks/{id}/treatments`, `POST` | Read or add a treatment | ## Controls Needs Controls and frameworks. | Request | What it does | | --- | --- | | `GET /controls` | List controls by code; `project_id` filters, `limit` and `cursor` page | | `POST /controls` | Create a control: `code` (required, up to 100), `title` (required, up to 300), `description`, `owner_id`, `project_id` | | `GET /controls/{id}/evidence` | Evidence linked to the control | | `GET /controls/{id}/testing`, `POST /controls/{id}/tests` | Read the testing plan or record a test result | | `GET /control-mappings`, `POST /control-mappings` | Map controls to framework requirements | | `GET /frameworks`, `GET /frameworks/{id}/requirements` | The frameworks and requirements you can map to | ## Evidence Needs Evidence. Uploaded files are scanned for malware before anyone can download them; a file still being scanned or found unsafe cannot be downloaded. ```sh curl -X POST "https://api.grchero.dev/v1/evidence/files?filename=access-review.pdf&name=Q3%20access%20review" \ -H "Authorization: Bearer $GRCHERO_API_TOKEN" \ -H "X-Organization-ID: $GRCHERO_ORGANIZATION_ID" \ -H "Content-Type: application/pdf" \ --data-binary @access-review.pdf ``` | Request | What it does | | --- | --- | | `GET /evidence` | List evidence, newest first; `project_id` filters, `limit` and `cursor` page | | `GET /evidence/search?q=` | Find evidence by name | | `POST /evidence/files?filename=&name=` | Upload one file as the raw request body; optional `expires_on` and `project_id` | | `POST /evidence/{id}/files?filename=&expected_version=` | Add a new version of a file | | `POST /evidence/links` | Link evidence to a control: `evidence_id`, `control_id`, optional `note` | | `GET /evidence/{id}/download` | A short-lived signed link to the current file, once it is scanned clean | | `GET /evidence-requests`, `POST /evidence-requests` | List or open requests for evidence | ## Findings Needs Assessments and findings. Deciding a finding (approving a fix, accepting the risk, closing it as a duplicate) is for people in the browser. | Request | What it does | | --- | --- | | `GET /findings` | List findings; `project_id`, `mine` and `active_only` filter, `cursor` pages | | `GET /findings/{id}` | One finding with its details, evidence and history | | `POST /findings` | Create a finding: `title` (required, up to 300), `severity` (required: `low`, `medium`, `high` or `critical`), `description`, `project_id`, `affected_asset_id` | | `PATCH /findings/{id}` | Change its owner (required), reviewer, due date, remediation plan, test procedure or linked control; send `expected_version` from the last read | | `POST /findings/{id}/evidence` | Attach evidence to the finding | ## Everything else Tokens can also reach the other areas listed in [Every area](https://grchero.dev/docs/api/areas). The [CLI's](https://grchero.dev/docs/cli/workspace) `grchero api` command calls the same paths with your own sign-in, which is often the quickest way to try one. --- # Every area a token can reach The token permission each area needs and where its paths start. Paths are relative to the API base. Source: https://grchero.dev/docs/api/areas ## Areas Choose these areas when you create a token. Read lets it list and view; write lets it create and update. Nothing here lets a token delete, decide, publish or manage members, tokens or settings. | Area in the token form | Paths | | --- | --- | | Projects | `/projects`, `/project-checks` | | Assets and architecture | `/assets`, `/relationships`, `/architectures`, `/diagrams`, `/diagram-templates` | | Risks | `/risks` | | Change records | `/changes` | | Exceptions | `/exceptions` (requesting one; approving is for people) | | Controls and frameworks | `/controls`, `/control-mappings`, `/frameworks` | | Policies and documents | `/policies`, `/procedures`, `/documents`, `/document-templates`, `/document-drafts`, `/document-assurance` | | Evidence | `/evidence`, `/evidence-requests` | | Assessments and findings | `/assessments`, `/findings` | | Vendors | `/vendors`, `/vendor-reviews` | | Privacy | `/privacy` | | Incidents and recovery | `/incidents`, `/continuity`, `/operational-work` | | Questionnaires | `/questionnaires`, `/questionnaire-imports`, `/questionnaire-responses`, `/questionnaire-work` | | Reports and notifications | `/reports` (read only) | | Command line scans | `/cli/scan-authorizations`, `/cli/advisories` (used by the CLI) | | Email checks | `/email-checks` (read only); see [Email checks](https://grchero.dev/docs/api/email-checks) |