# CI Pipeline Configuration

You can configure your CI pipeline and the interaction with Gomboc in the following ways:

1. Review type - defines whether a review simply generates comments or if a new pull request is created to address Gomboc code findings.
2. Trigger type - defines when a review is triggered and code is analyzed by Gomboc

The following table outlines the configuration parameter options and their meanings:

<table><thead><tr><th width="182.60546875">Configuration Option</th><th width="195.78125">Options</th><th>Description</th></tr></thead><tbody><tr><td>REVIEW_TYPE</td><td><ul><li>submit-for-review</li><li>preview</li></ul></td><td><p>This is the type of review that Gomboc will perform on the code.</p><ul><li>"preview" means that there will be no subsequent pull request created, only a record of the scan in the pipeline logs and in the Gomboc Portal UI.</li><li>"submit-for-review" means that a pull request (PR) will be created with the fixes that Gomboc discovers are applicable to the code.</li></ul><p>Please note that with <code>preview</code>, the pipelines will pass, regardless of any remediations we find.</p></td></tr><tr><td>TRIGGER_TYPE</td><td><ul><li>on-pull-request</li><li>on-commit</li></ul></td><td><p>This is the type of trigger that was used to initial the Gomboc client.</p><ul><li>"on-pull-request" means a PR was submitted by a user for review</li><li>"on-commit" means that the notification came on a commit to a particular branch</li></ul></td></tr><tr><td>IAC_TYPE</td><td><ul><li>terraform</li><li>cloudformation</li></ul></td><td><p>The IaC types which Gomboc should consider when analyzing the code. If providing multiple values, it must be specified as a comman separated list. For example:</p><pre><code>--iac "cloudformation,terraform"
</code></pre></td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.gomboc.ai/integrations/continuous-integration-ci-build-systems/ci-pipeline-configuration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
