-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
author Michael Sorens <msorens@chef.io> 1604676405 -0800 committer Alex Pop <apop@chef.io> 1605705520 +0000 Pin semgrep for custom rules (#4426) sample-data-service mock infra client data (#4398) Co-authored-by: Steven Danna <steve@chef.io> Compliance APIs default to 24h without end_time (#4310) * Compliance APIs default to 24h without end_time Signed-off-by: Alex Pop <apop@chef.io> Fix overlapping Signed-off-by: Alex Pop <apop@chef.io> * Update docker test based on new inspec error output Signed-off-by: Alex Pop <apop@chef.io> * Remove fmt package Signed-off-by: Alex Pop <apop@chef.io> Add option to select last 24h compliance report (#4358) * Add option to select last 24h compliance report This commit adds the option to view the last 24h of compliance data. Compliance API endpoints were recently updated to return last 24h window of data if `start_time` and `end_time` are excluded from requests. Signed-off-by: Scott Christopherson <scott@chef.io> * Align filters Signed-off-by: Alex Pop <apop@chef.io> * Update docker test based on new inspec error output Signed-off-by: Alex Pop <apop@chef.io> Co-authored-by: Alex Pop <apop@chef.io> Add Compliance Knowledge Transfer notes Signed-off-by: Alex Pop <apop@chef.io> small updates Signed-off-by: Alex Pop <apop@chef.io> before call Signed-off-by: Alex Pop <apop@chef.io> before call Signed-off-by: Alex Pop <apop@chef.io> added filters and migrations added some filter types ingest clarifications Signed-off-by: Alex Pop <apop@chef.io> Before second kt call Signed-off-by: Alex Pop <apop@chef.io> changes post second call Signed-off-by: Alex Pop <apop@chef.io>
- Loading branch information
Showing
120 changed files
with
8,065 additions
and
3,346 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash | ||
# | ||
# Helper methods specific for the sample-data-service | ||
|
||
document "start_sample_data_service" <<DOC | ||
Build and start the local sample-data-service | ||
DOC | ||
function start_sample_data_service() { | ||
install_if_missing core/jq-static jq | ||
install_if_missing core/grpcurl grpcurl | ||
|
||
build components/sample-data-service/ | ||
start_deployment_service | ||
chef-automate dev deploy-some $HAB_ORIGIN/sample-data-service --with-deps | ||
} | ||
|
||
document "enable_sample_data_service" <<DOC | ||
Enable the sample-data-service | ||
DOC | ||
function enable_sample_data_service() { | ||
check_if_deployinate_started || return 1 | ||
printf "[deployment.v1.svc]\n products = [\"sample-data\"]\n" > /tmp/enable_sample_data_patch.toml | ||
chef-automate config patch /tmp/enable_sample_data_patch.toml | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.