-
Notifications
You must be signed in to change notification settings - Fork 12
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
✨ binary scripts. #78
base: main
Are you sure you want to change the base?
Conversation
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.
I've had success with an MTA install on OCP when auth is disabled. When auth is enabled I'm seeing 500s in the hub logs when fetching identities.
When I did have success I will say it worked like a charm, and the output was excellent. Going to try running a large set next
hack/bra/analysis.sh
Outdated
name: ${name} | ||
${cred} | ||
" | ||
code=$(curl -Ss -o ${tmp} -w "%{http_code}" -X POST ${host}/applications -H 'Content-Type:application/x-yaml' -d "${d}") |
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.
Could we add -k
to all the curl commands in both scripts? Needed that for OCP routes
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.
Good catch.
Done.
Signed-off-by: Jeff Ortel <[email protected]>
Signed-off-by: Jeff Ortel <[email protected]>
Signed-off-by: Jeff Ortel <[email protected]>
Signed-off-by: Jeff Ortel <[email protected]>
Signed-off-by: Jeff Ortel <[email protected]>
Signed-off-by: Jeff Ortel <[email protected]>
Signed-off-by: Jeff Ortel <[email protected]>
Signed-off-by: Jeff Ortel <[email protected]>
Signed-off-by: Jeff Ortel <[email protected]>
Signed-off-by: Jeff Ortel <[email protected]>
Signed-off-by: Jeff Ortel <[email protected]>
Signed-off-by: Jeff Ortel <[email protected]>
Signed-off-by: Jeff Ortel <[email protected]>
Signed-off-by: Jeff Ortel <[email protected]>
Signed-off-by: Jeff Ortel <[email protected]>
Signed-off-by: Jeff Ortel <[email protected]>
Signed-off-by: Jeff Ortel <[email protected]>
Signed-off-by: Jeff Ortel <[email protected]>
Signed-off-by: Jeff Ortel <[email protected]>
Signed-off-by: Jeff Ortel <[email protected]>
Signed-off-by: Jeff Ortel <[email protected]>
Signed-off-by: Jeff Ortel <[email protected]>
Signed-off-by: Jeff Ortel <[email protected]>
Signed-off-by: Jeff Ortel <[email protected]>
Signed-off-by: Jeff Ortel <[email protected]>
Signed-off-by: Jeff Ortel <[email protected]>
Signed-off-by: Jeff Ortel <[email protected]>
Signed-off-by: Jeff Ortel <[email protected]>
Signed-off-by: Jeff Ortel <[email protected]>
Signed-off-by: Jeff Ortel <[email protected]>
Signed-off-by: Jeff Ortel <[email protected]>
Signed-off-by: Jeff Ortel <[email protected]>
Signed-off-by: Jeff Ortel <[email protected]>
Overview
Add scripts for support bulk analysis of binaries found in a directory (tree).
Assumptions:
Dependencies:
Tools
creds.sh - Tool for listing credentials.
Example:
analysis.sh - Tool for running analysis or reporting status of analysis tasks.
Example: Run analysis on directory with 3 jar files.
Note: without the
-f
option, an analysis task will only be created when there isn't an existing task in-flight or succeeded.Example: report status.
owner.sh - Tool for assigning application owner (stakeholder)
The stakeholder is created (as needed).
Processes a directory of text files containing a list of binaries.
The directory part of the application name is ignored when matching. Example: dog.war matches both a/dog.war b/dog.war.
The file name (suffix ignored) is used as the name of the stakeholder.
Example:
tag.sh - Tool to add tags to applications.
same input files as
owner.sh
.Example:
The tag category can be deleted using -x option. This will delete all associated tags (and association with applications).
wave.sh - Tool for creating migration waves and associating applications.
same input files as
owner.sh
.Examples: note: The -s -e will default when not specified.
report.sh - Tool to download html reports.
Processes the tree of binaries used to perform analysis.
Will not overwrite existing reports. This can be overridden using the
-f forced
option.The (-r <path) will be the root of the output directory tree which replicates the structure of the input tree (of binaries).
Example:
note: