---
updatedAt: 2026-06-26T19:33:00.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/terraform/llms.txt
---

# Hostname audit history

akamai_property_hostname_audit_history

Get a record of all modifications made to a property hostname.

```json Query
data "akamai_property_hostname_audit_history" "my-hostname-audit-history" {
  hostname = "example.com"
}

output "my-hostname-audit-history" {
  value = data.akamai_property_hostname_audit_history.my-hostname-audit-history
}
```
```json Standard output
my-hostname-audit-history = {
  history  = [
    {
      action                 = "ACTIVATE"
      cert_provisioning_type = "CPS_MANAGED"
      cname_to               = "example.com.edgesuite.net"
      contract_id            = "ctr_C-0N7RAC7"
      edge_hostname_id       = "ehn_12345"
      group_id               = "grp_12345"
      network                = "STAGING"
      property_id            = "prp_12345"
      timestamp              = "2025-12-18T14:48:56Z"
      user                   = "jsmith"
    },
    {
      action                 = "ADD"
      cert_provisioning_type = "CPS_MANAGED"
      cname_to               = "example.com.edgesuite.net"
      contract_id            = "ctr_C-0N7RAC7"
      edge_hostname_id       = "ehn_12345"
      group_id               = "grp_12345"
      network                = "STAGING"
      property_id            = "prp_12345"
      timestamp              = "2025-12-18T14:46:11Z"
      user                   = "jsmith"
    },
  ]
  hostname = "example.com"
}
```

## Arguments

Pass the `hostname` in the `data` block get its audit history. It's the `cname_from` for the hostname your end users see, indicated by the `Host` header in end-user requests.

## Attributes

Returned to you is a set containing the hostname's audit history.

<table>
    <thead>
        <tr>
            <th>Attribute</th>
            <th>Description</th>
        </tr>
    </thead>
    <tbody>
         <tr>
            <td><code>contract_id</code></td>
            <td>The contract's ID.</td>
        </tr>
        <tr>
            <td><code>group_id</code></td>
            <td>The group's ID.</td>
        </tr>
        <tr>
            <td><code>property_id</code></td>
            <td>The property's ID.</td>
        </tr>
        <tr>
            <td><code>edge_hostname_id</code></td>
            <td>The edge hostname's ID.</td>
        </tr>
        <tr>
            <td><code>action</code></td>
            <td>The type of action performed to the property hostname. Possible values are:
                <ul>
                    <li><code>ACTIVATE</code>. Currently serving traffic.</li>
                    <li><code>DEACTIVATE</code>. Not serving serving traffic.</li>
                    <li><code>ADD</code>. Requested for addition to a property.</li>
                    <li><code>REMOVE</code>. Requested to removal from a property.</li>
                    <li><code>MOVE</code>. Moved from one property to another.</li>
                    <li><code>MODIFY</code>. Hostname configuration update for <code>edge_hostname_id</code> or <code>cert_provisioning_type</code>.</li>
                    <li><code>ABORTED</code>. Hostname activation canceled.</li>
                    <li><code>ERROR</code>. Hostname activation failed.</li>
                </ul>
            </td>
        </tr>
        <tr>
            <td><code>cert_provisioning_type</code></td>
            <td>The certificate's provisioning type. Possible values are:
                <ul>
                    <li><code>CPS_MANAGED</code> for custom certificates you provision with Certificate Provisioning System.</li>
                    <li><code>CCM</code> for custom certificates you provision with Cloud Certificate Manager.</li>
                    <li><code>DEFAULT</code> for certificates provisioned automatically.</li>
                </ul>
            </td>
        </tr>
        <tr>
            <td><code>cname_to</code></td>
            <td>The edge hostname you point the property hostname to so that you can start serving traffic through Akamai servers.</td>
        </tr>
        <tr>
            <td><code>network</code></td>
            <td>The network of activated hostnames, either <code>STAGING</code> or <code>PRODUCTION</code>.</td>
        </tr>
        <tr>
            <td><code>timestamp</code></td>
            <td>The timestamp indicating when the action occurred.</td>
        </tr>
        <tr>
            <td><code>user</code></td>
            <td>The user who initiated the action.</td>
        </tr>
    </tbody>
</table>

# Sibling pages

* [Account hostnames](https://techdocs.akamai.com/terraform/docs/pm-ds-account-hostnames.md)
* [CP code](https://techdocs.akamai.com/terraform/docs/pm-ds-cp-code.md)
* [CP codes](https://techdocs.akamai.com/terraform/docs/pm-ds-cp-codes.md)
* [Edge hostname](https://techdocs.akamai.com/terraform/docs/pm-ds-edge-hostname.md)
* [Edge hostnames](https://techdocs.akamai.com/terraform/docs/pm-ds-edge-hostnames.md)
* [Domain](https://techdocs.akamai.com/terraform/docs/pm-ds-domain.md)
* [Domains](https://techdocs.akamai.com/terraform/docs/pm-ds-domains.md)
* [Hostname activation](https://techdocs.akamai.com/terraform/docs/pm-ds-hostname-activation.md)
* [Hostname activations](https://techdocs.akamai.com/terraform/docs/pm-ds-hostname-activations.md)
* [Hostnames](https://techdocs.akamai.com/terraform/docs/pm-ds-hostnames.md)
* [Hostnames diff](https://techdocs.akamai.com/terraform/docs/pm-ds-hostnames-diff.md)
* [Include](https://techdocs.akamai.com/terraform/docs/pm-ds-include.md)
* [Include activation](https://techdocs.akamai.com/terraform/docs/pm-ds-include-activation.md)
* [Include parents](https://techdocs.akamai.com/terraform/docs/pm-ds-include-parents.md)
* [Include rules](https://techdocs.akamai.com/terraform/docs/pm-ds-include-rules.md)
* [Includes](https://techdocs.akamai.com/terraform/docs/pm-ds-includes.md)
* [Products](https://techdocs.akamai.com/terraform/docs/pm-ds-products.md)
* [Properties](https://techdocs.akamai.com/terraform/docs/pm-ds-properties.md)
* [Property](https://techdocs.akamai.com/terraform/docs/pm-ds-property.md)
* [Property activation](https://techdocs.akamai.com/terraform/docs/pm-ds-property-activation.md)
* [Search](https://techdocs.akamai.com/terraform/docs/pm-ds-search.md)
* [Search domains](https://techdocs.akamai.com/terraform/docs/pm-ds-search-domains.md)
* [Rule formats](https://techdocs.akamai.com/terraform/docs/pm-ds-rule-formats.md)
* [Rules](https://techdocs.akamai.com/terraform/docs/pm-ds-property-rules.md)
* [Rules builder](https://techdocs.akamai.com/terraform/docs/pm-ds-rules-builder.md)
* [Rules template](https://techdocs.akamai.com/terraform/docs/pm-ds-rules-template.md)