-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Cases] limit number of attachments that can be created using the bulk create API #161451
[Cases] limit number of attachments that can be created using the bulk create API #161451
Conversation
Pinging @elastic/response-ops (Team:ResponseOps) |
Pinging @elastic/response-ops-cases (Feature:Cases) |
…-ref HEAD~1..HEAD --fix'
owner: 'securitySolutionFixture', | ||
}; | ||
|
||
const attachments = Array(101).fill(comment); |
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.
In these integration tests I never know if I wanna just put the value or import the constant(MAX_BULK_CREATE_ATTACHMENTS
)
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.
yeah, but I thought it's good that integration tests fail when constant is changed, reminds us what all places we have put this check 😄
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.
Keeps us on edge 😆
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.
Genau 😆
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 tend to user the value for the reasons Janki mentioned.
comment: 'Solve this fast!', | ||
type: CommentType.user, | ||
owner: 'cases', | ||
foo: 'bar', |
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 you remove the foo: 'bar'
field that is related to a different error? (I did the same mistake 😄 )
…s-jankisalvi/kibana into total-attachements-bulk-create
💚 Build Succeeded
Metrics [docs]Page load bundle
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: |
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.
LGTM!
Connected to #146945
Summary
Checklist
Delete any items that are not applicable to this PR.