ListReferenceLists parity mapping

Supported in:

This guide details the request and response mapping specifications and property parity analysis for migrating from the legacy Backstory Reference List API (ListReferenceLists) to the modern Chronicle API (ListReferenceLists).

Protocol and mapping overview

Feature Legacy API (ListReferenceLists) Modern Chronicle API (ListReferenceLists)
HTTP Method GET GET
Permissions Partner token or legacy API keys chronicle.googleapis.com/referenceLists.list

Request payload field-by-field parity

The modern Chronicle API ListReferenceListsRequest scopes listings under a target parent instance path.

Legacy Field (ListReferenceListsRequest) Modern Field (ListReferenceListsRequest) Field type Parity & Migration Notes
parent (in HTTP path) string Google Cloud Scoping Context / New Field: Scopes the list target under parent instance paths: projects/{project}/locations/{location}/instances/{instance_uuid}.
page_size page_size int32 Parity Mapped: Pagination page size limits (default 100, max 1000). Rename to pageSize in JSON.
page_token page_token string Parity Mapped: Paging resumption token. Rename to pageToken in JSON payloads.
view view enum Renamed / Value Alignment: Selects partial versus full response views. Defaults to BASIC view. Enum value translations:
REFERENCE_LIST_VIEW_UNSPECIFIED $\rightarrow$ REFERENCE_LIST_VIEW_UNSPECIFIED
BASIC $\rightarrow$ REFERENCE_LIST_VIEW_BASIC
FULL $\rightarrow$ REFERENCE_LIST_VIEW_FULL.

Response payload field-by-field parity

Both APIs return pagination results with matching nested models.

Legacy Field (ListReferenceListsResponse) Modern Field (ListReferenceListsResponse message) Field type Parity & Migration Notes
lists reference_lists repeated ReferenceList Parity Mapped / Renamed: Array list of reference lists. Notice field renamed from lists to reference_lists. Rename to referenceLists in JSON.
next_page_token next_page_token string Parity Mapped: Token to retrieve subsequent pages of reference lists. Rename to nextPageToken in JSON.

Nested ReferenceList field parity

The fields mapping inside individual ReferenceList definitions is as follows:

Legacy Field (ReferenceList message) Modern Field (ReferenceList message) Field type Parity & Migration Notes
name name string Parity Mapped: Contains standard Google Cloud canonical resource path: projects/{pr}/locations/{loc}/instances/{in}/referenceLists/{id}.
display_name string New Field: The unique display title of the reference list. Rename to displayName in JSON responses.
description description string User-provided description text.
lines entries repeated ReferenceListEntry Restructured: Each item is returned as a ReferenceListEntry message containing string value = 1; (omitted if view is set to REFERENCE_LIST_VIEW_BASIC).
content_type syntax_type enum Renamed: Returns ReferenceListSyntaxType enum representing list validation rules (PLAIN_TEXT_STRING, REGEX, CIDR). Rename to syntaxType in JSON.
create_time revision_create_time Timestamp Renamed: Timestamp recording when the revision was created. Rename to revisionCreateTime in JSON.
rules repeated string New Field: Array of self-authored detection rule names associating with this list (omitted in BASIC view).
rule_associations_count int32 New Field: Total count of active self-authored rules referencing this list. Rename to ruleAssociationsCount in JSON.
scope_info ScopeInfo New Field: Data RBAC scoping boundaries assigned to the list. Rename to scopeInfo in JSON.

Key differences

  • Google Cloud Project Scoping Integration:
    • Scoped natively under parent project instance folder bindings (parent path parameter).
  • Field Renaming (lists $\rightarrow$ reference_lists):
    • On the return message, the repeated array property is renamed from lists to reference_lists.
  • Payload Restructuring & Enum Shifts:
    • On returned list objects, plain string line arrays in legacy lines are wrapped inside structured ReferenceListEntry messages under entries (for example, lines $\rightarrow$ entries).
    • Legacy content_type is renamed to syntax_type with clearer enum prefixing (REFERENCE_LIST_SYNTAX_TYPE_*). Legacy create_time is renamed to revision_create_time.
  • Rule Tracking and Scoping Enrichment:
    • The modern response enriches return payloads with RBAC scoping (scope_info) and rule association analytics (rules array and rule_associations_count).