Open
Conversation
dymurray
reviewed
Mar 7, 2024
Contributor
dymurray
left a comment
There was a problem hiding this comment.
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
| name: ${name} | ||
| ${cred} | ||
| " | ||
| code=$(curl -Ss -o ${tmp} -w "%{http_code}" -X POST ${host}/applications -H 'Content-Type:application/x-yaml' -d "${d}") |
Contributor
There was a problem hiding this comment.
Could we add -k to all the curl commands in both scripts? Needed that for OCP routes
Signed-off-by: Jeff Ortel <jortel@redhat.com>
Signed-off-by: Jeff Ortel <jortel@redhat.com>
Signed-off-by: Jeff Ortel <jortel@redhat.com>
Signed-off-by: Jeff Ortel <jortel@redhat.com>
Signed-off-by: Jeff Ortel <jortel@redhat.com>
Signed-off-by: Jeff Ortel <jortel@redhat.com>
Signed-off-by: Jeff Ortel <jortel@redhat.com>
Signed-off-by: Jeff Ortel <jortel@redhat.com>
Signed-off-by: Jeff Ortel <jortel@redhat.com>
Signed-off-by: Jeff Ortel <jortel@redhat.com>
Signed-off-by: Jeff Ortel <jortel@redhat.com>
Signed-off-by: Jeff Ortel <jortel@redhat.com>
Signed-off-by: Jeff Ortel <jortel@redhat.com>
Signed-off-by: Jeff Ortel <jortel@redhat.com>
Signed-off-by: Jeff Ortel <jortel@redhat.com>
Signed-off-by: Jeff Ortel <jortel@redhat.com>
Signed-off-by: Jeff Ortel <jortel@redhat.com>
Signed-off-by: Jeff Ortel <jortel@redhat.com>
Signed-off-by: Jeff Ortel <jortel@redhat.com>
Signed-off-by: Jeff Ortel <jortel@redhat.com>
Signed-off-by: Jeff Ortel <jortel@redhat.com>
Signed-off-by: Jeff Ortel <jortel@redhat.com>
Signed-off-by: Jeff Ortel <jortel@redhat.com>
Signed-off-by: Jeff Ortel <jortel@redhat.com>
Signed-off-by: Jeff Ortel <jortel@redhat.com>
Signed-off-by: Jeff Ortel <jortel@redhat.com>
Signed-off-by: Jeff Ortel <jortel@redhat.com>
Signed-off-by: Jeff Ortel <jortel@redhat.com>
Signed-off-by: Jeff Ortel <jortel@redhat.com>
Signed-off-by: Jeff Ortel <jortel@redhat.com>
Signed-off-by: Jeff Ortel <jortel@redhat.com>
Signed-off-by: Jeff Ortel <jortel@redhat.com>
Signed-off-by: Jeff Ortel <jortel@redhat.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
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
-foption, 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 forcedoption.The (-r <path) will be the root of the output directory tree which replicates the structure of the input tree (of binaries).
Example:
note: