# HBA Scanner(Postgres)

We perform about 9 different checks and generate a report. Below are the checks we perform as of today&#x20;

<figure><img src="https://3013412235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fj94nGPKUS9dlzKveRYHc%2Fuploads%2F3cU2xAF5Pr07RqVgInbA%2FScreen%20Shot%202024-03-26%20at%203.22.23%20PM.png?alt=media&#x26;token=b0e192a1-c4cb-4dcb-beba-0c93d7add981" alt=""><figcaption></figcaption></figure>

### Sample run - How to produce hba report ? <a href="#ep-c392475" id="ep-c392475"></a>

After installing the package or cloning the repo , please run below command . Pick option for HBA Scannner (Option 3)

<figure><img src="https://3013412235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fj94nGPKUS9dlzKveRYHc%2Fuploads%2FYs8Fws32VVYktmiK346x%2Fimage.png?alt=media&#x26;token=71eb6953-c124-4373-955c-b55af82673cd" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3013412235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fj94nGPKUS9dlzKveRYHc%2Fuploads%2F6NKEintiXekSVQM4ZLV4%2FScreen%20Shot%202024-03-26%20at%203.26.26%20PM.png?alt=media&#x26;token=8651a778-1dc4-42d3-93ee-f43f3801a4ac" alt=""><figcaption></figcaption></figure>

### HTML report for HBA scanner <a href="#ep-4c8c946" id="ep-4c8c946"></a>

Once you run the "ciscollector -r " command as described above you will see html file generated in your current working directory. HTML Report enhances user experience . Once you generate html report, you need to open it with a web browser&#x20;

Below is sample output for hba scanner html report

<figure><img src="https://3013412235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fj94nGPKUS9dlzKveRYHc%2Fuploads%2FSsUCvrsEopZdilvqrI00%2FScreen%20Shot%202024-03-26%20at%203.37.26%20PM.png?alt=media&#x26;token=dbf94abb-16cf-4186-8018-cd8623bc86bc" alt=""><figcaption></figcaption></figure>


---

# 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://klouddb.gitbook.io/klouddb_shield/hba-scanner-postgres.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.
