<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "EndpointSecurity",
  "identifier" : "/documentation/EndpointSecurity/es_event_cs_invalidated_t",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Endpoint Security"
    ],
    "preciseIdentifier" : "c:@SA@es_event_cs_invalidated_t"
  },
  "title" : "es_event_cs_invalidated_t"
}
-->

# es_event_cs_invalidated_t

A type for an event that indicates the invalidation of a process’ code signing status.

```
struct es_event_cs_invalidated_t
```

## Overview

Endpoint Security generates this event as a result of removing the `CS_VALID` bit from a process’s CS flags. This occurs in the following situations:

- An invalid page for a process with an otherwise-valid code signature pages in.
- A call to `csops(CS_OPS_MARKINVALID)` explicitly invalidates the process.

Endpoint Security doesn’t generate this event if `CS_HARD` is set, since `CS_HARD` by design prevents the process from becoming invalid.

## Topics

### Inspecting Event Properties

[`reserved`](/documentation/EndpointSecurity/es_event_cs_invalidated_t/reserved)

An unused field reserved for future use.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)