> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/cortex-cloud-posture-management/serverless-function-posture-security/serverless-function-posture-security.md).

# About serverless function posture security

Cortex Cloud serverless function scanning capabilities provides comprehensive visibility into the security posture of your serverless functions across your code and CI/CD environments, without the need to install agents or disrupt your workload operations. By integrating scanning functionality directly into your serverless functions, Cortex Cloud automatically detects vulnerabilities, malware and exposed secrets early in the development process, enabling proactive risk detection and mitigation before production.

The following events trigger Cortex Cloud serverless function scans:

* Periodic scans
* Settings modifications, including adding new functions for scanning

### Supported platforms

* Supported architecture: x86\_64
* Supported cloud providers:
  * Amazon Web Services (AWS): Lambda functions
  * Google Cloud Platform (GCP): Google Cloud Functions-1st gen and 2nd gen Cloud Functions API
  * Microsoft Azure: Azure functions

### Use cases

* **Scan Serverless Functions**: You can set up automated security scans for all your serverless functions to regularly check for potential vulnerabilities, malware and exposed secrets. You can schedule these scans to run periodically or automatically (event-driven) whenever changes are made to your functions. The scan results allow you to assess the security risks associated with your serverless applications.
* **Visibility**: Get a single view of all vulnerabilities, malware, and exposed secrets affecting your organization's serverless functions. This allows you to easily understand the overall security posture of these assets.
* **Analyze and mitigate scan results**: Gain insights about the vulnerabilities, malware and exposed secrets detected by serverless function security scans. This enables you to understand and mitigate potential risks to improve the security of your serverless applications.
* **Monitor scan health**: Gain detailed insights into serverless function scan health and status, allowing you to track scan data, troubleshoot errors and mitigate detected vulnerabilities, malware and exposed secrets, ensuring the overall health of your serverless functions.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://cortex-docs.paloaltonetworks.com/cortex-cloud-posture-management/serverless-function-posture-security/serverless-function-posture-security.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
