Skip to content
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

Added TeamCymruScout Solution #10939

Open
wants to merge 18 commits into
base: master
Choose a base branch
from

Conversation

niralishah-crest
Copy link
Contributor

Required items, please complete

Change(s):

  • Added Team Cymru Scout Solution

Reason for Change(s):

  • New Product

Version Updated:

  • Initial Version 3.0.0

Testing Completed:

  • Yes

Checked that the validations are passing and have addressed any issues that are present:

  • Yes

@niralishah-crest niralishah-crest requested review from a team as code owners August 7, 2024 14:12
Comment on lines 20 to 22
self.state = StateManager(
connection_string=consts.CONN_STRING, file_path=file_path
)

Check failure

Code scanning / CodeQL

Wrong number of arguments in a class instantiation Error

Call to
StateManager.__init__
with too few arguments; should be no fewer than 3.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@v-prasadboke Here, the error reference is from NetskopeDataConnector and not from TeamCymruScout
image

Comment on lines +67 to +72
'{}(method={}) : "{}" field is not set in the environment please set '
"the environment variable and run the app.".format(
self.logs_starts_with,
__method_name,
label,
)

Check failure

Code scanning / CodeQL

Clear-text logging of sensitive information High

This expression logs
sensitive data (secret)
as clear text.
This expression logs
sensitive data (secret)
as clear text.
This expression logs
sensitive data (secret)
as clear text.
This expression logs
sensitive data (secret)
as clear text.
This expression logs
sensitive data (secret)
as clear text.
This expression logs
sensitive data (secret)
as clear text.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@v-prasadboke Here, one of the error indicates the issue in environment variable name AZURE_CLIENT_SECRET as seen in attached screenshot. As mentioned here we need to keep EnvironmentVariables same.

The other errors are from CofenceTriage, CofenseIntelligence and BitSight Data Connector.

"""
__method_name = inspect.currentframe().f_code.co_name
try:
logs_data, flag = get_logs_data(self.query_constants.get(indicator_type))

Check failure

Code scanning / CodeQL

Wrong number of arguments in a call Error

Call to
function get_logs_data
with too many arguments; should be no more than 0.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@v-prasadboke Same for here as well. Error reference is from BitSightDataConnector and not from TeamCymruScout.
image

@v-prasadboke v-prasadboke self-assigned this Aug 8, 2024
@v-prasadboke v-prasadboke added the Solution Solution specialty review needed label Aug 8, 2024
@v-prasadboke
Copy link
Contributor

Hello @niralishah-crest, Please try to resolve KQL and Logo validation errors

@niralishah-crest
Copy link
Contributor Author

@v-prasadboke, we are trying to fix it from our end and will let you know as soon as possible.

@niralishah-crest
Copy link
Contributor Author

@v-prasadboke We have fixed Logo validation error but still we are unable to find the reason behind KQLValidation error. Can you please help us out on that?
Thanks.

@v-prasadboke v-prasadboke added the Connector Connector specialty review needed label Sep 4, 2024
@v-prasadboke
Copy link
Contributor

Hello @niralishah-crest, Can you please try to resolve branch Conflicts

@niralishah-crest
Copy link
Contributor Author

Hello @niralishah-crest, Can you please try to resolve branch Conflicts

@v-prasadboke I have resolved the branch conflicts.

@niralishah-crest
Copy link
Contributor Author

@v-prasadboke Any updates on this PR review?

@niralishah-crest
Copy link
Contributor Author

@v-prasadboke Current CodeQL failures are from other integrations as I mentioned in above comments. Can you please look into it?
Thanks.

@jayeshprajapaticrest
Copy link
Contributor

@v-prasadboke
Any update on the above PR?
Can you please proceed to review and get it merge as early as possible as this needs to be live as early as possible?
Its been around 1 and half month.

@v-prasadboke
Copy link
Contributor

Hello @niralishah-crest & @jayeshprajapaticrest, Can you please share working images of Function app. Also please update this branch from master once

@niralishah-crest
Copy link
Contributor Author

@v-prasadboke Please find the attached screenshot for running function app.
image
image

@jayeshprajapaticrest
Copy link
Contributor

@v-prasadboke
As mentioned above we have attached working screenshots of the Azure Function App(data connector). Can you please proceed with the review and get it merge ASAP?
Thanks in advanced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Connector Connector specialty review needed Solution Solution specialty review needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants