GetReferenceList parity mapping
This guide details the request and response mapping specifications and property parity analysis for migrating from the legacy Backstory Reference List API (GetReferenceList) to the modern Chronicle API (GetReferenceList).
Protocol and mapping overview
| Feature | Legacy API (GetReferenceList) |
Modern Chronicle API (GetReferenceList) |
|---|---|---|
| HTTP Method | GET |
GET |
| Permissions | Partner token or legacy API keys | chronicle.googleapis.com/referenceLists.get |
Request payload field-by-field parity
The modern Chronicle API GetReferenceListRequest identifies target resources using canonical Google Cloud resource paths.
Legacy Field (GetReferenceListRequest) |
Modern Field (GetReferenceListRequest) |
Field type | Parity & Migration Notes |
|---|---|---|---|
name |
name (in HTTP path) |
string |
Google Cloud Scoping Context / Renaming: The legacy request used path format lists/{list}. The modern API routes this using canonical Google Cloud resource paths: projects/{project}/locations/{location}/instances/{instance}/referenceLists/{reference_list}. |
view |
view |
enum |
Renamed / Value Alignment: Selects partial versus full response views. 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 responses return the retrieved reference list representation, with the modern API enriching return payloads with rule associations and RBAC scopes.
Legacy Field (ReferenceList response) |
Modern Field (ReferenceList response) |
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 (
namepath parameter).
- Scoped natively under parent project instance folder bindings (
- Enum Naming Shifts:
- The
ReferenceListViewvalues shift from short prefixes (BASIC,FULL) to fully qualified names (REFERENCE_LIST_VIEW_BASIC,REFERENCE_LIST_VIEW_FULL). - Legacy
content_typeis renamed tosyntax_typewith clearer enum prefixing (REFERENCE_LIST_SYNTAX_TYPE_*).
- The
- Payload Restructuring:
- Plain string line arrays in legacy
linesare wrapped inside structuredReferenceListEntrymessages underentries(for example,lines$\rightarrow$entries).
- Plain string line arrays in legacy
- Rule Tracking and Scoping Enrichment:
- The modern response enriches return payloads with RBAC scoping (
scope_info) and rule association analytics (rulesarray andrule_associations_count).
- The modern response enriches return payloads with RBAC scoping (