Comments (7)
In the core.log I see
Mar 4 11:58:14 172.18.0.1 core[342063]: 2024-03-04T10:58:14Z [INFO] [/pkg/task/dao/execution.go:471]: scanned out 1 executions with outdate status, refresh status to db
Mar 4 11:58:14 172.18.0.1 core[342063]: 2024-03-04T10:58:14Z [INFO] [/pkg/task/dao/execution.go:512]: refresh outdate execution status done, 1 succeed, 0 failed
but no log line with [INFO] [/lib/config/userconfig.go:255]: skip_update_pull_time:true
by that time.
Though core.log contains lots of these messages (as addressed in #19795).
from harbor.
You could set Retain Image last pull time On Scanning
on system configuration since 2.8
from harbor.
see #17807
from harbor.
Sorry, have you read through my report?
I have clearly set the system configuration to retain the last image pull time on scanning. You need a screenshot?
harbor_sys02=> select * from properties where k = 'scanner_skip_update_pulltime';
id | k | v
----+------------------------------+------
39 | scanner_skip_update_pulltime | true
(1 row)
Thought that would be enough to prove I have set it. I even stated that I see [INFO] [/lib/config/userconfig.go:255]: skip_update_pull_time:true
messages in the core.log, just not for the case where I have explicitly noted that the pull time got modified by a scanner pull.
from harbor.
@MinerYang or @stonezdj please reopen this issue or at least please explain to me what I am seeing different than you.
from harbor.
Reopening the issue as @alexanderdalloz mentioned he has enabled the option Retain Image last pull time On Scanning, yet in some cases the pull time is updated.
from harbor.
Hello,
We also see that, we currently have the PrismaCloud scanner configured that scans and pulls all images once a day for CVE scanning.
Is there any extra configuration that might be added so that the pull can be ignored? Like it's mentioned on the settings for Trivy, some other configuration, like account that is pulling, or even other settings.
This would help alot also in the definition of the cleanup policies for pull time, for example to delete images that are not pulled for x days.
Thanks!
from harbor.
Related Issues (20)
- the UI_UT of CI failed
- sbom_overview still get sbom_digest when this sbom artifact do not exist in this repository
- v2.11.0-rc1 prepare file docker tag error promble HOT 1
- Not able to pull 'helm chart' from Harbor HOT 2
- Image retention policy 'dry run' ignores image with immutable rules
- harbor installation: network between harbor dockers is not connected
- The `SBOM` column having `SBOM.COMPLETED, ` when SBOM generation completed.
- Bump up beego
- request: extend robot permissions to update individual project quotas
- missing docker images: http status code: 404 HOT 1
- Pushing any container image results in HTTP 500 HOT 6
- REST Api contains repo_name returns NOT_FOUND HOT 2
- SBOM column showing `Not Generated` and SBOM download link not working
- How to limit Trivy space, trivy grow without control HOT 1
- Issue during push "client disconnected during blob PATCH" HOT 4
- Replication and Registry created not visible in UI HOT 3
- Harbor with s3 aws HOT 2
- Cannot delete webhook that has executions
- Clear Text Password HOT 1
- Can the container names generated by the build script be prefixed with harbor
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from harbor.