fleet/website/api/helpers
Eric 85fdeb4234
2023-09-16: Website: Update sitemap, set lastModifedAt timestamps for osquery schema pages. (#13725)
Closes: #13728

Changes:
- Added /support to the array of hand-coded HTML pages in
`download-sitemap.js`:
- Updated `get-extended-osquery-schema`:
- Added a new (optional) input: `includeLastModifiedAtValue` if this
input is provided, the helper will:
      - Set a `lastModifiedAt` value on all tables.
- Send a request to the GitHub API to get a lastModifiedAt timestamp for
tables that have no fleet overrides.
- Use `git` to get a lastModifiedAt timestamp of when the tables YAML
file was changed.
- Updated the `build-static-content` script to include a lastModifiedAt
timestamp for table pages, and updated the `lastModifiedAt` value that
is set for pages built from `/handbook/company/open-positions.yml`

---------

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2023-09-15 18:39:39 -05:00
..
fleet-sandbox-cloud-provisioner Website: Add admin page to manage the Fleet Sandbox waitlist (#13111) 2023-08-04 18:32:00 -05:00
github-automations Request review automatically for non-codeowners (#12786) 2023-07-15 19:56:30 -05:00
strings Website: Change bootstrap class added to tables on pages built from Markdown (#12024) 2023-05-29 20:25:24 -05:00
create-license-key.js Website: Update admin license generator (#13101) 2023-08-04 14:48:29 -05:00
get-extended-osquery-schema.js 2023-09-16: Website: Update sitemap, set lastModifedAt timestamps for osquery schema pages. (#13725) 2023-09-15 18:39:39 -05:00
redact-user.js Move fleetdm.com into main Fleet repo (#83) 2020-12-02 14:48:03 -06:00
send-template-email.js Website: Fleet Premium subscription renewals (#9200) 2023-01-06 18:36:29 -06:00