https://github.com/hrbrmstr/securitytxt
🔐 Identify and Parse Web Security Policies Files in R
https://github.com/hrbrmstr/securitytxt
r r-cyber rstats securitytxt
Last synced: about 1 year ago
JSON representation
🔐 Identify and Parse Web Security Policies Files in R
- Host: GitHub
- URL: https://github.com/hrbrmstr/securitytxt
- Owner: hrbrmstr
- License: other
- Created: 2017-10-09T17:46:29.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2019-08-18T18:07:25.000Z (almost 7 years ago)
- Last Synced: 2025-06-07T11:05:10.398Z (about 1 year ago)
- Topics: r, r-cyber, rstats, securitytxt
- Language: C++
- Size: 50.8 KB
- Stars: 11
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS.md
- License: LICENSE
- Security: securitytxt.Rproj
Awesome Lists containing this project
README
---
output:
rmarkdown::github_document:
df_print: kable
editor_options:
chunk_output_type: console
---
```{r pkg-knitr-opts, include=FALSE}
hrbrpkghelpr::global_opts()
```
```{r badges, results='asis', echo=FALSE, cache=FALSE}
hrbrpkghelpr::stinking_badges()
```
```{r description, results='asis', echo=FALSE, cache=FALSE}
hrbrpkghelpr::yank_title_and_description()
```
- [IETF Draft](https://tools.ietf.org/html/draft-foudil-securitytxt-00)
- [Information hub](https://securitytxt.org/)
- [GitHub Organization](https://github.com/securitytxt)
## What's Inside The Tin
The following functions are implemented:
```{r ingredients, results='asis', echo=FALSE, cache=FALSE}
hrbrpkghelpr::describe_ingredients()
```
## Installation
```{r install-ex, results='asis', echo=FALSE, cache=FALSE}
hrbrpkghelpr::install_block()
```
## Usage
```{r message=FALSE, warning=FALSE, error=FALSE}
library(securitytxt)
# current verison
packageVersion("securitytxt")
# built-in example
x <- sectxt(readLines(system.file("extdata", "security.txt", package="securitytxt")))
sectxt_info(x)
# "live" example
(xurl <- sectxt_url("https://securitytxt.org"))
x <- sectxt(url(xurl))
sectxt_info(x)
sectxt_validate(x)
x
# another "live" example
(xurl <- sectxt_url("https://rud.is/b"))
x <- sectxt(url(xurl))
sectxt_info(x)
sectxt_validate(x)
x
```
## Code of Conduct
Please note that this project is released with a [Contributor Code of Conduct](CONDUCT.md). By participating in this project you agree to abide by its terms.