Skip to content

Harmonize timestamps across MQL resources #1127

Open
@chris-rock

Description

@chris-rock

I've been noticing that many providers have resources for checking when some configuration was created, but we have not standardized on what to call those resources. Below are some examples that use created, createTime, createdDateTime, createdAt. At some point we might want to standardize so we don't just inventing new resources that basically do the same thing.

https://github.com/mondoohq/cnquery/blob/main/resources/packs/github/github.lr#L74

https://github.com/mondoohq/cnquery/blob/main/resources/packs/gcp/gcp.lr#L336

https://github.com/mondoohq/cnquery/blob/main/resources/packs/aws/aws.lr#L172

https://github.com/mondoohq/cnquery/blob/main/resources/packs/googleworkspace/googleworkspace.lr#L38

https://github.com/mondoohq/cnquery/blob/main/resources/packs/ms365/ms365.lr#L48

Originally posted by @scottford-io in #1120 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions