# Cloud Security Compliance v1 API - Class Audit.AuditBase (1.0.0-beta05)

1.0.0-beta05 (latest) 1.0.0-beta04

    [BindServiceMethod(typeof(Audit), "BindService")]
    public abstract class Audit.AuditBase

Reference documentation and code samples for the Cloud Security Compliance v1 API class Audit.AuditBase.

Base class for server-side implementations of Audit

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> Audit.AuditBase

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.CloudSecurityCompliance.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1)

## Assembly

Google.Cloud.CloudSecurityCompliance.V1.dll

## Methods

### CreateFrameworkAudit(CreateFrameworkAuditRequest, ServerCallContext)

    public virtual Task<Operation> CreateFrameworkAudit(CreateFrameworkAuditRequest request, ServerCallContext context)

Creates an audit scope report for a framework.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.CreateFrameworkAuditRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation.html` | The response to send back to the client (wrapped by a task). |

### GenerateFrameworkAuditScopeReport(GenerateFrameworkAuditScopeReportRequest, ServerCallContext)

    public virtual Task<GenerateFrameworkAuditScopeReportResponse> GenerateFrameworkAuditScopeReport(GenerateFrameworkAuditScopeReportRequest request, ServerCallContext context)

Generates an audit scope report for a framework.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.GenerateFrameworkAuditScopeReportRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.GenerateFrameworkAuditScopeReportResponse` | The response to send back to the client (wrapped by a task). |

### GetFrameworkAudit(GetFrameworkAuditRequest, ServerCallContext)

    public virtual Task<FrameworkAudit> GetFrameworkAudit(GetFrameworkAuditRequest request, ServerCallContext context)

Gets the details for a framework audit.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.GetFrameworkAuditRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.FrameworkAudit` | The response to send back to the client (wrapped by a task). |

### ListFrameworkAudits(ListFrameworkAuditsRequest, ServerCallContext)

    public virtual Task<ListFrameworkAuditsResponse> ListFrameworkAudits(ListFrameworkAuditsRequest request, ServerCallContext context)

Lists the framework audits for a given organization, folder, or project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.ListFrameworkAuditsRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudSecurityCompliance.V1/latest/Google.Cloud.CloudSecurityCompliance.V1.ListFrameworkAuditsResponse` | The response to send back to the client (wrapped by a task). |