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

Adding the defaultDataSource field to the pack metadata #4139

Merged
merged 57 commits into from
May 27, 2024

Conversation

amshamah419
Copy link
Contributor

Copy link

Changelog(s) in markdown:

  • Added the defaultDataSource field to the pack metadata. #4139

Copy link
Contributor

@yuvalbenshalom yuvalbenshalom left a comment

Choose a reason for hiding this comment

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

preliminary review, see my comment.

@ShirleyDenkberg
Copy link
Contributor

@yuvalbenshalom @dantavori @ilaner Doc review completed.

Copy link
Contributor

@jbabazadeh jbabazadeh left a comment

Choose a reason for hiding this comment

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

Nice job! ⭐
please see my comments.

Copy link
Contributor

@jbabazadeh jbabazadeh left a comment

Choose a reason for hiding this comment

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

great work on the validations!

@BEAdi BEAdi merged commit aec398f into master May 27, 2024
25 checks passed
@BEAdi BEAdi deleted the datasource-feature branch May 27, 2024 08:41
BEAdi added a commit that referenced this pull request May 28, 2024
* Add validation

* Change to reflect prior logic

* Merge remote-tracking branch 'origin/datasource-feature' into datasource-feature

# Conflicts:
#	.pre-commit-config.yaml

* fix conflicts

* Fix UT

* rename defaultDataSourceName

* add defaultDataSourceName to metadata

* fix validation

* precommit

* add is valid default datasource name validator

* add integration doc

* add validations to lists

* fix PA131

* add fix for PA131

* raise Exception in fix PA131

* fix PA132

* more logs

* add data source id

* run pre-commit

* support contribution display name

* handle contrib display name

* enhance get_valid_data_source_integrations

* add is_data_source to integration

* fix contrib name

* post-demo - keep default

* logs

* change defaultDataSource to dict

* change field to str

* remove Field

* exclude Field

* exclude Field

* add UT

* CR

* fix UTs

* fix field alias

* remove exclude field

* remove Field

* exclude name

* CR error

* change to error error

* Field alias

* rename fields

* revert _

* deal with XSOAR

* add marketplace

* fix generate docs

* fix generate docs

---------

Authored-by: BEAdi <72088126+BEAdi@users.noreply.github.com>
BEAdi added a commit that referenced this pull request May 28, 2024
* Add validation

* Change to reflect prior logic

* Merge remote-tracking branch 'origin/datasource-feature' into datasource-feature

# Conflicts:
#	.pre-commit-config.yaml

* fix conflicts

* Fix UT

* rename defaultDataSourceName

* add defaultDataSourceName to metadata

* fix validation

* precommit

* add is valid default datasource name validator

* add integration doc

* add validations to lists

* fix PA131

* add fix for PA131

* raise Exception in fix PA131

* fix PA132

* more logs

* add data source id

* run pre-commit

* support contribution display name

* handle contrib display name

* enhance get_valid_data_source_integrations

* add is_data_source to integration

* fix contrib name

* post-demo - keep default

* logs

* change defaultDataSource to dict

* change field to str

* remove Field

* exclude Field

* exclude Field

* add UT

* CR

* fix UTs

* fix field alias

* remove exclude field

* remove Field

* exclude name

* CR error

* change to error error

* Field alias

* rename fields

* revert _

* deal with XSOAR

* add marketplace

* fix generate docs

* fix generate docs

---------

Authored-by: BEAdi <72088126+BEAdi@users.noreply.github.com>
BEAdi added a commit that referenced this pull request May 28, 2024
* Add validation

* Change to reflect prior logic

* Merge remote-tracking branch 'origin/datasource-feature' into datasource-feature

# Conflicts:
#	.pre-commit-config.yaml

* fix conflicts

* Fix UT

* rename defaultDataSourceName

* add defaultDataSourceName to metadata

* fix validation

* precommit

* add is valid default datasource name validator

* add integration doc

* add validations to lists

* fix PA131

* add fix for PA131

* raise Exception in fix PA131

* fix PA132

* more logs

* add data source id

* run pre-commit

* support contribution display name

* handle contrib display name

* enhance get_valid_data_source_integrations

* add is_data_source to integration

* fix contrib name

* post-demo - keep default

* logs

* change defaultDataSource to dict

* change field to str

* remove Field

* exclude Field

* exclude Field

* add UT

* CR

* fix UTs

* fix field alias

* remove exclude field

* remove Field

* exclude name

* CR error

* change to error error

* Field alias

* rename fields

* revert _

* deal with XSOAR

* add marketplace

* fix generate docs

* fix generate docs

---------

Authored-by: BEAdi <72088126+BEAdi@users.noreply.github.com>
BEAdi added a commit that referenced this pull request May 28, 2024
* Adding the defaultDataSource field to the pack metadata (#4139)

* Add validation

* Change to reflect prior logic

* Merge remote-tracking branch 'origin/datasource-feature' into datasource-feature

# Conflicts:
#	.pre-commit-config.yaml

* fix conflicts

* Fix UT

* rename defaultDataSourceName

* add defaultDataSourceName to metadata

* fix validation

* precommit

* add is valid default datasource name validator

* add integration doc

* add validations to lists

* fix PA131

* add fix for PA131

* raise Exception in fix PA131

* fix PA132

* more logs

* add data source id

* run pre-commit

* support contribution display name

* handle contrib display name

* enhance get_valid_data_source_integrations

* add is_data_source to integration

* fix contrib name

* post-demo - keep default

* logs

* change defaultDataSource to dict

* change field to str

* remove Field

* exclude Field

* exclude Field

* add UT

* CR

* fix UTs

* fix field alias

* remove exclude field

* remove Field

* exclude name

* CR error

* change to error error

* Field alias

* rename fields

* revert _

* deal with XSOAR

* add marketplace

* fix generate docs

* fix generate docs

---------

Authored-by: BEAdi <72088126+BEAdi@users.noreply.github.com>

* remove XSIAM tag

* Adding the defaultDataSource field to the pack metadata (#4139)

* Add validation

* Change to reflect prior logic

* Merge remote-tracking branch 'origin/datasource-feature' into datasource-feature

# Conflicts:
#	.pre-commit-config.yaml

* fix conflicts

* Fix UT

* rename defaultDataSourceName

* add defaultDataSourceName to metadata

* fix validation

* precommit

* add is valid default datasource name validator

* add integration doc

* add validations to lists

* fix PA131

* add fix for PA131

* raise Exception in fix PA131

* fix PA132

* more logs

* add data source id

* run pre-commit

* support contribution display name

* handle contrib display name

* enhance get_valid_data_source_integrations

* add is_data_source to integration

* fix contrib name

* post-demo - keep default

* logs

* change defaultDataSource to dict

* change field to str

* remove Field

* exclude Field

* exclude Field

* add UT

* CR

* fix UTs

* fix field alias

* remove exclude field

* remove Field

* exclude name

* CR error

* change to error error

* Field alias

* rename fields

* revert _

* deal with XSOAR

* add marketplace

* fix generate docs

* fix generate docs

---------

Authored-by: BEAdi <72088126+BEAdi@users.noreply.github.com>

* remove XSIAM tag

* remove XSIAM tag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants