Conversation
|
@sachaudh what was the API returning before? 1969 is a default value. Was the API returning the year 1969 before? It safe to assume any date prior to 2021 = indefinitely (but let's keep it tight <2000) |
I don't think so. I remember it was returning a null before. The table would show a |
|
@md2119 what does this mean on the backend? Is it just a bug in the data being returned and it actually is indefinitely? If so, I can just do a manual check for the value and assume it's indefinitely, and we can fix it after release? If it isn't, maybe we should fix that |
|
No, I don't think there is bug or regression for date field. It safe to assume any date prior to 2021 = indefinitely (but let's keep it tight <2000) |
|
Since we need to get this in for release, I'll do that, but I think we should ideally return a null since |
|
Tag for build #125808 is 💻 For deploying this image using the dev scripts, run the following first: export MAIN_IMAGE_TAG='3.68.x-8-g9b1622f49c'📦 You can also generate an installation bundle with: docker run -i --rm stackrox/main:3.68.x-8-g9b1622f49c central generate interactive > bundle.zip🕹️ A |
2a01c08 to
b6459e1
Compare
|
@sachaudh , I don't believe it ever worked that way. You are passing a non-nil value, which is 0 which defaults to default value of timestamp, that is |
Would they both be considered |
|
Hey folks i'm also seeing some more weird data. If you look at the images I pasted, you'll see that I'm querying for |
|
@md2119 I ended up nullifying the field |
vjwilson
left a comment
There was a problem hiding this comment.
I do have a couple of nits and stylistic suggestions, but I'm OK with this as-is for the release testing.
I am worried that this is a significant amount of refactoring, and implies a significant amount of refactoring in the API, too, at the very end of development, right before the release.
ui/apps/platform/src/Containers/VulnMgmt/RiskAcceptance/ObservedCVEs/ObservedCVEsTable.tsx
Outdated
Show resolved
Hide resolved
ui/apps/platform/src/Containers/VulnMgmt/RiskAcceptance/ObservedCVEs/useDeferVulnerability.ts
Outdated
Show resolved
Hide resolved
ui/apps/platform/src/Containers/VulnMgmt/RiskAcceptance/utils/vulnRequestFormUtils.ts
Outdated
Show resolved
Hide resolved
ui/apps/platform/src/Containers/VulnMgmt/RiskAcceptance/vulnerabilityRequests.graphql.ts
Outdated
Show resolved
Hide resolved
7adcde8 to
4f96a26
Compare
|
Saif, note the id is empty i.e. there is no request associated. The observed value is just the default value of state field for that object. Nothing to worry about. I am going to force the whole object to be nil so that FE does not see default values when it is empty. |
Regarding the screenshot I sent, then doesn't that mean I should receive an empty array for |
Yup, this PR addresses your concern. |
Nice 👍🏼 |
4f96a26 to
9b1622f
Compare








Description
Given the way we're getting the vuln requests for the image vulns right now, there are a few bugs that pop up related to scoping and cause incorrect data to show in the tables in the Image Findings section. Mandar and Nakul provided a GraphQL resolver that would help with that issue. This PR makes UI changes in order to utilize this new resolver
This should fix the two must-have issues in https://docs.google.com/document/d/1hQHvY1ORnCN_RBlO6vRSDPzjNQnBLwJrZrh4ZnfmulI/edit#
Checklist
Testing Performed
The pending deferral request for


CVE-2005-2541in imagegke.gcr.io/gcp-compute-persistent-disk-csi-driver:v1.2.4-gke.0should not be shown fork8s.gcr.io/networking/ip-masq-agent-amd64:v2.6.0