|
| 1 | +ruby: |
| 2 | + # TODO: from CVE DB if possible |
| 3 | + url: https://www.ruby-lang.org/en/feeds/news.rss |
| 4 | + entry_condition: '//item[contains(title, "CVE")]' |
| 5 | + path: rubies/ruby/ |
| 6 | + base_attributes: |
| 7 | + engine: ruby |
| 8 | + attribute_conditions: |
| 9 | + cve: ['title/text()', 'substring-after(substring-before(., ":"), "CVE-")'] |
| 10 | + url: link |
| 11 | + title: ['title/text()', 'substring-after(., ": ")'] |
| 12 | + date: pubDate |
| 13 | + description: description |
| 14 | + exec: true |
| 15 | + |
| 16 | +rails_base: &rails_base |
| 17 | + url: "https://groups.google.com/forum/feed/rubyonrails-security/msgs/rss.xml?num=15" |
| 18 | + attribute_conditions: |
| 19 | + cve: ['title/text()', 'substring-after(substring-before(., "]"), "CVE-")'] |
| 20 | + url: link |
| 21 | + title: ['title/text()', 'substring-after(., "] ")'] |
| 22 | + # TODO: fix date format |
| 23 | + date: pubDate |
| 24 | + description: description |
| 25 | + exec: false |
| 26 | + |
| 27 | +activerecord: |
| 28 | + <<: *rails_base |
| 29 | + entry_condition: '//item[contains(title, "Active Record")]' |
| 30 | + path: gems/activerecord/ |
| 31 | + base_attributes: |
| 32 | + # TODO: move to rails_base |
| 33 | + framework: rails |
| 34 | + gem: activerecord |
| 35 | + exec: true |
| 36 | + |
| 37 | +actionpack: |
| 38 | + <<: *rails_base |
| 39 | + entry_condition: '//item[contains(title, "Action Pack")]' |
| 40 | + path: gems/actionpack/ |
| 41 | + base_attributes: |
| 42 | + # TODO: move to rails_base |
| 43 | + framework: rails |
| 44 | + gem: actionpack |
| 45 | + exec: true |
| 46 | + |
| 47 | +actionview: |
| 48 | + <<: *rails_base |
| 49 | + entry_condition: '//item[contains(title, "Action View")]' |
| 50 | + path: gems/actionview/ |
| 51 | + base_attributes: |
| 52 | + # TODO: move to rails_base |
| 53 | + framework: rails |
| 54 | + gem: actionview |
| 55 | + exec: true |
| 56 | + |
| 57 | +activesupport: |
| 58 | + <<: *rails_base |
| 59 | + entry_condition: '//item[contains(title, "Active Support")]' |
| 60 | + path: gems/activesupport/ |
| 61 | + base_attributes: |
| 62 | + # TODO: move to rails_base |
| 63 | + framework: rails |
| 64 | + gem: activesupport |
| 65 | + exec: true |
| 66 | + |
| 67 | +activemodel: |
| 68 | + <<: *rails_base |
| 69 | + entry_condition: '//item[contains(title, "Active Model")]' |
| 70 | + path: gems/activemodel/ |
| 71 | + base_attributes: |
| 72 | + # TODO: move to rails_base |
| 73 | + framework: rails |
| 74 | + gem: activemodel |
| 75 | + exec: true |
| 76 | + |
| 77 | +# TODO: move to actionpack |
| 78 | +actioncontroller: |
| 79 | + <<: *rails_base |
| 80 | + entry_condition: '//item[contains(title, "Action Controller")]' |
| 81 | + path: gems/actionpack/ |
| 82 | + base_attributes: |
| 83 | + # TODO: move to rails_base |
| 84 | + framework: rails |
| 85 | + gem: actionpack |
| 86 | + exec: true |
0 commit comments