# OfficeProvenanceAudit

Canonical read-only discovery and assessment shared by automation and interactive hosts.

Class 

`OfficeIMO.Workflows`

**Namespace**

`OfficeIMO.Workflows`

**Assembly**

`OfficeIMO.Workflows`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[OfficeProvenanceAudit.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/OfficeProvenanceAudit.cs#L35)

**Modifiers**

static

Canonical read-only discovery and assessment shared by automation and interactive hosts.

## Inheritance

- object
- OfficeProvenanceAudit

Filter members 

Show inherited

## Methods

`public static IReadOnlyList<string> Discover(OfficeProvenanceAuditRequest request, CancellationToken cancellationToken = default)` [#](#method-discover-officeimo-workflows-officeprovenanceauditrequest-threading-cancellationtoken)

[OfficeProvenanceAudit.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/OfficeProvenanceAudit.cs#L35)

Discovers a deterministic, bounded set. Directory symlinks and generated/VCS directories are not followed.

Parameters

**request OfficeIMO.Workflows.OfficeProvenanceAuditRequest required**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`IReadOnlyList<string>`

`public static bool HasFindings(OfficeProvenanceWorkflowResult result, bool carriers = false, bool dangerousText = true)` [#](#method-hasfindings-officeimo-workflows-officeprovenanceworkflowresult-boolean-boolean)

[OfficeProvenanceAudit.cs:116](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/OfficeProvenanceAudit.cs#L116)

Whether the selected evidence policy has actionable findings. Execution failures must be handled separately.

Parameters

**result OfficeIMO.Workflows.OfficeProvenanceWorkflowResult required**

**carriers bool = false optional**

**dangerousText bool = true optional**

Returns

`bool`

`public static async Task<IReadOnlyList<OfficeProvenanceWorkflowResult>> RunAsync(OfficeProvenanceAuditRequest request, IOfficeProvenanceWorkflowRunner? runner = null, CancellationToken cancellationToken = default)` [#](#method-runasync-officeimo-workflows-officeprovenanceauditrequest-officeimo-workflows-iofficeprovenanceworkflowrunner-threading-cancellationtoken)

Assesses discovered inputs without publishing or modifying assets.

Parameters

**request OfficeIMO.Workflows.OfficeProvenanceAuditRequest required**

**runner OfficeIMO.Workflows.IOfficeProvenanceWorkflowRunner? = null optional**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`Task<IReadOnlyList<OfficeProvenanceWorkflowResult>>`

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

<!-- PowerForge markdown artifact sha256:06174C7A99990FE352726A9563B0E2691660B49F107A42F4D1C7C5189B62D4B6 -->
