{"action":"created","issue":{"url":"https://api.github.com/repos/jeremylong/DependencyCheck/issues/818","repository_url":"https://api.github.com/repos/jeremylong/DependencyCheck","labels_url":"https://api.github.com/repos/jeremylong/DependencyCheck/issues/818/labels{/name}","comments_url":"https://api.github.com/repos/jeremylong/DependencyCheck/issues/818/comments","events_url":"https://api.github.com/repos/jeremylong/DependencyCheck/issues/818/events","html_url":"https://github.com/jeremylong/DependencyCheck/issues/818","id":244664279,"node_id":"MDU6SXNzdWUyNDQ2NjQyNzk=","number":818,"title":"Ant-Task: nested suppressionFile-Elements don't evaluate Ant-Properties","user":{"login":"cstsw","id":30345010,"node_id":"MDQ6VXNlcjMwMzQ1MDEw","avatar_url":"https://avatars2.githubusercontent.com/u/30345010?v=4","gravatar_id":"","url":"https://api.github.com/users/cstsw","html_url":"https://github.com/cstsw","followers_url":"https://api.github.com/users/cstsw/followers","following_url":"https://api.github.com/users/cstsw/following{/other_user}","gists_url":"https://api.github.com/users/cstsw/gists{/gist_id}","starred_url":"https://api.github.com/users/cstsw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cstsw/subscriptions","organizations_url":"https://api.github.com/users/cstsw/orgs","repos_url":"https://api.github.com/users/cstsw/repos","events_url":"https://api.github.com/users/cstsw/events{/privacy}","received_events_url":"https://api.github.com/users/cstsw/received_events","type":"User","site_admin":false},"labels":[{"id":13090908,"node_id":"MDU6TGFiZWwxMzA5MDkwOA==","url":"https://api.github.com/repos/jeremylong/DependencyCheck/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-07-21T13:10:48Z","updated_at":"2018-09-27T23:08:04Z","closed_at":"2017-07-24T08:22:30Z","author_association":"NONE","body":"As of dependency-check-ant-2.0.1 Ant-Properties are not evaluated in nested suppressionFile-Elements.\r\n\r\nE.g. the task declared as follows...\r\n```\r\n<dependency-check ...>\r\n   ...\r\n   <suppressionfile>${basedir}/path/relative/to/basedir/dependency-check-suppressions.xml</suppressionfile>\r\n</dependency-check>\r\n```\r\n... will produce the following exception:\r\n\r\n```\r\norg.owasp.dependencycheck.exception.ExceptionCollection: One or more exceptions occurred during dependency-check analysis\r\n        Error initializing the suppression analyzer: Suppression file '${basedir}\\path/relative/to/basedir\\dependency-check-suppressions.xml' does not exists\r\n        Error initializing the suppression analyzer: Suppression file '${basedir}\\path/relative/to/basedir\\dependency-check-suppressions.xml' does not exists\r\n        at org.owasp.dependencycheck.Engine.analyzeDependencies(Engine.java:541)\r\n        at org.owasp.dependencycheck.taskdefs.Check.execute(Check.java:976)\r\n        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n        at java.lang.reflect.Method.invoke(Method.java:498)\r\n        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)\r\n        at org.apache.tools.ant.Task.perform(Task.java:348)\r\n        at org.apache.tools.ant.Target.execute(Target.java:435)\r\n        at org.apache.tools.ant.Target.performTasks(Target.java:456)\r\n        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)\r\n        at org.apache.tools.ant.Project.executeTarget(Project.java:1376)\r\n        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)\r\n        at org.apache.tools.ant.Project.executeTargets(Project.java:1260)\r\n        at org.apache.tools.ant.Main.runBuild(Main.java:857)\r\n        at org.apache.tools.ant.Main.startAnt(Main.java:236)\r\n        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:287)\r\n        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:113)\r\n```\r\n\r\nHowever the intenal/undocumented Attribute with the corresponding name does that evaluation:\r\n`<dependency-check ... suppressionfile=\"${basedir}/path/relative/to/basedir/dependency-check-suppressions.xml\"> ... </dependency-check>`"},"comment":{"url":"https://api.github.com/repos/jeremylong/DependencyCheck/issues/comments/425270234","html_url":"https://github.com/jeremylong/DependencyCheck/issues/818#issuecomment-425270234","issue_url":"https://api.github.com/repos/jeremylong/DependencyCheck/issues/818","id":425270234,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTI3MDIzNA==","user":{"login":"lock[bot]","id":33595554,"node_id":"MDM6Qm90MzM1OTU1NTQ=","avatar_url":"https://avatars1.githubusercontent.com/in/6672?v=4","gravatar_id":"","url":"https://api.github.com/users/lock%5Bbot%5D","html_url":"https://github.com/apps/lock","followers_url":"https://api.github.com/users/lock%5Bbot%5D/followers","following_url":"https://api.github.com/users/lock%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/lock%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/lock%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lock%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/lock%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/lock%5Bbot%5D/repos","events_url":"https://api.github.com/users/lock%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/lock%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-09-27T23:08:04Z","updated_at":"2018-09-27T23:08:04Z","author_association":"NONE","body":"This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.\n"}}
{"actor":{"display_login":"lock"}}