-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update usage of GET /groups/{group_id}/files/{file_name}/- json/xml #6385
Merged
Tostti
merged 8 commits into
4.9.0
from
feat/6381-update-usage-of-GET-/groups/{group_id}/files/{file_name}
Feb 29, 2024
Merged
Changes from 6 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
b07eeed
Update Get of filenames
JuanGarriuz e8ded9c
Imposter fiexd
JuanGarriuz 5857114
Merge branch '4.9.0' into feat/6381-update-usage-of-GET-/groups/{grou…
JuanGarriuz 7a155b7
Merge branch '4.9.0' into feat/6381-update-usage-of-GET-/groups/{grou…
JuanGarriuz f673fa7
Merge branch '4.9.0' into feat/6381-update-usage-of-GET-/groups/{grou…
Desvelao b57701b
Merge branch '4.9.0' into feat/6381-update-usage-of-GET-/groups/{grou…
Tostti 35a2d13
Added changelog
asteriscos bc5840c
Merge branch '4.9.0' into feat/6381-update-usage-of-GET-/groups/{grou…
asteriscos File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
var raw_param = context.request.queryParams; | ||
|
||
switch (raw_param.raw) { | ||
case 'true': | ||
respond().withStatusCode(200).withFile('agents/group_files_raw.xml'); | ||
break; | ||
default: | ||
respond().withStatusCode(200).withFile('agents/group_files_default.json'); | ||
break; | ||
} |
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,27 @@ | ||
{ | ||
"data": { | ||
"vars": "None", | ||
"controls": [ | ||
{ | ||
"name": "CIS - Testing against the CIS Debian Linux Benchmark v1.", | ||
"cis": [], | ||
"pci": [], | ||
"condition": "all required", | ||
"reference": "CIS_Debian_Benchmark_v1.0pdf", | ||
"checks": [ | ||
"f:/etc/debian_version;", | ||
"f:/proc/sys/kernel/ostype -> Linux;" | ||
] | ||
}, | ||
{ | ||
"name": "CIS - Debian Linux - 1.4 - Robust partition scheme - /tmp is not on its own partition", | ||
"cis": [], | ||
"pci": [], | ||
"condition": "any", | ||
"reference": "https://benchmarks.cisecurity.org/tools2/linux/CIS_Debian_Benchmark_v1.0.pdf", | ||
"checks": ["f:/etc/fstab -> !r:/tmp;"] | ||
} | ||
] | ||
}, | ||
"error": 0 | ||
} |
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,3 @@ | ||
<agent_config> | ||
<!-- Shared agent configuration here --> | ||
</agent_config> |
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this is not used I think we should remove it to avoid polluting the file.