fix fleetRepoUrl (#8325)

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
This commit is contained in:
Eric
2022-10-19 10:21:05 -05:00
committed by GitHub
co-authored by Mike McNeil
parent 2f3df85c95
commit 9dc5d4f53e
+1 -1
View File
@@ -104,7 +104,7 @@ module.exports = {
}
}
// If the table has Fleet overrides, we'll add the URL of the YAML file in the Fleet Github repo as the `fleetRepoUrl`, and add set the url to be where this table will live on fleetdm.com.
expandedTableToPush.fleetRepoUrl = 'https://github.com/fleetdm/fleet/main/schema/tables/'+encodeURIComponent(expandedTableToPush.name)+'.yml';
expandedTableToPush.fleetRepoUrl = 'https://github.com/fleetdm/fleet/blob/main/schema/tables/'+encodeURIComponent(expandedTableToPush.name)+'.yml';
expandedTableToPush.url = 'https://fleetdm.com/tables/'+encodeURIComponent(expandedTableToPush.name);
let mergedTableColumns = [];
for (let osquerySchemaColumn of osquerySchemaTable.columns) { // iterate through the columns in the osquery schema table