Logbook REST API Event Catalog
The Logbook is a changelog of activity related to your assets. The relationships between the events create patterns of event types and subtypes that appear in the logbook.
Logbook events can be viewed in the ASM web console. If you are an ASM Advanced or Enterprise user, you can query the logbook via the REST API.
Logbook API
The Censys Logbook REST API allows you to poll the logbook for changes in your attack surface that meet your interests.
To filter events in the logbook, you create an initial cursor. You use the cursor to submit a GET request to the logbook endpoint, which returns a new cursor as part of the response payload to use in the next request.
Visit our API documentation for details on methods.
This article discusses the real-world scenarios that trigger logbook events and lists related events.
Logbook Event categories
All logbook events fall into four categories.
- Host-related Events
- Certificate-related Events
- Domain-related Events
- Storage Bucket-related Events
Example: Scenario showing relationships between events
If a host is attributed to your organization, and that host has one open port with a known protocol detected. It reports its software package and version, which has a common vulnerability ID linked to it in the CVE database; the following five event types (and subtypes) appear in this order in the logbook:
- Host (Associate)
- Port (Add)
- Protocol (Add)
- Software (Add)
- Vulnerability (Add)
Host-related Events
Censys hosts are IP addresses. Hosts have many characteristics and properties that indicate the services in use by your organization.
HOST
HOST
These events relate to the inclusion or exclusion of IP addresses from your organization’s attack surface.
Subtype | Description | Real-World Triggers |
---|---|---|
ASSOCIATE | An IP address was added to your organization’s asset collection. |
|
DISASSOCIATE | An IP address was removed from your organization’s asset collection. |
|
Cascading Event Types that can follow a Host Event |
---|
Subtype matches the Host event (for example, Host Associate is followed by Add events, and Host Disassociate is followed by Remove events).
|
HOST_PORT
HOST_PORT
These events are related to the application-layer protocol(s) or protocol category detected on an open port.
Subtype | Description | Real-World Triggers |
---|---|---|
ADD | A new port was added to an IP. |
|
REMOVE | A port was removed from an IP. |
|
Cascading Event Types that could follow a Port Event |
---|
Subtype matches the Port event.
|
HOST_PROTOCOL
HOST_PROTOCOL
These events are related to the application-layer protocol(s) or protocol category detected on an open port.
Subtype | Description | Real-World Triggers |
---|---|---|
ADD | A protocol or protocol category was added to an IP. |
|
REMOVE | A previously seen protocol or protocol category was removed from an IP. |
|
Cascading Event Types that can follow a Protocol Event |
---|
Subtype matches the Protocol event.
|
HOST_SOFTWARE
HOST_SOFTWARE
These events relate to the software packages and versions reported by a service during a Censys scan of an IP.
Subtype | Description | Real-World Triggers |
---|---|---|
ADD | A software package was added to an IP. |
|
REMOVE | A software package was removed from an IP. |
|
Cascading Event Types that can follow a Protocol Event |
---|
HOST_VULNERABILITY |
HOST_VULNERABILITY
HOST_VULNERABILITY
These events relate to the presence of vulnerabilities in your organization’s in-use software, as gathered from the Common Vulnerabilities and Exposures list.
Subtype | Description | Real-World Triggers |
---|---|---|
ADD | A vulnerability was found for a host. |
|
REMOVE | A vulnerability was removed from a host. |
|
CHANGE | The information about a vulnerability changed. |
|
HOST_CERT
HOST_CERT
These events record the presentation of your organization’s certificates by your hosts during a TLS handshake with a Censys scanner.
Subtype | Description | Real-World Triggers |
---|---|---|
ADD | A certificate was linked to an IP. |
|
REMOVE | The link between a certificate and IP was removed. |
|
Certificate-related Events
Transport Layer Security (TLS) certificates on hosts are used for verifying the identity claim of a server.
CERTIFICATE
CERTIFICATE
These events are related to the inclusion or exclusion of TLS certificates in your organization’s attack surface.
Subtype | Description | Real-World Triggers |
---|---|---|
ASSOCIATE | A certificate was attributed to your organization. |
|
DISASSOCIATE | This event is only generated if there are no longer any connections between a certificate and other assets belonging to your organization. |
Cascading Event Types that can follow a Certificate Event |
---|
HOST_CERT |
Domain-related Events
Apex domains are root domains in the sense that they are only subdomains of a TLD (for example, com
) or eTLD (for example, co.uk
).
These domains often identify large portions of your Internet-facing business.
DOMAIN
DOMAIN
These events record the inclusion or exclusion of apex domains in your organization’s attack surface.
Subtype | Description | Real-World Triggers |
---|---|---|
ADD | An apex domain was added to your organization. |
|
REMOVE | An apex domain was removed from your organization. |
|
Cascading Event Types that could follow a Certificate Event |
---|
Subtype matches the Port event.
|
DOMAIN_EXPIRATION_DATE
DOMAIN_EXPIRATION_DATE
These events capture the expiration date of an apex domain attributed to your organization.
Subtype | Description | Real-World Triggers |
---|---|---|
ADD | An expiration date was found for a domain. |
|
REMOVE | An expiration date for a domain was removed from your organization. |
|
CHANGE | The expiration date of an apex domain was changed. |
|
DOMAIN_REGISTRAR
DOMAIN_REGISTRAR
These events capture the Registrar of an apex domain attributed to your organization.
Subtype | Description | Real-World Triggers |
---|---|---|
ADD | A registrar was added to a domain. |
|
REMOVE | The registrar for a domain was removed from your organization. |
|
CHANGE | The registrar for an apex domain was changed. |
|
DOMAIN_MAIL_EXCHANGE_SERVER
DOMAIN_MAIL_EXCHANGE_SERVER
These events relate to mail exchange servers found in MX records in the DNS for an apex domain attributed to your organization.
Subtype | Description | Real-World Triggers |
---|---|---|
ADD | A mail exchange server was found for a domain. |
|
REMOVE | A mail exchange server was removed from a domain. |
|
DOMAIN_NAME_SERVER
DOMAIN_NAME_SERVER
These events relate to name servers found in the DNS for an apex domain attributed to your organization.
Subtype | Description | Real-World Triggers |
---|---|---|
ADD | A DNS name server was found for a domain. |
|
REMOVE | A name server was removed from a domain. |
|
DOMAIN_HOSTNAME
DOMAIN_HOSTNAME
These events relate to the inclusion and exclusion of fully qualified domain names in your organization’s attack surface.
Subtype | Description | Real-World Triggers |
---|---|---|
ADD | A hostname was added for a domain. |
|
REMOVE | A hostname was removed for a domain. |
|
Storage Bucket-related Events
OBJECT_STORAGE
OBJECT_STORAGE
Subtype | Description | Real-World Triggers |
---|---|---|
ADD | A storage bucket was found that may be owned by your organization. |
|
REMOVE | A storage bucket was removed from your organization. |
|
Updated 14 days ago