20 Commits

Author SHA1 Message Date
Sandeep Singh
5c8e715fc6
workflows improvements (#2963) 2022-12-05 18:22:55 +05:30
sandeep
68a1091056 workflow fix 2022-12-04 23:24:59 +05:30
Shubham Rasal
d5a09e733a
Issue 2772 s3 provider support (#2825)
* Add s3 bucket template provider

- Refactor the custom github template code
- add interface for template provider

* Validate if aws creds are passed if bucket flag

- refactor s3 provider struct to take client
- add function which returns the aws s3 client
- update error messages

* Add aws s3 bucket flags documentation in README.md

- Rename the github_test.go to customTemplate_test.go

* go mod update

* Move template provider code to pkg/external/customtemplates dir

* Remove github and aws update variables from flag

* Rename CustomTemplateProvider to Provider

* Update integration and function command in makefile

* Update github test case, accept token

* readme update

* go mod tidy

* Update build-test.yml

* handle empty dir in s3

* Add requested changes

- download/update s3 and github only when `-ut` is passed
- only print the missing env variable for s3
- add the custom templates path in
  ~/.config/nuclei/.template-config.json

* print custom paths only if exists in config file

* misc update

* tag update

Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
Co-authored-by: Sandeep Singh <sandeep@projectdiscovery.io>
2022-12-02 03:57:00 +05:30
forgedhallpass
c6eaff10f9 chore: updated the GitHub actions to use go 1.18 2022-04-18 15:43:37 +03:00
dependabot[bot]
34e8125844
chore(deps): bump actions/setup-go from 2 to 3 (#1827)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 14:03:19 +05:30
dependabot[bot]
b531b47668
chore(deps): bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 05:04:20 +00:00
sandeep
eae6df9360 misc update 2021-09-10 19:48:21 +05:30
Ice3man
79421aa088
Update publish-docs.yaml 2021-09-06 15:04:09 +05:30
sandeep
d7f8ad8a62 final changes 2021-09-01 15:53:30 +05:30
sandeep
16d7dbeb66 Misc changes 2021-09-01 15:40:53 +05:30
sandeep
37bf6b8d7e updated docs workflow 2021-09-01 15:07:53 +05:30
Ice3man
b65c5f589e
Update publish-docs.yaml 2021-08-25 13:14:28 +05:30
Ice3man543
6a673053c2 Added jsonschema generation for yaml syntax 2021-08-23 23:50:45 +05:30
Ice3man543
ba4d5a8d21 Removed temporary fix 2021-08-20 16:19:33 +05:30
Ice3man543
12446c8bca Merge branch 'master' of https://github.com/projectdiscovery/nuclei into yamldoc 2021-08-20 16:11:24 +05:30
Ice3man543
e92c9bc7bc Fixed an issue with doc publish 2021-08-20 16:06:18 +05:30
Ice3man543
3f5db14a75 Push changes if doc changed 2021-08-20 16:04:05 +05:30
Ice3man543
07d0b1997c Misc 2021-08-20 15:59:32 +05:30
Ice3man
7377dd6c54
Create publish-docs.yaml 2021-08-20 15:57:28 +05:30
Ice3man543
919d726762 Added docs generate github action 2021-08-20 15:24:33 +05:30