Given the recent log4j CVE I would like to re scan all previously scanned components with xray. Is that possible at all? "Scan now" and the equivalent API endpoints don't seem to scan previously scanned components.
You can make use of the history scan option to perform a rescan of all the Existing Content. This is done by clicking the 'Apply on Existing Content' button in each Xray’s Watch.
Here is a KB article xray-updating-an-xray-watch-with-history-scan provides more information.
Related
I'm building a web site with WordPress, and frequently need to replace a media file--specifically, a Java project exported from Eclipse to an archive, but the same happens with images. To retain the original file name, I "delete the file permanently" from the media library, then upload the revision.
Unfortunately, when I download the file via a link, I get the "deleted" version instead of the new one.
I have disabled the "Organize my uploads into month- and year-based folders" option, so I know the file name is consistent over time.
How is it the "permanently deleted" files don't disappear? And why do they supersede their replacements?
Right now, my choice is to upload the revision without deleting the original; WordPress assigns a sequence number to the revision. I need to change links to match, and the downloaded file will contain the sequence number when used (which isn't very tidy).
This is WordPress 6.1.1.
I've had the same problem quite a few times. What I do now is just use the plugin called Enable Media Replace: https://wordpress.org/plugins/enable-media-replace/ and I don't really have to think about that issue anymore. Maybe this could be an option for you?
Otherwise I think you will have to go in to the database and manually remove the images unfortunately.
I have Jfrog Artifactory 6.11.1 using derby database and we have 94k artifacts are inside and now i am not able to see the those artifacts and when i go backend and check and filestore are very much there about 18GB data.
Please assist me to locate or update which files or properties or xml , look at and get back 94k artifacts back on Artifactory web page
Perhaps you have filters on the tree view?
If so, you can un-filter by clicking on the top-right filter button. If you have any filter on package types or repository types, you can remove it by click on the 'X'.
I don't really see the difference between the "repository" and "my files". They seem to have exactly the same functionalities
My Files is a unique area in Alfresco where you can create and store content, and no other Alfresco users can access it.
So rather than saving content on your laptop or tablet, you can save it in Alfresco and still keep it private until it's ready to be shared.
You can access the My Files area from anywhere in Alfresco by clicking My Files at the top of the screen.Refer this Documentation
The Repository displays all the Alfresco Content Services content that you have access to, including content of all sites that you're a member of. Refer this Documentation
Adding more : Check the same thing without admin user.You will get to know the difference.
So let's say I have the following setup in Google Reader
Folder One
Engadget
Gizmodo
Folder Two
Engadget
webOSroundup
Using the Google Reader API, I would like to remove engadget from only Folder One...leaving Folder Two untouched.
I know how to pull engadget out of Folder One and leave him ungrouped, but if I unsubscribe it takes it out of both folders.
Any ideas?
To remove a subscription from a folder you'll need to send a POST request to /reader/api/0/subscription/edit with the parameters:
s=feed/http://www.engadget.com/rss.xml: the feed stream ID
ac=edit: the action type (other possible values are subscribe and unsubscribe)
r=user/-/label/Folder One: the folder you wish to remove it from (you can use the a parameter to add it to a folder; you can repeat either one more than once to add/remove it from multiple folders)
T=token: the usual action token used for all state-changing requests
Click on the down-arrow next to Engadget (in either Folder One or Folder Two). Uncheck the option for Folder One.
Alternative: Under the Manage subscriptions >> you can find your subscriptions and remove Folder One from the Engadget folders by clicking on the Change Folders... drop-down.
I want to store PDF and Image files in Drupal. By default Drupal seems to store binary/uploaded files into the filesystem. I want to to be able to store files so that - I can have workflows, metadata, IP information and URL aliases?
Update, am still stuck at how to create URL aliases for files on the file system. Drupal only seems to allow creating URL aliases to node content.
The simplest solution for Drupal is to use the Upload module, which is in core. The upload module allows you attach files to nodes. As you note, they are stored in the filesystem.
If you want to get more complex, you can build your own content types through the web interface by using the CCK family of modules (such as the filefield module or the imagefield module). Your files are still stored on the filesystem.
You could use CCK to create the metadata field you want.
You could use the workflow or rules modules to implement workflow.
IP information is recorded automatically by Drupal's logging module (either the database logging module, which logs to the database, or the syslog module, which logs to syslog).
URL aliases for nodes are available in core Drupal by enabling the path module (or download the pathauto module for automatic creation of aliases).
I tried Drupal's Upload module, FileField as well as uploading files using FCKEditor - I prefer the last one - it is closer to my specific scenario.
Creating an alias to the file will likely require some custom code.
It's not possible to simply create an alias using the Administer > Site building > URL aliases screen. I tried inserting a record with
insert into url_alias (src, dst) values ('sites/default/files/ChipotleArt.JPG', 'here-is-the-file.jpg');
That still didn't work. So, you will really likely need to write some custom code.